SA-MP Forums Archive
Question - 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: Question (/showthread.php?tid=603081)



Question - ThatFag - 18.03.2016

Hey guys.
i am interested on a game mode that have vehicle (de)spawn system if you know any please give me a link of it, i found no tutorials to make one so.if you dont know what is vehicle despawn system , its like NGRP one


Re: Question - introzen - 18.03.2016

Learn basic PAWN coding including different methods of storing data, then figure the script out yourself. As you're not familiar with pawn I assume you're not comfortable with SQL. I would hence recommend storing the data in .ini files.


Re: Question - ThatFag - 18.03.2016

i am familiary with Pawn and i know scripting well but the problem is that i dont know where to start it so , if there would be a little tutorial wouldnt be that bad


Re: Question - introzen - 18.03.2016

Start by creating the function/command for spawning the vehicle. Once you've done that, decide how you want to save the vehicle/despawn it. And work on that method. Could be by saving vehicle info and despawning when player disconnects, or you could create a spawn and despawn command.