Help me, creater car

Started by KrlozZ..., Feb 10, 2017, 01:50 AM

Previous topic - Next topic

KrlozZ...

Well i made a cmd to create a car in game like /createcar model color color, but i want to save it on the script, i mean if i do that cmd, it export to the script, beacause if i restart the server it disappear, i want know how to save it on the script.
Can anyone help me :P

PunkNoodle

Either add it to the server.conf file if you're using that, or use a database such as SQLite or MySQL, or simpler(older?) stuff like INIs, Hashes, XML. Your choice, but in any case you'll need to have a minimal comprehension of scripts. If you have that go check some of the releases in this forum, you might find what you need already and all you have to do was follow the damn train is setting it up.

Luis_Labarca

I did System load vehicles, Addcar, ChangeCol and SavePos
http://forum.vc-mp.org/?topic=3499.0
My server RP
IP: 51.222.28.159:8194

KrlozZ...

Oh shit, thank you so much, its thank full :D <3 i wont remove the credits dont worry :3

Luis_Labarca

Quote from: KrlozZ... on Mar 05, 2017, 04:33 AMOh shit, thank you so much, its thank full :D <3 i wont remove the credits dont worry :3
It's not cool to have helped you ;)
My server RP
IP: 51.222.28.159:8194