[FilterScript] Management buy sell car
#1

Hello,


Then has to know first that all are thought to make life easier for commancer define the top of the script

Код:
#define MAX_VOITURE 500//Here you must put the number of car you go to sell
#define MAX_PLAYERS 10//here please indicate the number of slot your server samp
//#define DEBUG // uncomment to use / cash and / carsave
#define USEPIN//comment not to use the system PIN protection
#define USERESETCAR //comment not to use or not restecar
#define USEDEMARRER//comment not to use the system for starting the car by pressing KEY_FIRE
#define USEESSENCE//comment not to use the fuel system
#define USEALARME//comment not to use the alarm system
#define USECALLCAR//comment to disable the use of the command / callcar
#define TMPFILE "filetempcar.pwn"//The temporary file name
as you notice the comment so you are define can not make the ball at this level ^ ^.

otherwise the system uses a PIN code that protects the identity thief ^ ^

the control rate player

/ changepin (only if USEPIN not define how and if the player is already valid PIN) allows the player to change the PIN provided by the script
/ buycar allows the player to purchase a vehicle if he possesses money
/ sellcar are able to sell vehicle
/ alarm (only if not define USEALARME comment) allows the player to be secured are vehicle
/ resetcar (only if the comment is not USERESETCAR define) will allow the player possessing a vehicle to go to him
/ carcolor will allow the player to change the color of the vehicle are
/ parc will allow the player to change the location of vehicle are
/ secure will allow the player to prevent the use of the vehicle is another player (no effect on the admin)

Admin Order now

/ asellcar sell the vehicle in which you find
/ APARC to change the spawn of the car or you find
/ backup allows you to save a file to your
/ rescus can recharge your backup
/ aprix allows you to change the price of a free car
/ carstaff can prevent the use of the vehicle to players
/ givecar used to set the vehicle in which you are a player has logged on the server
/ setbuy can block a sale has vehcicule

the command for setting up your vehicle's define DEBUG must be uncommented
/ cash will give you $ 150,000
/ carsave [Optional Comment] Save line was put in the file voiture.pwn

Here I hope I did not forget anything in any case I remain at your disposal for further information




Sorry for the bad english I use ****** translation
Reply


Messages In This Thread
[FS] Car Ownership fuel pin protection engine start - by cristab - 11.02.2011, 11:42
Re: Management buy sell car - by Medal Of Honor team - 11.02.2011, 11:47
Re: Management buy sell car - by Agresiv - 11.02.2011, 12:11
Re: Management buy sell car - by Medal Of Honor team - 11.02.2011, 12:13
Re : Management buy sell car - by cristab - 11.02.2011, 12:13
Re : Management buy sell car - by cristab - 16.02.2011, 11:37
Re: Management buy sell car - by UDV Production - 16.02.2011, 14:20
Re : Management buy sell car - by cristab - 16.02.2011, 17:27
Re: Management buy sell car - by Maftaca - 16.02.2011, 17:30
Re : Management buy sell car - by cristab - 16.02.2011, 17:37
Re : Management buy sell car - by Varkoll_ - 16.02.2011, 18:00
Re : Management buy sell car - by cristab - 16.02.2011, 18:12
Re : Management buy sell car - by Varkoll_ - 16.02.2011, 19:48
Re : Management buy sell car - by GordonVal - 07.05.2012, 10:14

Forum Jump:


Users browsing this thread: 1 Guest(s)