SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts > Includes

Reply
 
Thread Tools Display Modes
Old 06/01/2009, 06:13 AM   #1
-Sneaky-
Gangsta
 
Join Date: Jul 2006
Posts: 601
Reputation: 24
Default [INC] Vehicle Manager

Hi.

Some weeks ago I threw this INC together, I've taken parts from Simon's Debug, 0.2.1 server pack and a command made by DragSta and came up with "Sneaky's Vehicle Manager" - I hardly take any credit for this.. anyways!..

Normally, you would go into debug mode, or join your server and start adding cars with /save, then goto savedpositions.txt, place them in your gamemode etc etc.

This INC allows you to add vehicles to your gamemode easely, without using the 'normal way', now you can simply add vehicles to your gamemode by going in them, parking them and typing /iaddvehicle.

Commands:


/iaddvehicle <add a vehicle to your gamemode, vehicle will save in vehicles.ini in your scriptfiles folder>
/ivehicle <spawn a vehicle modelid/name>
/iload <load vehicles from file>
/ihelp <view some info>

Quote:
Originally Posted by inc setup
Setup:

Put OnVehSysInit() under OnGameModeInit()
Put OnVehSysExit() under OnGameModeExit()

Add:

dcmd(iaddvehicle,11,cmdtext);
dcmd(ivehicle,8,cmdtext);
dcmd(iload,5,cmdtext);
dcmd(ihelp,5,cmdtext);

under OnPlayerCommandText()
Only pastebin, so you will need to copy & paste it into a new txt document, save it as (all files) vehsys.inc and put it inside your includes folder. Also don't forget todo

pawn Code:
#include <vehsys>
// or whatever you named it

(NO MIRRORS PLEASE)

http://pawn.pastebin.com/f5d5dc3d3
-Sneaky- is offline   Reply With Quote
Old 12/01/2009, 03:56 AM   #2
jlane9909
Little Clucker
 
Join Date: Feb 2008
Posts: 2
Reputation: 0
Default Re: [INC] Vehicle Manager

nice ur pastebins deleted
jlane9909 is offline   Reply With Quote
Old 12/01/2009, 03:58 AM   #3
-Sneaky-
Gangsta
 
Join Date: Jul 2006
Posts: 601
Reputation: 24
Default Re: [INC] Vehicle Manager

http://pawn.pastebin.com/f5d5dc3d3

New link
-Sneaky- is offline   Reply With Quote
Reply

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
[INCLUDE] ICPM - Invisible CheckPoint Manager - by Epsilon _[HuN]_Epsilon_ Filterscripts 21 02/02/2015 04:38 PM
[Tool/Web/Other] [APP] Launcher & CFG manager [BETA] comandante Filterscripts 14 07/02/2011 06:10 PM
[Include] [INC]Checkpoint manager roby65 Includes 26 16/01/2011 01:51 PM
[FilterScript] [FS] TM: Teleports Manager Amit_B Filterscripts 5 19/12/2009 09:40 PM


All times are GMT. The time now is 08:38 AM.


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