1- Get the id's of every zombie by using the plugin i have provided above
2- While in-game when your checking id's check which name of zombie represents the id for eg you got this in game:
Your id is 4
Now check which zombie class you have chosen for eg you have chosen Rage Zombie so it means that Rage Zombie's id is 4
3- In the chat plugin do it like this:
PHP Code:
else if (zp_get_user_zombie_class(id) == 4)
{
ColorChat(0, RED, "[Rage Zombie] ^x04%s^x01: %s", name,chat);
}
else
ColorChat(0, RED, "[ZOMBIE] ^x04%s^x01: %s", name, chat);
Hope you understand my time-consuming idea.
__________________