13.01.2012, 11:23
hm. you want none of those classes getting caught by a speedtrap?
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?
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);
"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?

