SA-MP Forums Archive
How to aplly this to the "id" - 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)
+--- Thread: How to aplly this to the "id" (/showthread.php?tid=428713)



How to aplly this to the "id" - RiChArD_A - 06.04.2013

How can I enable this:
pawn Код:
gCalmMode = true;
To id instead of playerid?

Example:
pawn Код:
//To playerid
SendClientMessage(playerid, -1, "This is playerid");

//To id
SendClientMessage(id, -1, "This is id");
Help...


Re: How to aplly this to the "id" - ]Rafaellos[ - 06.04.2013

new gCalmMode[MAX_PLAYERS];

gCalmMode[id] = true;


Re: How to aplly this to the "id" - RiChArD_A - 06.04.2013

Quote:
Originally Posted by ]Rafaellos[
Посмотреть сообщение
new gCalmMode[MAX_PLAYERS];

gCalmMode[id] = true;
Thanks!