Wanted level = jail time
#6

You can always create a new player variable, like so:
pawn Код:
//top of your script
new WantedLevel[MAX_PLAYERS];

//and in the script, where you add Wanted Level, you add like:

WantedLevel[playerid] += 20; // This will add to a players wanted level 20

// And to check what a players wanted level is, do like:
if(WantedLevel[playerid] == 20)
    // if his wanted level is 20
else if(WantedLevel[playerid] == 40)
    // if his wanted level is 40 and so on
Reply


Messages In This Thread
Wanted level = jail time - by CROSS_Hunter - 16.08.2012, 22:26
Re: Wanted level = jail time - by leonardo1434 - 16.08.2012, 22:28
Re: Wanted level = jail time - by CROSS_Hunter - 16.08.2012, 22:30
Re: Wanted level = jail time - by leonardo1434 - 16.08.2012, 22:36
Re: Wanted level = jail time - by CROSS_Hunter - 16.08.2012, 22:38
Re: Wanted level = jail time - by antonio112 - 16.08.2012, 22:41
Re: Wanted level = jail time - by CROSS_Hunter - 16.08.2012, 22:53
Re: Wanted level = jail time - by Vince - 16.08.2012, 23:13
Re: Wanted level = jail time - by CROSS_Hunter - 16.08.2012, 23:24
Re: Wanted level = jail time - by Vince - 16.08.2012, 23:31

Forum Jump:


Users browsing this thread: 2 Guest(s)