AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   MSG_ONE or MSG_ONE_UNRELIABLE (https://forums.alliedmods.net/showthread.php?t=185113)

Napoleon_be 05-12-2012 20:51

MSG_ONE or MSG_ONE_UNRELIABLE
 
I'm Getting this error after a while having dedicated server open. How to fix thsi?

hornet 05-12-2012 23:16

Re: MSG_ONE or MSG_ONE_UNRELIABLE
 
What error?

NiHiLaNTh 05-13-2012 03:21

Re: MSG_ONE or MSG_ONE_UNRELIABLE
 
I guess this one:

Spoiler


If yes, than you should re-check all your plugins which contain MESSAGE_BEGIN( MSG_ONE/MSG_ONE_UNRELIABLE and make sure that there player index passed).

Napoleon_be 05-13-2012 08:05

Re: MSG_ONE or MSG_ONE_UNRELIABLE
 
PHP Code:

for(new 1<= MaxPlayersi++) {
        if(!
is_user_connected(i)) {
            continue
        }
        if(
SzAlive && is_user_alive(i) || !SzAlive && !is_user_alive(i)) {
            
message_begin(MSG_ONESayText, {000}, i)
            
write_byte(id)
            
write_string(arg)
            
message_end()
        }
    } 

I've got this, but i don't see anything wrong.


All times are GMT -4. The time now is 00:27.

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