How to make different levels
#5

new PlayerAdmin[MAX_PLAYERS];

On connect store and load this variable.

Make a 'makeadmin' command then just check the level for using it, ex.:

CMD:makeadmin(blabla) {
blabla

if(PlayerAdmin[playerid] != 3) return SCM(blabla, "You need to be level 3 admin.");

PlayerAdmin[another] = level;

return 1;
}
Reply


Messages In This Thread
How to make different levels - by Jithu - 23.02.2018, 09:01
Re: How to make different levels - by dexi - 23.02.2018, 09:04
Re: How to make different levels - by Jithu - 23.02.2018, 09:06
Re: How to make different levels - by PepsiCola23 - 23.02.2018, 09:09
Re: How to make different levels - by dexi - 23.02.2018, 09:11
Re: How to make different levels - by Jithu - 23.02.2018, 09:12
Re: How to make different levels - by Jithu - 23.02.2018, 09:18
Re: How to make different levels - by dexi - 23.02.2018, 09:21
Re: How to make different levels - by PepsiCola23 - 23.02.2018, 09:40
Re: How to make different levels - by wallen - 23.02.2018, 14:27

Forum Jump:


Users browsing this thread: 1 Guest(s)