21.01.2017, 15:49
hello
i have this on the top of the mode
and this is a command
License = 0/1 it's for all the server , how can i make it for playerid?
for any player itself.
thanks.
i have this on the top of the mode
Код:
new License;
Код:
if (strcmp("/stopradio", cmdtext, true, 10) == 0) { if(License == 0) return SendClientMessage(playerid, 0xAA3333AA, "!הרדיו כבר מכובה"); SendClientMessage(playerid,0xAA3333AA,"/radio עצרת את הרדיו , בשביל להמשיך אותו שוב רשמו"); StopAudioStreamForPlayer(playerid); License = 0; return 1; }
for any player itself.
thanks.