Little Help - 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: Little Help (
/showthread.php?tid=144013)
Little Help -
[LSB]TheGame - 25.04.2010
Ok ive got a command which is a SendClientMessageAll
How can i make so you can enable and disable like /on /off if you would like to see the message or not
- Thanks
Re: Little Help -
Naxix - 25.04.2010
You cut make a variable like:
Код:
new msg[MAX_PLAYERS];
OnPlayerConnect:
then make a cmd to make it 0 and 1
0 = they wont get it 1 = they will
then on your SendClientMessageAll loop through all players with: