Raised This Month: $51 Target: $400
 12% 

[HELP] spawn a laser with damage


Post New Thread Reply   
 
Thread Tools Display Modes
Orangutanz
Veteran Member
Join Date: Apr 2006
Old 05-29-2008 , 13:32   Re: [HELP] spawn a laser with damage
Reply With Quote #11

I'll have a look later, but I'm pretty certain you have to set the size of env_beam in the keyvalue as well, not as an external command which is what your currently doing.

Something like this:
Code:
fm_set_kvd(ent, "size", "-16 -16 0, 16 16 32", "env_beam")
__________________
|<-- Retired from everything Small/Pawn related -->|
You know when you've been Rango'd

Last edited by Orangutanz; 05-29-2008 at 13:35.
Orangutanz is offline
steve139
Senior Member
Join Date: May 2007
Location: here
Old 05-29-2008 , 13:34   Re: [HELP] spawn a laser with damage
Reply With Quote #12

okey okey :/
thanks for helping

edit : fm_set_kvd(ent, "size", "-16 -16 0, 16 16 32", "env_beam") don t works :'(

Last edited by steve139; 05-29-2008 at 14:59. Reason: i don t see you edit :/
steve139 is offline
steve139
Senior Member
Join Date: May 2007
Location: here
Old 06-11-2008 , 09:24   Re: [HELP] spawn a laser with damage
Reply With Quote #13

*bump*

or maybe other way ? i mean do a laser with a msg
(
PHP Code:
message_begin(MSG_PVSSVC_TEMPENTITYorigin)

write_byte(1)
write_short(id)

write_coord(origin[0])
write_coord(origin[1])
write_coord(origin[2])

write_short(laserbeam)
write_byte(1)

write_byte(1)
write_byte(1)
write_byte(6)

write_byte(0)
write_byte(255)
write_byte(0)

write_byte(0)
write_byte(128)
write_byte(0)

message_end() 
)
and a targget_hurt the length of the laser
but i don t know how to
someone can help please
steve139 is offline
Reply



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 14:21.


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