Raised This Month: $ Target: $400
 0% 

Light Problem


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
DarthMan
Veteran Member
Join Date: Aug 2011
Old 02-24-2017 , 02:30   Light Problem
Reply With Quote #1

Hello. I have a poblem on my mapm I can't spawn the light.
Someone told me that u can't sawn lights, but I am not sure.
Any help would be appreciated !
Thanks !

Code:
    new ent_light_1 = create_entity("light");
    DispatchSpawn(ent_light_1);
    DispatchKeyValue(ent_light_1, "style", "0");
    DispatchKeyValue(ent_light_1, "_light", "241.0,241.0,241.0,150.0");
    entity_set_origin(ent_light_1,Float:{-433.0,952.0,-165.0});
    entity_set_string(ent_light_1,EV_SZ_classname,"light");
    entity_set_string(ent_light_1,EV_SZ_targetname,"light_render");
    entity_set_string(ent_light_1,EV_INT_flags, "0");{241.0,241.0,241.0});
DarthMan is offline
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:46.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode