30.04.2011, 15:29
Код:
COMMAND:suspect(playerid, params[])
{
new otherplayerid;
if(sscanf(params, "u", otherplayerid)) return SendClientMessage(playerid, COLOR_RED, "Use /hi [playerid/name]");
else if(!IsPlayerConnected(otherplayerid)) return SendClientMessage(playerid, COLOR_RED, "This player is not connected");
else
{
SendClientMessage(otherplayerid,COLOR_RED,"You are now wanted!");
SetPlayerWantedLevel(otherplayerid,2);
}
return 1;
}

