18.02.2013, 15:40
Quote:
welll then if cops are the Team 3
then pawn Код:
As you haven't provided any info of what makes the wanted level go up, and how. I have to be guessing here. |
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;
}