Is this possible
#4

Quote:
Originally Posted by DBan
Посмотреть сообщение
Afaik, no, because well again afaik, SAMP cannot tell if you're entering a vehicle, but it can tell what vehicle you're in.
SAMP can tell if you're entering a vehicle. OnPlayerEnterVehicle is called when the player pressed the ENTER key and there is a vehicle nearby, resulting in the player walking towards the vehicle. If you lock the vehicle in OnPlayerEnterVehicle when you're not allowed to enter it, the player can't enter it, because your ped is still outside the vehicle when OnPlayerEnterVehicle is called.
Reply


Messages In This Thread
Is this possible - by Euan Hughes - 06.07.2012, 14:25
Re: Is this possible - by DBan - 06.07.2012, 14:29
Re: Is this possible - by Calgon - 06.07.2012, 14:30
Re: Is this possible - by Basssiiie - 06.07.2012, 14:31
Re: Is this possible - by milanosie - 06.07.2012, 14:32
Re: Is this possible - by Euan Hughes - 06.07.2012, 14:33
Re: Is this possible - by DBan - 06.07.2012, 14:35
Re: Is this possible - by milanosie - 06.07.2012, 14:36
Re: Is this possible - by Calgon - 06.07.2012, 14:38
Re: Is this possible - by Euan Hughes - 06.07.2012, 17:17

Forum Jump:


Users browsing this thread: 3 Guest(s)