Message ID return 0
The main question is "How can we get a message's ID in plugin_precache?"
After the first initialization Code:
get_user_msgid("WeaponList")This message should be caught in plugin_precache because it will be send before the plugin_init. So if you want to log the arguments of this one you should do it in the here. It's all right but whenever I start or restart the server this message ID will be returned as 0, after the first changelevel everything is fine, I got the expected message ID (78). After I coding for myself I will store this ID staticly in my pugins but if someone has any useful idea we can check this out. |
Re: Message ID return 0
https://forums.alliedmods.net/showthread.php?p=2607132
https://www.amxmodx.org/api/amxmodx/get_user_msgid Quote:
|
Re: Message ID return 0
Quote:
I feel so stupid because of I ignored this point in the documentation. |
| All times are GMT -4. The time now is 14:12. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.