JGames Family 5 Posted April 29, 2020 I want to add a light with the following script: _LP = "#lightpoint" createVehicle [6189.77,6916.42,5.74881]; _LP setLightColor [247,241,241]; _LP setLightBrightness 0.3; _LP setLightAmbient [247,247,247]; _LP lightAttachObject [L1, [0, 0, 0]]; But when I server executes nothing will happen. I know the correct way would be a remote exec or so but as long as I know there isn't remote exec for create vehicle.. any help? Thx Share this post Link to post Share on other sites
JGames Family 5 Posted April 29, 2020 Found and fixed it thx ^^ Share this post Link to post Share on other sites
Harzach 2518 Posted April 29, 2020 We share our solutions here. It's the entire point of the forum. 1 Share this post Link to post Share on other sites
JGames Family 5 Posted April 29, 2020 My fault @Harzach _light = "#lightpoint" createVehicle [6189.77,6916.42,5.74881]; [_light,0.3] remoteExec ["setLightBrightness",0,_light]; [_light,[247,241,241]] remoteExec ["setLightColor",0,_light]; [_light,[247,247,247]] remoteExec ["setLightAmbient",0,_light]; [_light,[0, 0, 0]] remoteExec ["lightAttachObject",0,_light]; 2 Share this post Link to post Share on other sites
Harzach 2518 Posted April 29, 2020 Also, check out @davidoss's nifty code here: 1 Share this post Link to post Share on other sites
JGames Family 5 Posted April 30, 2020 EDIT: Did another post for this, check it out plz Share this post Link to post Share on other sites