PDA

View Full Version : Creating Light (will it work?)



Scillion
Aug 18 2009, 14:33
I'm using this to create a light on a tower
It works fine but I don't have ready access to our server right now

Will this work in coop mode on a server with multiple people playing?



_object1 = _this select 0

_light = "#lightpoint" createVehicle getpos _object1;

_light setLightBrightness .30;

_light setLightAmbient[1.0, 1.0, 1.0];

_light setLightColor[1.0, 1.0, 1.0];

_light lightAttachObject [_object1, [0,0,0]];

exit