06.03.2012, 14:53
Hi guys,
After fixing my radio script yesterday, I noticed something about a command I've scripted.
The command is /stopradio:
I want to add another client message saying "The radio is already off". Can anyone help me out here ?
I want it to detect if the radio is on or off.
After fixing my radio script yesterday, I noticed something about a command I've scripted.
The command is /stopradio:
pawn Код:
if (strcmp("/stopradio", cmdtext, true, 10) == 0)
{
StopAudioStreamForPlayer(playerid);
SendClientMessage(playerid, COLOR_RED, "You have turned off the radio.");
return 1;
}
I want it to detect if the radio is on or off.