SA-MP Forums Archive
Script Request #2 - 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: Script Request #2 (/showthread.php?tid=80451)



Script Request #2 - dened - 04.06.2009

Hello
I have a Los Angels Roleplay server and I want to spawn cars that i can rent or the people need to buy because there aren't so much.Can someone give me a tutorial or a code for that?


Re: Script Request #2 - miokie - 04.06.2009

Ask in the LARP Script thread.
And, Why did you call your topic name Script Request #2?


Re: Script Request #2 - lol2112 - 04.06.2009

Maybe because this is his second request?

You haven't really given much detail as to what exactly you want in the script but I think you're after a pretty simple car spawn code so to make it these are the functions you'll need:

CreateVehicle
GetPlayerPos
PutPlayerInVehicle

You'll also want to know how to make commands:

Using strcmp()


Re: Script Request #2 - dened - 05.06.2009

Okey I try it


Re: Script Request #2 - KeyWay - 05.06.2009

Script request's goes here: http://forum.sa-mp.com/index.php?topic=94387.0


Re: Script Request #2 - lol2112 - 05.06.2009

Quote:
Originally Posted by KeyWay
His question was still discussion related to be fair.