SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Help Archive

 
 
Thread Tools Display Modes
Old 16/12/2009, 08:33 AM   #1
Nakash
Huge Clucker
 
Join Date: Jan 2008
Posts: 241
Reputation: 0
Default [HELP] How to add a car to .cfg file INGAME?

I am using a car dealership,you enter a car and type /v buy.
I don't like that idea,i want like when a player types /v buy it will spawn a new car,
i know how to do this but the problem is that i want the car to be saved in cars.cfg.
btw,how to remove the limit? it is a loop,if i defined the MAX_CARS "100" it will create
100 cars in the cfg,with the same location as the lasts. is there a way to remain it clean untill
someone /v buys a car? thanks
Nakash is offline  
Old 16/12/2009, 02:42 PM   #2
Jay_
Gangsta
 
Jay_'s Avatar
 
Join Date: Jul 2009
Posts: 654
Reputation: 204
Default Re: [HELP] How to add a car to .cfg file INGAME?

Almost every gamemode, every script, is different and unique. I doubt what you're describing here takes 0.3 scripting into consideration so you are most likely posting it in the wrong board.

You need to give more details, if it's a scripting question, show us the script. If it's a question about a gamemode which isn't yours, post in the relevant topic.

Jay_ is offline  
Old 16/12/2009, 04:52 PM   #3
Nakash
Huge Clucker
 
Join Date: Jan 2008
Posts: 241
Reputation: 0
Default Re: [HELP] How to add a car to .cfg file INGAME?

Quote:
Originally Posted by Jay_
Almost every gamemode, every script, is different and unique. I doubt what you're describing here takes 0.3 scripting into consideration so you are most likely posting it in the wrong board.

You need to give more details, if it's a scripting question, show us the script. If it's a question about a gamemode which isn't yours, post in the relevant topic.

I have opened a new thread.
http://forum.sa-mp.com/index.php?topic=139033.0
Thanks
Nakash is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Failed (plugins/whirlpool: cannot open shared object file: No such file or direc shotyoudie Server Support 1 19/03/2010 12:20 AM
Create Ingame Bots?? And Then play them ingame? asdfgh98 Help Archive 2 16/12/2009 12:30 PM


All times are GMT. The time now is 12:33 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.