Jump to content
  • 0
Sign in to follow this  

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


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?

	.@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);



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

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...

Important Information

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