Raised This Month: $ Target: $400
 0% 

Help|svc_bad


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Dr7sTyLe
Senior Member
Join Date: Dec 2010
Old 09-24-2011 , 07:04   Help|svc_bad
Reply With Quote #1

hey i have a code that suppose to create a beam effect here is it:
PHP Code:
#include <amxmodx>
#include <fakemeta_util>

#define TE_BEAMPOINTS 22

new gSprite

public plugin_init()
{
    
register_clcmd("say /beam","beam_effect")
}

public 
plugin_precache()
{
    
gSprite precache_generic("sprites/laserbeam.spr")
}

public 
beam_effect(id)
{
    new 
origin[3],aimorigin[3]
    
get_user_origin(id,origin)
    
fm_get_aim_origin(id,Float:aimorigin)
    
message_begin(MSG_ALLSVC_TEMPENTITY)
    
write_byte(TE_BEAMPOINTS)
    
write_coord(origin[0])
    
write_coord(origin[1])
    
write_coord(origin[2])
    
write_coord(aimorigin[0])
    
write_coord(aimorigin[1])
    
write_coord(aimorigin[2])
    
write_short(gSprite)    
    
write_byte(0)    
    
write_byte(0)    
    
write_byte(10)    
    
write_byte(15)    
    
write_byte(0)    
    
write_byte(0)
    
write_byte(0)
    
write_byte(255)
    
write_byte(255)
    
write_byte(0)
    
message_end()


Code:
891075 0028 svc_deltapacketentities
891079 0008 Geiger
891079 0010 svc_time
891079 0015 svc_clientdata
891079 0032 svc_deltapacketentities
891083 0008 svc_time
891083 0013 svc_clientdata
891083 0023 svc_deltapacketentities
891087 0008 svc_time
891087 0013 svc_clientdata
891087 0023 svc_deltapacketentities
891091 0008 svc_time
891091 0013 svc_clientdata
891091 0023 svc_deltapacketentities
891095 0008 svc_time
891095 0013 svc_clientdata
891095 0023 svc_deltapacketentities
891099 0008 svc_time
891099 0013 svc_clientdata
891099 0023 svc_deltapacketentities
891103 0008 svc_time
891103 0013 svc_clientdata
891103 0023 svc_deltapacketentities
891107 0008 svc_time
891107 0013 svc_clientdata
891107 0023 svc_deltapacketentities
891111 0008 svc_time
891111 0013 svc_clientdata
891111 0023 svc_deltapacketentities
891115 0008 SayText
891115 0037 svc_temp_entity
BAD:   49:svc_bad
Host_Error: CL_ParseServerMessage: Ill
what do i need to do ?
Dr7sTyLe is offline
 



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 19:43.


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