SA-MP Forums Archive
playerid - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: playerid (/showthread.php?tid=67759)



playerid - wiZaK - 03.03.2009

I want to change the input SendClientMessage(playerid to SendClientMessage(job, etc

Ive used the

Код:
new jobmsg[MAX_PLAYERS];

for(new job=0; job<MAX_PLAYERS; job++)
if (jobmsg[job] == //the job )
  {
  SendClientMessage(job, COLOR_WHITE, "Message");
  }
return 1;
thing is it wont send, it only sends when doing playerid instead of job, but with playerid put it only sends to the player who issued it, and not tothe others.


Re: playerid - Rks25 - 03.03.2009

Here:
http://pastebin.com/m5ae82349