07.09.2010, 15:46
Quote:
For about the million time,keys NEVER check with '==' .
Use '&' to check for keys. pawn Код:
https://sampwiki.blast.hk/wiki/OnPlayerKeyStateChange |
When i press 2 in one vehicle say "You can not arrest the suspect if you are in a car" but when I am not in one vehicle... key not work...
I think is to blame
pawn Код:
if(GetDistanceBetweenPlayers(i,playerid) <= 10 && GetPlayerWantedLevel(i) >= 4)