GetPlayerState bug?
#1

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?

Код:
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);
				}
How can i fix this?

Thanks Admigo
Reply
#2

This is not the correct part of code, this is not where the 'criminal' actually gets arrested.
Show us that code...
lil' boy
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)