SA-MP Forums Archive
SendClientMessage - 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: SendClientMessage (/showthread.php?tid=508496)



SendClientMessage - ShaneOvSina - 22.04.2014

Anyone one know why this is happening?
Theres 1 line to send the message

Код:
public OnPlayerSpawn(playerid)

    SendClientMessage(playerid,0xFFFFAA00,"The Game Has Succesfully Loaded.");
But when i spawn ingame i see 2 of them.
The Game Has Succesfully Loaded.
The Game Has Succesfully Loaded.


Re: SendClientMessage - Konstantinos - 22.04.2014

Check if you send that message in OnPlayerSpawn from other mode. If not, then it seems that the callback is called twice (scripting issue).


Re: SendClientMessage - ShaneOvSina - 22.04.2014

I've sorted it thankyou.
+Rep