SA-MP Forums Archive
I can enter cars only as passenger. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: I can enter cars only as passenger. (/showthread.php?tid=401449)



I can enter cars only as passenger. - NoobWeen - 22.12.2012

Hi guys!

As the title, I can enter vehicles in my server only as passenger.
And I used AddStaticVehicleEx.


Can someone help me?


Re: I can enter cars only as passenger. - Lynn - 22.12.2012

Try re-entering your server.
This is a common SAMP Bug, not a scripting bug.
I assume that's the case here.


Re: I can enter cars only as passenger. - park4bmx - 22.12.2012

It could be a script wise problem!
I never had such a bug with samp, check OnPlayerEnterVehicle
There might be some code cancelling animation etc. which not allow u to e get as a driver.


Re: I can enter cars only as passenger. - Lynn - 22.12.2012

Quote:
Originally Posted by park4bmx
Посмотреть сообщение
It could be a script wise problem!
I never had such a bug with samp, check OnPlayerEnterVehicle
There might be some code cancelling animation etc. which not allow u to e get as a driver.
It occurs mostly after you've tabbed out, and come back.
I didn't say it's for-sure not a script bug, It's just a SAMP Bug I've experienced myself where F is no-longer usable and I have to relog.


Re: I can enter cars only as passenger. - NoobWeen - 22.12.2012

...I disabled all the scripts under OnPlayerEnterVehicle callback and now I can enter cars as driver!
Thank you all!