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

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);
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)