07.12.2009, 14:31
OnPlayerEnterVehicle callback is called every time when player is near a vehicle and when he presses a ENTER key. The entry can be canceled but the callback is still called.
RemovePlayerFromVehicle - will only work if player is IN vehicle, but not if he's trying to enter it.
You could use OnPlayerStateChange callback or you could use GetPlayerPos & SetPlayerPos with the OnPlayerEnterVehicle callback.
And this is also wrong.
RemovePlayerFromVehicle - will only work if player is IN vehicle, but not if he's trying to enter it.
You could use OnPlayerStateChange callback or you could use GetPlayerPos & SetPlayerPos with the OnPlayerEnterVehicle callback.
Quote:
|
Originally Posted by ZzZzZ
Код:
if (playerid,TEAM_ZOMBIE) |

