About an error : "Plugin called message_begin with an invalid message id (0)".
When I run a plugin(it can be compiled, and can be loaded), it shows this error:
"Plugin called message_begin with an invalid message id (0)." What does it mean ? the line of message_begin is correct, so I don`t think the error comes from the line of message_begin .It seems like when the plugin run the message_begin , it lost the "id" I have searched this thread http://forums.alliedmods.net/showthread.php?t=91134&highlight=error but, I still have no idea. EDIT : more infomation is in the #5 Thanks for help. EDIT: when I write it again(as the same as before), it was sloved. It is so weird |
Re: Plugin called message_begin with an invalid message id (0).
Hi, that means you must specify the client who get this messages. (Allowed Numbers 1 - 32)
You could add check is_user_connected(id). If you want to send a message to all clients use message_begin(MSG_BROADCAST, msgid). Greetz Leon |
Re: Plugin called message_begin with an invalid message id (0).
Quote:
I have specifed the client who get this messages. For example: Code:
new g_msgScreenFade |
Re: Plugin called message_begin with an invalid message id (0).
Hm, I think that the flash_screen function is correct. Comment out the function and check again.
|
Re: Plugin called message_begin with an invalid message id (0).
2 Attachment(s)
When I used the 1.sma, everything is OK.
But when I use the 2.sma, it shows the error like this : Code:
05/06/2010 - 20:53:56: Plugin called message_begin with an invalid message id (0).Code:
stock Create_ScreenShake(id, amount, duration, frequency)Code:
public vexd_pfntouch(pToucher, pTouched)Thanks for any help :crab: |
Re: Plugin called message_begin with an invalid message id (0).
What do you really want...?
|
Re: Plugin called message_begin with an invalid message id (0).
Quote:
The 2.sma is on basis of 1.sma, I want to give the player another power by press +qigong & -qigong with 2.sma |
| All times are GMT -4. The time now is 03:53. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.