06.05.2013, 16:48
PHP код:
if (strcmp(cmd, "/handsup", true) == 0)
{
if(IsACop(playerid)) {
SendClientMessage(playerid, -1,"Vocк й um COP");
}
else if {
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "O Suspeito(a) %s digitou /handsup !.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_HANDSUP);
}
return true;
}