Car export doesn't work on 0.3 - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Car export doesn't work on 0.3 (
/showthread.php?tid=98413)
Car export doesn't work on 0.3 -
Black Souls - 20.09.2009
Hey all
As the most I was testing my script on 0.3
And the most worked (except the pickups, but they are fixed now

)
So I found another bug. When a missions spawn in the game (Car Export) It needs to appear on the minimap (marker on the car and on the minimap) so people know where the car they need to export is. But sometimes it shows it on minimap and the car, and sometimes not
it is like 10% of the time right, and 90% of the time wrong (there doesn't appear a marker on the minimap and car)
I don't get it, why would it works sometimes, and sometimes not.
So I hope you guys can find the error I made.
I will give you the part were the mission starts, (on the start it is suposed to create a marker on minimap and car)
http://pastebin.com/m4af8985a
Thanks anyway
PS: For the people that ask, when I compile the script, it doesn't give any error
Re: Car export doesn't work on 0.3 -
Joe Staff - 20.09.2009
It's because of SA-MP 0.3's streamer, you can't set a vehicle's parameters (marked/locked) unless it's in view of the player. The only alternative off the top of my head is to place a regular map marker that updates once per second onto the vehicle's location.
Re: Car export doesn't work on 0.3 -
Black Souls - 20.09.2009
Hmmm, good idea, but I never worked with that, so can somebody mabye give me an example
Re: Car export doesn't work on 0.3 -
Daem. - 22.09.2009
wiki.sa-mp.com learn some
it's very easy when you know basic of pawn
Re: Car export doesn't work on 0.3 -
Black Souls - 22.09.2009
Well, can somebody atleast give me a link

I am never good with finding this stuff
Re: Car export doesn't work on 0.3 -
Correlli - 22.09.2009
http://forum.sa-mp.com/index.php?topic=119943.0