Raised This Month: $ Target: $400
 0% 

MSG_ONE or MSG_ONE_UNRELIABLE with no target entity


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
EclipseCP
BANNED
Join Date: Dec 2010
Old 03-23-2011 , 18:38   MSG_ONE or MSG_ONE_UNRELIABLE with no target entity
Reply With Quote #1

error (title) in this code

MSG_ONE or MSG_ONE_UNRELIABLE with no target entity

PHP Code:
                for (new 132i++) {
                    if (
is_user_alive(i) == 1) {
                        
get_user_origin(iPlayerPos)
                        
Distance get_distance(PlayerPosorigin2)
                        if (
Distance <= Damage_Radius) {  // Screenshake Radius
                            
                            
message_begin(MSG_ONEget_user_msgid("ScreenShake"), {0,0,0}, i)  // Shake Screen
                            
write_short(1<<14)
                            
write_short(1<<14)
                            
write_short(1<<14)
                            
message_end()

                            
Damage Max_Damage floatround(floatmul(float(Max_Damage), floatdiv(float(Distance), float(Damage_Radius))))
                            
//if(!zp_get_user_zombie(id2) && !zp_get_user_nemesis(id2))
                            
do_victim(i,victim,Damage,0)
                        }
                        
                    } 
a solution?
EclipseCP 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 14:34.


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