Car system
#1

Hi everyone, i have been looking for a car system that i can edit / remake or even a simple tutorial to tell me how to create one and save it in .ini.... I know a little about scripting but i'm no professional I tried to look at AVS but its too much to edit + would rather have it in my Gamemode. Also i don't like the way you sit in a can and buy one so i would change it to dialogs..

Any ideas? Links? Anything would be great.. ANY help +rep'ing..
Reply
#2

This Filterscript is very simple but saves time.

This is a car creating system by me,to be used ingame, it will save a car with a command and will load it on server restart.
You will need a "savevehs" (not including ") folder in scriptfiles for this to work. This system will save the vehicle model, its position with angle, its Color1 and Color2.
It basically removes the need for using CreateVehicle because this will do that work

Download

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

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

(i don't own this)
Reply
#3

Thanks man, but i would need some examples as im using zcmd and sscanf already and i dont have a clue where to start? any exaples please anyone?
Reply
#4

Okay, i'm kind of starting of with it by my self BUT i would need to know this:

If the script creates a vehicle how do i give that vehicle id to a player? that only he can control it? Would it be vehicleid in game? for e.g if my infernus was id 1, the script would read if you owe a vehicle it would spawn that vehicle and how does it know what car to unspawn? Any useful functions? Please help
Reply
#5

Anyone? Just need to know how to create a vehicle and add the vehicle id to players account. (( IM USING YSI)) i know how to save vehicles position and stuff just that bit im stuck on ^

@ Okay nevermind im going to save each car on different file. Each file will save colour, health, carid, positions and so on. Then when it spawns it will create new car with those selected options and possitions. If anyone can help in anyway- give me few tips or what ever i would be more then happy to read them.


Thanks in advance
Reply
#6

Weldon, Good job all the above participants perform well and expose their ideas awesomely. Its clear me too, actually I was also looking for the same info so Its my goodness to have this .Keep it up guys.
Cheer!
Reply
#7

haha, i thought i might post what im going to do.. As there isn't too many tutorials about car systems? if even there is one so as im progressing i will keep this up to date..
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)