SA-MP Forums Archive
[FilterScript] Ultimate Vehicle Control [0.3c] - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Ultimate Vehicle Control [0.3c] (/showthread.php?tid=195516)

Pages: 1 2


Ultimate Vehicle Control [0.3c] - Camacorn - 02.12.2010

Ultimate Vehicle Control
Information:
Ive seen a few Vehicle Control scripts released for 0.3c, but they were very basic, and lacked some features which i believe just enhance the usage of the commands. This is why i am releasing this script today.

Lines: 525

Dialog Options:

Headlights
Use this to manually turn on and off the headlights of a vehicle.

DOORS
Use this to open the doors, trunk, or hood on a vehicle, at any given moment.

ALARM
Use this to roleplay Grand Theft Auto's or just to have fun, it sets off the alarm of almost all vehicles.

ENGINE
Use this to physically turn the engine on and off. I added a little extra, it tells the people around you that you have just turned the engine on, or off. Also, if your vehicle is damaged, a certain amount, the vehicle will not start.

LICENSE
Change the text on your vehicles license plate.

/VEHINFO
Show the commands contained in this filterscipt.

Downloads:

Current Version:
Converted to Dialogs, removed the Flasher command.

  • Click Me: Pastebin


If you see any bugs, or things that can be changed, please post here!


Re: Ultimate Vehicle Control [0.3c] - Hal - 02.12.2010

Nice, but the string sizes are a bit big(for some), and (some) can be smaller. Just for maximum optimization :P


Re: Ultimate Vehicle Control [0.3c] - Camacorn - 02.12.2010

Quote:
Originally Posted by Hal
Посмотреть сообщение
Nice, but the string sizes are a bit big(for some), and (some) can be smaller. Just for maximum optimization :P
Sorry, i had that string adjusted to the amount of vehicles i have in my server. As i scripted this into my Gamemode, but figured others might wanna use it.


Re: Ultimate Vehicle Control [0.3c] - Hal - 02.12.2010

Quote:
Originally Posted by Camacorn
Посмотреть сообщение
Sorry, i had that string adjusted to the amount of vehicles i have in my server. As i scripted this into my Gamemode, but figured others might wanna use it.
No, the formatted text strings, you are using an unnecessary amount [128] when it should be almost half that.
This is how I optimize, and when you reduce a bunch of strings, it makes a (small) difference.


Re: Ultimate Vehicle Control [0.3c] - Camacorn - 02.12.2010

I will fix that in the next release, thank you.


Re: Ultimate Vehicle Control [0.3c] - Camacorn - 03.12.2010

Sorry for the double post, but version 2 is now released, check the first topic.

It includes some minor bug fixes and optimizations. Version 3 will include these commands:

/PLATE
Change the text on your vehicles license plate.

And:

/SPAWNCAR
Spawn yourself any vehicle you choose.


Re: Ultimate Vehicle Control [0.3c] - HyperZ - 03.12.2010

Nice job dude.


Re: Ultimate Vehicle Control [0.3c] - Zh3r0 - 03.12.2010

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


Re: Ultimate Vehicle Control [0.3c] - Camacorn - 03.12.2010

Quote:
Originally Posted by Zh3r0
Посмотреть сообщение
The difference between his script and mine, is that mine has more optimizations, and 'some' added features.

Also, read my 3rd comment, i will be adding 2 more commands.


Re: Ultimate Vehicle Control [0.3c] - Ehab1911 - 03.12.2010

Great, but give me the amx file damn.


Re: Ultimate Vehicle Control [0.3c] - WillyP - 03.12.2010

Quote:
Originally Posted by The Ghetto Reaper
Посмотреть сообщение
what is the "Ultimate" there?
+1

'nuff said


Re: Ultimate Vehicle Control [0.3c] - Den_Deluxe - 03.12.2010

Can u make :
/LightsFlashOn ?



Re: Ultimate Vehicle Control [0.3c] - Camacorn - 03.12.2010

Quote:
Originally Posted by Ehab1911
Посмотреть сообщение
Great, but give me the amx file damn.
Compile the .PWN it takes 3 seconds. Dont be lazy.

Quote:
Originally Posted by Den_Deluxe
Посмотреть сообщение
Can u make :
/LightsFlashOn ?
Sure, will add to Version 3.


Re: Ultimate Vehicle Control [0.3c] - Camacorn - 03.12.2010

Sorry for the quick updates but i want to give you guys what you ask,

Version 3 contains these additions:

/LICENSE
Change the text on your vehicles license plate.

/SPAWNCAR [VEHICLEID]
Spawn yourself any vehicle you choose.

/VEHINFO
Show the commands contained in this filterscipt.

/LFLASH
Makes your headlights flash.


Re: Ultimate Vehicle Control [0.3c] - G*Mafia - 04.12.2010

