Wanted LeveL?
#8

pawn Код:
if(listitem == 2) // They selected the third item - Desert Eagle
{
    GivePlayerWeapon(playerid, 31, 750); // Give them a Combat Shotgun
    if(GetPlayerWantedLevel(playerid) > 2)
}
You open an if statement and do nothing. Change to:
pawn Код:
if(listitem == 2) // They selected the third item - Desert Eagle
{
    if(GetPlayerWantedLevel(playerid) >= 2) GivePlayerWeapon(playerid, 31, 750); // Give them a Combat Shotgun
}
If their wanted level is 2 or greater than 2, then give the combat.
Reply


Messages In This Thread
Wanted LeveL? - by Lynet - 10.09.2013, 18:59
Re: Wanted LeveL? - by knackworst - 10.09.2013, 19:03
Re: Wanted LeveL? - by Konstantinos - 10.09.2013, 19:04
Respuesta: Wanted LeveL? - by Lynet - 10.09.2013, 19:09
Re: Wanted LeveL? - by PrinceKumar - 10.09.2013, 19:10
Re: Wanted LeveL? - by knackworst - 10.09.2013, 19:11
Re: Wanted LeveL? - by Lynet - 10.09.2013, 19:23
Re: Wanted LeveL? - by Konstantinos - 10.09.2013, 19:26

Forum Jump:


Users browsing this thread: 2 Guest(s)