[Include] vFunc - Synced random vehicle colors (-1), GetVehicleColor and more vehicle-related functions (UPDATED FOR 0.3.7)
#26

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


Messages In This Thread
vFunc - Synced random vehicle colors (-1), GetVehicleColor and more vehicle-related functions (UPDATED FOR 0.3.7) - by MP2 - 02.05.2012, 07:23
Re: vfunc - GetVehicleColor, GetVehicleInterior and synced random colors (-1, -1) - by Faisal_khan - 02.05.2012, 07:27
Re: vfunc - GetVehicleColor, GetVehicleInterior and synced random colors (-1, -1) - by System64 - 02.05.2012, 07:42
Re: vfunc - GetVehicleColor, GetVehicleInterior and synced random colors (-1, -1) - by MP2 - 02.05.2012, 07:47
Re: vfunc - GetVehicleColor, GetVehicleInterior and synced random colors (-1, -1) - by 2KY - 03.05.2012, 14:19
Re: vfunc - GetVehicleColor, GetVehicleInterior and synced random colors (-1, -1) - by MP2 - 04.05.2012, 11:47
Re: vfunc - GetVehicleColor, GetVehicleInterior and synced random colors (-1, -1) - by MP2 - 04.05.2012, 21:42
Re: vfunc - GetVehicleColor, GetVehicleInterior and synced random colors (-1, -1) - by Kyle - 02.06.2012, 15:16
Re: vfunc - GetVehicleColor, GetVehicleInterior and synced random colors (-1, -1) - by Jochemd - 02.06.2012, 15:19
Re: vfunc - GetVehicleColor, GetVehicleInterior and synced random colors (-1, -1) - by Kyle - 02.06.2012, 17:34
Re: vfunc - GetVehicleColor, GetVehicleInterior and synced random colors (-1, -1) - by MP2 - 02.06.2012, 19:27
Re: vfunc - GetVehicleColor, GetVehicleInterior and synced random colors (-1, -1) - by Kyle - 29.07.2012, 11:40
Re: vfunc - GetVehicleColor, GetVehicleInterior and synced random colors (-1, -1) - by MP2 - 30.07.2012, 12:01
Re: vfunc - GetVehicleColor, GetVehicleInterior and synced random colors (-1, -1) - by MP2 - 22.01.2013, 14:24
Re: vfunc - GetVehicleColor, GetVehicleInterior and synced random colors (-1, -1) - by im - 07.02.2013, 07:29
Re: vfunc - GetVehicleColor, GetVehicleInterior and synced random colors (-1, -1) - by MP2 - 07.02.2013, 07:35
Re: vfunc - GetVehicleColor, GetVehicleInterior and synced random colors (-1, -1) - by MP2 - 10.02.2013, 19:28
Re: vfunc - GetVehicleColor, GetVehicleInterior and synced random colors (-1, -1) - by Apenmeeuw - 14.03.2013, 20:04
Re: vfunc - GetVehicleColor, GetVehicleInterior and synced random colors (-1, -1) - by Konstantinos - 14.03.2013, 20:23
Re: vfunc - GetVehicleColor, GetVehicleInterior and synced random colors (-1, -1) - by MP2 - 16.03.2013, 01:05
Re: vfunc - GetVehicleColor, GetVehicleInterior and synced random colors (-1, -1) - by Konstantinos - 16.03.2013, 10:23
Re: vfunc - GetVehicleColor, GetVehicleInterior and synced random colors (-1, -1) - by MP2 - 16.03.2013, 12:57
Re: vfunc - GetVehicleColor, GetVehicleInterior and synced random colors (-1, -1) - by SMW - 15.06.2013, 18:04
Re: vfunc - GetVehicleColor, GetVehicleInterior and synced random colors (-1, -1) - by MP2 - 16.06.2013, 00:00
Re: vfunc - GetVehicleColor, GetVehicleInterior and synced random colors (-1, -1) - by HeLiOn_PrImE - 28.12.2013, 11:18
Re: vfunc - GetVehicleColor, GetVehicleInterior and synced random colors (-1, -1) - by Emmet_ - 29.12.2013, 06:44
Re: vfunc - GetVehicleColor, GetVehicleInterior and synced random colors (-1, -1) - by Alphlax - 29.12.2013, 06:53
Re: vfunc - GetVehicleColor, GetVehicleInterior and synced random colors (-1, -1) - by HeLiOn_PrImE - 29.12.2013, 09:22
Re: vfunc - GetVehicleColor, GetVehicleInterior and synced random colors (-1, -1) - by Emmet_ - 29.12.2013, 09:27
Re: vfunc - GetVehicleColor, GetVehicleInterior and synced random colors (-1, -1) - by Zamora - 29.12.2013, 09:40
Re: vFunc - Synced random vehicle colors (-1), GetVehicleColor and more vehicle-related functions (UPDATED FOR 0.3.7) - by FERCOPRO - 05.07.2016, 03:42
Re: vFunc - Synced random vehicle colors (-1), GetVehicleColor and more vehicle-related functions (UPDATED FOR 0.3.7) - by MerryDeer - 22.07.2016, 08:17

Forum Jump:


Users browsing this thread: 1 Guest(s)