SA-MP Forums Archive
Vehicle problem! - 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: Vehicle problem! (/showthread.php?tid=632499)



Vehicle problem! - Zerxicho - 15.04.2017

Hi, everyone!
I've got problem with vehicle bug! I want to import to my server filterscript, but I can't fix one bug!
So, in the filterscript is vehicle dealership! When I get into vehicle that is on sale I can drive with it!
1. When I get into the vehicle comes out this window! (It asks, if I want to buy or not)
http://prnt.sc/ewr6kf
2. But when I press F6 (opens chat log) and write any command and press ENTER it opens a log for that command.
When I close that window, I can drive with car even if I haven't buy it!

I tried solve this, but it is hard!
I think I should set timer and after little time it removes player from the vehicle! But how?

https://pastebin.com/dC3yghzi


Re: Vehicle problem! - raydx - 15.04.2017

Код:
public OnGameModeInit()
{
    ManualVehicleEngineAndLights();



Re: Vehicle problem! - Zerxicho - 15.04.2017

To better understand my problem, I'll show it in this video:
https://*********/5Wtd4sRJdcA