SA-MP Forums Archive
Car System - 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 System (/showthread.php?tid=202467)



Car System - maxas - 24.12.2010

Hello, who can make a car system tutorial, thanks


Re: Car System - Haydz - 24.12.2010

https://sampforum.blast.hk/showthread.php?tid=185999

****** is your friend.


Re: Car System - <Weponz> - 24.12.2010

Just use checkpoints as car shops and OnPlayerCheckpoint use SendClientMessage to show the car list then just make commands like /sultan etc and use the functions CreateVehicle and GivePlayerMoney(playerid,-w/e); and bang u have a car shop..

Hope this helps.

EDIT:

Also use "new bool IsPlayerInCheckpont[MAX_PLAYERS];" and IsPlayerInCheckpoint[playerid] == 0/1 for the commands so they cant just /sultan anywhere..