26.10.2010, 16:57
Quote:
Okay, did some quick testing on my homehost and it turns out that OnPlayerEnterVehicle is called when the player presses the button to enter a vehicle (By default The 'F' key, the 'Enter' button), not when he actually has entered the vehicle. Hence why this occurs
![]() Now this should work, remove the "IsPlayerPizzaDeliver" line in OnPlayerEnterVehicle, and use this one under OnPlayerKeyStateChange: pawn Код:
Moddler beat me again ![]() |
Yea, your code it's better actually, and I forgot return 1;
Peace.