Making it soo theese cars can only be drove by TEAM_COP
#6

Quote:
Originally Posted by Don Correlli
This won't work if you're going to use "RemovePlayerFromVehicle" function because OnPlayerEnterVehicle is called every time if player is near the vehicle AND if he presses the enter key, which means he can cancel the entry but callback will get called anyway.

Use this:
pawn Код:
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
SetPlayerPos(playerid, x, y, z);
i got it at a other place, cause i use it different then him, and i am not that good scripter
but it tryed to help him a little bit
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)