11.10.2015, 09:15
or if you wanna use it for admin ranks
Код:
CMD:minigun(playerid,params[]) { if(testinfo[playerid][testadmin] >= 1) //this checks to see if the player is level 1 or higher { GivePlayerWeapon(playerid,38,5000); } else //if he isnt then it sends him this message { SendClientMessage(playerid,COLOR_RED,"You are not an admin!"); } return 1; }