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 = 1; id <= g_maxplayers; id++)
{
// 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_BROADCAST, g_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.