Police and SRT Speedtrap problems
#6

hm. you want none of those classes getting caught by a speedtrap?
pawn Код:
if (IsVehicleAirVehicle(vehicleid) == 0)
            if (APlayerData[playerid][PlayerClass] != ClassPolice && APlayerData[playerid][PlayerClass] != ClassSRT) // Check if the player isn't speeding Cops and SRT shouldn't be able to get a speed ticket.
                CheckPlayerSpeeding(playerid);
you were checking
"if player is (not cop) OR (not srt)", but you needed:
"if player is (not cop) AND (not srt)", basically a "nor"...
so a player should get checked only when hes none of both factions, right?
Reply


Messages In This Thread
Police and SRT Speedtrap problems - by SomebodyAndMe - 04.01.2012, 14:10
Re: Police and SRT Speedtrap problems - by Mosslah - 04.01.2012, 15:07
Re: Police and SRT Speedtrap problems - by SomebodyAndMe - 05.01.2012, 09:36
Re: Police and SRT Speedtrap problems - by SomebodyAndMe - 13.01.2012, 05:38
Re: Police and SRT Speedtrap problems - by Outcast - 13.01.2012, 07:27
Re: Police and SRT Speedtrap problems - by Babul - 13.01.2012, 11:23

Forum Jump:


Users browsing this thread: 1 Guest(s)