11.10.2011, 02:24
pawn Код:
CMD:setvip(playerid, params[])
{
if(IsPlayerAdmin(playerid))
{
new id, level;
if(sscanf(params,"ui", id, level)) return SendClientMessage(playerid, -1,"SYNTAX: /setvip [id] [level]");
{
PlayerInfo[id][pVIP] = level;
if (id == INVALID_PLAYER_ID) { return SendClientMessage(playerid, -1, "No player online with that id."); }
}
}
else SendClientMessage(playerid, -1,"You are not an Admin!");
return 1;
}
Код:
no motherfukin errors thank you so much man