SA-MP Forums Archive
How its made? :D - 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: How its made? :D (/showthread.php?tid=582567)



How its made? :D - SokratesxD - 21.07.2015



This object i can,but how its the Light?,How its made the Blue and Red in the Object its crazy


Re: How its made? :D - SoFahim - 21.07.2015

Same as the lighing code as the GTASA do


Re: How its made? :D - SokratesxD - 21.07.2015

How its the code ?


Re: How its made? :D - Mariciuc223 - 21.07.2015

Код:
CreateVehicle(modelid, Float:x, Float:y, Float:z, Float:angle, color1, color2, respawn_delay, addsiren=0)

modelid	The model for the vehicle.
Float:X	The X coordinate for the vehicle.
Float:Y	The Y coordinate for the vehicle.
Float:Z	The Z coordinate for the vehicle.
Float:angle	The facing angle for the vehicle.
color1	The primary color ID.
color2	The secondary color ID.
respawn_delay	The delay until the car is respawned without a driver in seconds. Using -1 will prevent the vehicle from respawning.
addsiren	Added in 0.3.7; will not work in earlier versions. Has a default value 0. Enables the vehicle to have a siren, providing the vehicle has a horn.
Set your last parameter to 1 and the car will have siren (WORK only in 0.3.7 , earlier versions won't work)


Re: How its made? :D - SokratesxD - 21.07.2015

Ey bro THX but i was ho Siren cars in 3 0 7 i want this Light BLUE and RED in the car its Object the object light left and right blue and red but in the object its i dont now 2 object with Lights i mean is Police Flash normal not strobe but how i dont now .D


Re: How its made? :D - Mariciuc223 - 22.07.2015

https://sampforum.blast.hk/showthread.php?tid=215963

Oject id it's 19419 (Siren)