Re: vfunc - GetVehicleColor, GetVehicleInterior and synced random colors (-1, -1) -
Konstantinos - 16.03.2013
Quote:
Originally Posted by MP2
That isn't my include.
|
It is, he re-named it with a different name.
Re: vfunc - GetVehicleColor, GetVehicleInterior and synced random colors (-1, -1) -
MP2 - 16.03.2013
As someone said; line 1 is a comment. How do you know what he's supposedly done?
Re: vfunc - GetVehicleColor, GetVehicleInterior and synced random colors (-1, -1) -
SMW - 15.06.2013
player vehicle color is not synced with other players, any help ?
Re: vfunc - GetVehicleColor, GetVehicleInterior and synced random colors (-1, -1) -
MP2 - 16.06.2013
I can't really help you if you give me no information. Did you include it and compile? Do other functions work? Did you include it before any other includes that may set a vehicles' colours?
Re: vfunc - GetVehicleColor, GetVehicleInterior and synced random colors (-1, -1) -
HeLiOn_PrImE - 28.12.2013
you can create a vehicle with double health?
Re: vfunc - GetVehicleColor, GetVehicleInterior and synced random colors (-1, -1) - Emmet_ - 29.12.2013
Nice script here, I'll get around to using it if I decide to work on my project again.
Quote:
Originally Posted by MP2
IMPORTANT NOTE: GetVehicleColor will NOT work in filterscripts. This is because vehicles (generally) are created in your gamemode, and the filterscript is loaded AFTER. The filterscripts can't read the data from the gamemode, and I see no reason why you'd want it to anyway.
|
You can try using properties.
pawn Код:
setproperty(vehicleid, "Color1", color1);
setproperty(vehicleid, "Color2", color2);
And so on.
Quote:
Originally Posted by HeLiOn_PrImE
you can create a vehicle with double health?
|
Nice bump. Use
SetVehicleHealth, if that's what you meant
.
Re: vfunc - GetVehicleColor, GetVehicleInterior and synced random colors (-1, -1) -
Alphlax - 29.12.2013
Nice code
Re: vfunc - GetVehicleColor, GetVehicleInterior and synced random colors (-1, -1) -
HeLiOn_PrImE - 29.12.2013
Quote:
Originally Posted by Emmet_
|
I know the max health is 1000, but I saw him mentioning the code:
Код:
SetVehicleHealth(vehicleid, 2000); // Set to double health
This is confusing...
Re: vfunc - GetVehicleColor, GetVehicleInterior and synced random colors (-1, -1) - Emmet_ - 29.12.2013
Quote:
Originally Posted by HeLiOn_PrImE
I know the max health is 1000, but I saw him mentioning the code:
Код:
SetVehicleHealth(vehicleid, 2000); // Set to double health
This is confusing...
|
That's just an example. Double health is simply the original, default vehicle health in SA-MP, multiplied by 2 (hence the word double)...
Re: vfunc - GetVehicleColor, GetVehicleInterior and synced random colors (-1, -1) -
Zamora - 29.12.2013
Amazing, I'll use it.
Re: vFunc - Synced random vehicle colors (-1), GetVehicleColor and more vehicle-related functions (UPDATED FOR 0.3.7) -
FERCOPRO - 05.07.2016
Quote:
Originally Posted by DusanInfinity
Can anyone help me? I need this include..
|
This is happening to me too.
Re: vFunc - Synced random vehicle colors (-1), GetVehicleColor and more vehicle-related functions (UPDATED FOR 0.3.7) -
MerryDeer - 22.07.2016
I have other includes that do some stuff with createvehicle it's hooked it not mess up everything?