DRAW LIGHT WITH RANGE

From GTAMods Wiki
Revision as of 18:52, 6 February 2010 by Nixolas1 (talk | contribs) (New page: {{Native |np=8 |p1t=Float |p1d=X coords |p2t=Float |p2d=Y coords |p3t=Float |p3d=Z coords |p4t=int |p4d=red |p5t=int |p5d=green |p6t=int |p6d=blue |p7t=float |p7d=intensity |p8t=float |p...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
DRAW_LIGHT_WITH_RANGE
Number of parameters: 8
Parameter #TypeDescription
1.FloatX coords
2.FloatY coords
3.FloatZ coords
4.intred
5.intgreen
6.intblue
7.floatintensity
8.floatrange
Return value:
TypeDescription
None

intensity 0-10 range 0-100 rgb 0-255

static void DrawLightWithRange(f32 x, f32 y, f32 z, int red, int green, int blue, f32 intensity, f32 range) { NativeInvoke::Invoke<NATIVE_DRAW_LIGHT_WITH_RANGE, ScriptVoid>(x, y, z, red, green, blue, intensity, range); }