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

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!

 
Back
Top