Thread: [Bug Report] Zclass Necro bug fix
View Single Post
Celena Luna
Veteran Member
Join Date: Aug 2013
Location: Nagazora
Old 07-03-2018 , 22:02   Re: Zclass Necro bug fix
Reply With Quote #4

PHP Code:
public zp_user_infected_post(idinfector)  
{
    if (
zp_get_user_zombie_class(infector) == g_zclass_necro)  
    {  
        if (
g_nowshowed[infector] == 0)  
        {  
            
g_necro_respawn[infector] = 0  
            
new text[100]  
            
format(text,99,"^x04[ZP]^x01 Now you can use your ability.")  
            
message_begin(MSG_ONE,get_user_msgid("SayText"),{0,0,0},infector)   
            
write_byte(infector)   
            
write_string(text)   
            
message_end()  
            
g_nowshowed[infector] = 1  
        
}  
    }  

__________________
My plugin:
Celena Luna is offline