07.10.2013, 23:41
So my friend made a viewinterior command awhile back for admins, and im trying to edit it for Senior+ developers in game.
is how I have it written right now, but it never works in game for senior developers. I have senior developer = 2. Any suggestions/help?
Код:
CMD:dviewinterior(playerid, params[]) { if(PlayerInfo[playerid][pDev] >=2) { new interiorid; if(sscanf(params, "i", interiorid)) return SendClientMessage(playerid, COLOR_GRAD1, "USAGE: /viewinterior [id]"); SetPlayerHouseInterior(playerid, interiorid); } return 1; }