Raised This Month: $ Target: $400
 0% 

Problem with ScoreAttrib


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Speed!
BANNED
Join Date: Jan 2009
Old 01-11-2009 , 18:30   Re: Problem with ScoreAttrib
Reply With Quote #4

the message is registered
i will show you how it works (it doesent at all LOL)
i am using it with zombie plague. when a nemesis/survivor is made, it calls the function zombieme/humanme. I did added to that function a task with 1sec delay calling this:

PHP Code:
public fnCheckVIP()
{
    static 
id
    
for (id 1id <= g_maxplayersid++)
    {
        
// Last zombie
        
if ((g_zombie[id] && is_user_alive(id)) || (g_zombie[id] && is_user_alive(id)))
            
make_vip(id)

    }

PHP Code:
make_vip(id)
{
    
message_begin(MSG_BROADCASTg_msgScoreAttrib)
    
write_byte(id// id
    
write_byte(4// attrib
    
message_end()

I dont really know what is happening. Also i did searched for this message being called in this plugin, and it isnt at all. Allthough now im thinking if one plugin that i am using (one wich prevents from appearing as dead an playing those players who are downloading models or any stuff) may be interfering.
Speed! 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 01:48.


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