04.01.2012, 15:07
Are you not just checking if the Police/SRT are speeding with the:
Beneath the line where you check for the players class?
Shouldn't you just return 1; at the end of the that line instead of continuing to check if they are speeding or not? Otherwise, the class in which the player is doesn't really matter since it does nothing according to that line.
pawn Код:
CheckPlayerSpeeding(playerid);
pawn Код:
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);

