16.03.2013, 10:23
[Include] vFunc - Synced random vehicle colors (-1), GetVehicleColor and more vehicle-related functions (UPDATED FOR 0.3.7)
16.03.2013, 12:57
As someone said; line 1 is a comment. How do you know what he's supposedly done?
15.06.2013, 18:04
player vehicle color is not synced with other players, any help ?
16.06.2013, 00:00
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?
28.12.2013, 11:18
you can create a vehicle with double health?
29.12.2013, 06:44
Nice script here, I'll get around to using it if I decide to work on my project again.
You can try using properties.
And so on.
Nice bump. Use SetVehicleHealth, if that's what you meant .
Quote:
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.
|
pawn Код:
setproperty(vehicleid, "Color1", color1);
setproperty(vehicleid, "Color2", color2);
Nice bump. Use SetVehicleHealth, if that's what you meant .
29.12.2013, 06:53
Nice code
29.12.2013, 09:22
Quote:
Nice bump. Use SetVehicleHealth, if that's what you meant .
|
Код:
SetVehicleHealth(vehicleid, 2000); // Set to double health
29.12.2013, 09:27
That's just an example. Double health is simply the original, default vehicle health in SA-MP, multiplied by 2 (hence the word double)...
29.12.2013, 09:40
Amazing, I'll use it.
05.07.2016, 03:42
22.07.2016, 08:17
I have other includes that do some stuff with createvehicle it's hooked it not mess up everything?
« Next Oldest | Next Newest »
Users browsing this thread: 2 Guest(s)