2 questions
#7

pawn Код:
new Level[MAX_PLAYERS];
At the top of your mode...

Then you can do stuff like OnPlayerConnect
pawn Код:
Level[playerid] = 1;
Which will set the players level to 1 when they first join.

and when checking if a player has a certain level

if(Level[playerid] == 2){...}

etc...

It's pretty simple, thats the way i'd do a level system.
Reply


Messages In This Thread
2 questions - by _RedBull_ - 16.05.2009, 16:39
Re: 2 questions - by Luka P. - 16.05.2009, 16:51
Re: 2 questions - by MenaceX^ - 16.05.2009, 16:54
Re: 2 questions - by Qeux - 16.05.2009, 16:56
Re: 2 questions - by _RedBull_ - 16.05.2009, 16:58
Re: 2 questions - by MenaceX^ - 16.05.2009, 17:00
Re: 2 questions - by miokie - 16.05.2009, 17:14
Re: 2 questions - by Luka P. - 16.05.2009, 19:39
Re: 2 questions - by mamorunl - 16.05.2009, 19:53
Re: 2 questions - by MenaceX^ - 16.05.2009, 21:12
Re: 2 questions - by Luka P. - 16.05.2009, 22:06

Forum Jump:


Users browsing this thread: 1 Guest(s)