24.01.2018, 14:50
Код:
CMD:targetinv(playerid,params[]) { new targetid = strval(params); if(!IsPlayerConnected(targetid)) return SendClientMessage(playerid,-1,"Wrong player ID"); if(pInfo[playerid][pAdminLevel] >= 2) { ShowTargetInventory(targetid); } else { SendClientMessage(playerid,-1,"*"COL_RED" You ain't admin biatch!"); } return 1; }