28.09.2015, 12:01
pawn Код:
CMD:p(playerid,params[])
{
new ID;
if(!IsPlayerAdmin(playerid) || Sav[Admin][playerid] < 1) return 0;
if(sscanf(params, "us[100]", ID)) return SCM(playerid,0xFF0000AA,"Error: /p ID");
if(ID == playerid) return SCM(playerid, 0xFF0000AA, "Error: /p ID");
if(!IsPlayerConnected(ID)) return SCM(playerid, 0xFF0000AA, "Error: /p ID");
}