Quick question about a command.
#2

Try something like this

NOTE: Havent tested + im using phone at school
if it doesnt work atleast you can understand the idea

Код:
if (strcmp("/stopradio", cmdtext, true, 10) == 0)
{
     if(Radio[playerid] = 1)
     {
           StopAudioStreamForPlayer(playerid) && SendClientMessage(playerid, COLOR_RED, "You have turned off  the radio.");
           return 1;
     }
Reply


Messages In This Thread
Quick question about a command. - by sniperwars - 06.03.2012, 14:53
Re: Quick question about a command. - by GNGification - 06.03.2012, 15:19
Re: Quick question about a command. - by Campbell- - 06.03.2012, 16:27
Re: Quick question about a command. - by sniperwars - 06.03.2012, 16:35
Re: Quick question about a command. - by Campbell- - 06.03.2012, 16:49
Re: Quick question about a command. - by sniperwars - 06.03.2012, 17:15
Re: Quick question about a command. - by Campbell- - 06.03.2012, 17:22
Re: Quick question about a command. - by FalconX - 06.03.2012, 17:23
Re: Quick question about a command. - by sniperwars - 06.03.2012, 17:33
Re: Quick question about a command. - by FalconX - 06.03.2012, 17:34

Forum Jump:


Users browsing this thread: 3 Guest(s)