[FilterScript] Ultimate Vehicle Control [0.3c]
#1

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!
Reply
#2

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

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.
Reply
#4

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.
Reply
#5

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

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.
Reply
#7

Nice job dude.
Reply
#8

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

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.
Reply
#10

Great, but give me the amx file damn.
Reply
#11

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

'nuff said
Reply
#12

Can u make :
/LightsFlashOn ?
Reply
#13

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.
Reply
#14

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.
Reply
#15

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.
Reply
#16

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%
Reply
#17

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

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
Reply
#19

i didint edit anything and i have added the ZCMD include.
Reply
#20

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?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)