15.08.2011, 02:49
pawn Код:
if(params[0] == 'o' && params[1] == 'n')
{
//Its ON (on352241 will also match)
}
else if(params[0] == 'o' && params[1] == 'f' && params[2] == 'f')
{
//Its OFF (off25151 will also match)
}
else return SendClientMessage(playerid, COLOR_SYSTEMRED, "USAGE: /duty <on/off>");