Jump to content
  • 0
Sign in to follow this  
sfosodkw2

How can i get the CHAR_ID_CHAR for all players in a map?

Question

3 answers to this question

Recommended Posts

  • 0
6 hours ago, fTakano said:

You can use the script command getunits().

 

thanks. i tried but i dont think i am using the correct information, can you help me implement this?

OnDSMVPDead:
	.@count = getunits(BL_PC, .@units, false, "guild_vs3");
	for(.@i = 0; .@i <= .@count; i++) {
	rodex_sendmail(getcharid(.@units[.@i]),"RodEx People","RodEx Test Mail","This is a RodEx Test Mail.",0,501,1,501,1,501,1);
	}

 

map-server:

[Error]: script_rid2sd: fatal error ! player not attached!

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.