03.06.2012, 22:24
Acho que seria assim :
pawn Код:
CMD:c(playerid, params[])
{
if(!cmdtext[3])return SendClientMessage(playerid, -1, "USE: /c [ligar/desligar]");
new motivo[40];
if(strcmp(motivo, "ligar", true) == 0)
{
//FUNЗГO
return 1;
}
else if(strcmp(motivo, "desligar", true) == 0)
{
//FUNЗГO
return 1;
}
return 1;
}