Question about GetVehicleParamsEx/SetVehicleParamsEx
#1

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

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

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

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

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

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

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



-.-
Reply
#8

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


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

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

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


Forum Jump:


Users browsing this thread: 1 Guest(s)