SA-MP Forums Archive
Question about GetVehicleParamsEx/SetVehicleParamsEx - 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: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Question about GetVehicleParamsEx/SetVehicleParamsEx (/showthread.php?tid=430657)



Question about GetVehicleParamsEx/SetVehicleParamsEx - horsemeat - 14.04.2013

ok I was just wondering what some of the stuff is for

Код:
SetVehicleParamsEx(vehicleid,engine,lights,alarm,doors,bonnet,boot,objective);
----------------------------------------------------------------------------------------------
Solved
engine is for turning the car on and off

lights are for turning the cars-lights on and off

alarm is for turning the alarm on and off

doors is for locking and unlocking the car

bonnet is for opening and closing the hood

boot is for opening and closing the trunk

Objective is for a indicator where the car is


Re: Question about GetVehicleParamsEx/SetVehicleParamsEx - mrskull42 - 14.04.2013

Ok, copy and paste from SA:MP wiki: https://sampwiki.blast.hk/wiki/SetVehicleParamsEx

vehicleid The ID of the vehicle to set the parameters of.
engine Toggle the engine status on or off (0/1).
lights Toggle the lights on or off (0/1).
alarm Toggle the vehicle alarm on or off (0/1).
doors Toggle the lock status of the doors (0/1).
bonnet Toggle the bonnet to be open or closed (0/1).
boot Toggle the boot to be open or closed (0/1).
objective Toggle the objective status for the vehicle on or off (0/1).


Re: Question about GetVehicleParamsEx/SetVehicleParamsEx - Randy More - 14.04.2013

Bonnet, also known as Hood is the front part of a car, where the engine is...
Boot, also known as Trunk is the back part, where you can store things in...
As for for the alarm, lights and engine you got it right. As for the "objective" no clue.


Re: Question about GetVehicleParamsEx/SetVehicleParamsEx - horsemeat - 14.04.2013

Quote:
Originally Posted by mrskull42
Посмотреть сообщение
Ok, copy and paste from SA:MP wiki: https://sampwiki.blast.hk/wiki/SetVehicleParamsEx

vehicleid The ID of the vehicle to set the parameters of.
engine Toggle the engine status on or off (0/1).
lights Toggle the lights on or off (0/1).
alarm Toggle the vehicle alarm on or off (0/1).
doors Toggle the lock status of the doors (0/1).
bonnet Toggle the bonnet to be open or closed (0/1).
boot Toggle the boot to be open or closed (0/1).
objective Toggle the objective status for the vehicle on or off (0/1).
Thanks but it is not clear enough what at
boot
objective
maybe you can explain what they do


Re: Question about GetVehicleParamsEx/SetVehicleParamsEx - mrskull42 - 14.04.2013

It seems pretty clear to me, the bonnet feature opens and closes the bonnet. The boot feature opens and closes the boot. And the objective enables and disables the blip on the radar for the vehicle.


Re: Question about GetVehicleParamsEx/SetVehicleParamsEx - horsemeat - 14.04.2013

Quote:
Originally Posted by mrskull42
Посмотреть сообщение
It seems pretty clear to me, the bonnet feature opens and closes the bonnet. The boot feature opens and closes the boot. And the objective enables and disables the blip on the radar for the vehicle.
is the blimp that grey dot that appears for the cars


Re: Question about GetVehicleParamsEx/SetVehicleParamsEx - mrskull42 - 14.04.2013

Quote:
Originally Posted by horsemeat
Посмотреть сообщение
alright let me ask you what is a boot I am looking for a simplified term..

p.s is the blimp that grey dot that appears for the cars



-.-



Re: Question about GetVehicleParamsEx/SetVehicleParamsEx - horsemeat - 14.04.2013

Quote:
Originally Posted by mrskull42
Посмотреть сообщение


-.-
Thanks for the super clear picture I think I understand now Thanks


Re: Question about GetVehicleParamsEx/SetVehicleParamsEx - Scenario - 14.04.2013

The objective toggles a yellow-ish colored blimp on the mini-map which shows the vehicle's position.


Re: Question about GetVehicleParamsEx/SetVehicleParamsEx - horsemeat - 14.04.2013

Quote:
Originally Posted by RealCop228
Посмотреть сообщение
The objective toggles a yellow-ish colored blimp on the mini-map which shows the vehicle's position.
Thanks