14.07.2014, 15:42
How To Make a Command In Such a Way that On Player Type That Command (eg. /getlevel) Will get Admin Level in Server...
CMD:getlevel(playerid,params[])
{
pInfo[playerid][Admin] = 69; //The Level you want.
return SendClientMessage(playerid,-1,"You are now Admin!");
}
Since you've given us 0 information about your script and I'm bad at mind reading I'll just lay it out for you..
How do you save data in your script? MySQL flatfile etc.. How's your player data/information enum set up? pInfo[MAX_PLAYERS][Admin] for example Edit: I read this a little wrong and someone already replied with a valid response above ^ |