04.12.2011, 08:30
Heey all,
I made a key for arresting players.
If a player is in a car its works great but when a player is on a moter i can arrest him.
Is this a bug or something?
How can i fix this?
Thanks Admigo
I made a key for arresting players.
If a player is in a car its works great but when a player is on a moter i can arrest him.
Is this a bug or something?
Код:
if(GetPlayerState(ID)==PLAYER_STATE_DRIVER || GetPlayerState(ID)==PLAYER_STATE_PASSENGER) { new arreststring[256]; format(arreststring,sizeof(arreststring),"~b~Officer %s:Pull your vehicle over now!",PlayerName(playerid)); GameTextForPlayer(ID,arreststring,3000,5); }
Thanks Admigo