Not wanted for cops?
#5

Quote:
Originally Posted by park4bmx
Посмотреть сообщение
welll then if cops are the Team 3
then
pawn Код:
if(GetPlayerTeam(playerid) == 3){
    SetPlayerWantedLevel(playerid, 0);
    KillTimer(Wanted);
}
Nothing more.
As you haven't provided any info of what makes the wanted level go up, and how.
I have to be guessing here.
Yeah, I forgot about some info..

I tired the script above here^

But the cops can still get wanted...

Here is whole code:

pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    if(GetPlayerTeam(playerid) == 3){   //I tired to change place with that code under there
    SetPlayerWantedLevel(playerid, 0); //but it just gave me some errors...
    KillTimer(notWanted);
}
        GetPlayerWantedLevel(playerid);
        SetPlayerWantedLevel(playerid, 2);
        notWanted = SetTimer("WantedT",500,true);
    return 1;
}
I mean I tired to change place with GetPlayerTeam blabla pece of code, with GetPlayerWanted blabla instead..
Reply


Messages In This Thread
Not wanted for cops? - by davve95 - 16.02.2013, 20:09
Re: Not wanted for cops? - by park4bmx - 16.02.2013, 20:12
Re: Not wanted for cops? - by davve95 - 16.02.2013, 20:15
Re: Not wanted for cops? - by park4bmx - 16.02.2013, 20:18
Re: Not wanted for cops? - by davve95 - 18.02.2013, 15:40
Re: Not wanted for cops? - by Da_Noob - 18.02.2013, 15:49
Re: Not wanted for cops? - by DaRk_RaiN - 18.02.2013, 15:52
Re: Not wanted for cops? - by davve95 - 18.02.2013, 15:59

Forum Jump:


Users browsing this thread: 2 Guest(s)