Server tuning? - 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: Server tuning? (
/showthread.php?tid=422284)
Server tuning? -
arathin - 13.03.2013
How would I add Wheels tuning shop to my samp server what checkpoint thing do I need to add?
Re: Server tuning? -
Luis- - 13.03.2013
You can't really move it. You can make a teleport to it though, get the coords of the garage & create a pickup / checkpoint for the vehicle.
Re: Server tuning? -
arathin - 13.03.2013
I mean like how in a stunt server you can drive a car into the garage and tune it then exit with your vehicle tuned how would you do that?
Re: Server tuning? -
kamzaf - 13.03.2013
Quote:
Originally Posted by arathin
I mean like how in a stunt server you can drive a car into the garage and tune it then exit with your vehicle tuned how would you do that?
|
Well it is possible to make a server sided garage with a few mapping and commands.
Basically you need to find a place where you will map the garage, the interiors etc etc. After you've mapped it get the coordinated and create a pickup on the coordinate. After that in OnPlayerPickupPickup if(pickupid == blahblah) { if(IsPlayerInAnyVehicle) etc etc showplayerdialog(playerid, dialog_tune)
and from there you have to make a dialog based tuning system with the given components etc.