C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(54) : error 017: undefined symbol "GetVehicleDamageStatus"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(55) : error 017: undefined symbol "UpdateVehicleDamageStatus"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(59) : error 017: undefined symbol "GetVehicleDamageStatus"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(60) : error 017: undefined symbol "UpdateVehicleDamageStatus"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(4 : warning 203: symbol is never used: "tiresx"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(4 : warning 203: symbol is never used: "lightsx"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(4 : warning 203: symbol is never used: "doorsx"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(4 : warning 203: symbol is never used: "panelsx"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(34 : error 017: undefined symbol "ManualVehicleEngineAndLights"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(375) : error 017: undefined symbol "GetVehicleDamageStatus"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(376) : error 017: undefined symbol "UpdateVehicleDamageStatus"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(374) : warning 203: symbol is never used: "tires"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(374) : warning 203: symbol is never used: "lights"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(374) : warning 203: symbol is never used: "doors"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(374) : warning 203: symbol is never used: "panels"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(449) : error 017: undefined symbol "GetVehicleDamageStatus"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(450) : error 017: undefined symbol "UpdateVehicleDamageStatus"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(457) : error 017: undefined symbol "GetVehicleDamageStatus"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(45 : error 017: undefined symbol "UpdateVehicleDamageStatus"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(442) : warning 203: symbol is never used: "tires"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(442) : warning 203: symbol is never used: "lights"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(442) : warning 203: symbol is never used: "doors"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(442) : warning 203: symbol is never used: "panels"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(482) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(483) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(497) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(49 : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(470) : warning 203: symbol is never used: "objective"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(470) : warning 203: symbol is never used: "boot"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(470) : warning 203: symbol is never used: "bonnet"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(470) : warning 203: symbol is never used: "doors"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(470) : warning 203: symbol is never used: "alarm"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(470) : warning 203: symbol is never used: "lights"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(470) : warning 203: symbol is never used: "engine"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(523) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(524) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(530) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(531) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(543) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(544) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(550) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(551) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(563) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(564) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(570) : error 017: undefined symbol "GetVehicleParamsEx"

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


26 Errors.


Re: Ultimate Vehicle Control [0.3c] - Den_Deluxe - 04.12.2010

Quote:
Originally Posted by Camacorn
Посмотреть сообщение
Sorry for the quick updates but i want to give you guys what you ask,

Version 3 contains these additions:

/LICENSE
Change the text on your vehicles license plate.

/SPAWNCAR [VEHICLEID]
Spawn yourself any vehicle you choose.

/VEHINFO
Show the commands contained in this filterscipt.

/LFLASH
Makes your headlights flash.
WOW Thanks! I am going to use it 100%


Re: Ultimate Vehicle Control [0.3c] - justsomeguy - 04.12.2010

what o.3c that one isnt released yet right i checked the download page


Re: Ultimate Vehicle Control [0.3c] - Camacorn - 04.12.2010

Quote:
Originally Posted by G*Mafia
Посмотреть сообщение
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(54) : error 017: undefined symbol "GetVehicleDamageStatus"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(55) : error 017: undefined symbol "UpdateVehicleDamageStatus"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(59) : error 017: undefined symbol "GetVehicleDamageStatus"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(60) : error 017: undefined symbol "UpdateVehicleDamageStatus"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(4 : warning 203: symbol is never used: "tiresx"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(4 : warning 203: symbol is never used: "lightsx"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(4 : warning 203: symbol is never used: "doorsx"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(4 : warning 203: symbol is never used: "panelsx"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(34 : error 017: undefined symbol "ManualVehicleEngineAndLights"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(375) : error 017: undefined symbol "GetVehicleDamageStatus"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(376) : error 017: undefined symbol "UpdateVehicleDamageStatus"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(374) : warning 203: symbol is never used: "tires"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(374) : warning 203: symbol is never used: "lights"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(374) : warning 203: symbol is never used: "doors"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(374) : warning 203: symbol is never used: "panels"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(449) : error 017: undefined symbol "GetVehicleDamageStatus"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(450) : error 017: undefined symbol "UpdateVehicleDamageStatus"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(457) : error 017: undefined symbol "GetVehicleDamageStatus"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(45 : error 017: undefined symbol "UpdateVehicleDamageStatus"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(442) : warning 203: symbol is never used: "tires"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(442) : warning 203: symbol is never used: "lights"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(442) : warning 203: symbol is never used: "doors"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(442) : warning 203: symbol is never used: "panels"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(482) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(483) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(497) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(49 : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(470) : warning 203: symbol is never used: "objective"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(470) : warning 203: symbol is never used: "boot"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(470) : warning 203: symbol is never used: "bonnet"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(470) : warning 203: symbol is never used: "doors"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(470) : warning 203: symbol is never used: "alarm"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(470) : warning 203: symbol is never used: "lights"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(470) : warning 203: symbol is never used: "engine"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(523) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(524) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(530) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(531) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(543) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(544) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(550) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(551) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(563) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(564) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\MarioG\Desktop\Other\SA-MP\filterscripts\UVC.pwn(570) : error 017: undefined symbol "GetVehicleParamsEx"

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


26 Errors.
Did you edit anything in the script? Because it works for everyone else. And did you add the ZCMD include?

Quote:
Originally Posted by justsomeguy
Посмотреть сообщение
what o.3c that one isnt released yet right i checked the download page
https://sampforum.blast.hk/showthread.php?tid=194031


Re: Ultimate Vehicle Control [0.3c] - G*Mafia - 04.12.2010

i didint edit anything and i have added the ZCMD include.


Re: Ultimate Vehicle Control [0.3c] - Camacorn - 06.12.2010

Quote:
Originally Posted by G*Mafia
Посмотреть сообщение
i didint edit anything and i have added the ZCMD include.
Did you use 0.3c's PAWN compiler?