Raised This Month: $ Target: $400
 0% 

need help with zp lvl code


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
shady101
Member
Join Date: Nov 2014
Location: USA
Old 12-27-2015 , 00:45   Re: need help with zp lvl code
Reply With Quote #5

Quote:
Originally Posted by siriusmd99 View Post
PHP Code:
public HookSay(id)
{
    static 
message[190]
    
read_args(messagecharsmax(message))
    
remove_quotes(message)
   
    if (
equal(message""))
    return 
PLUGIN_HANDLED;
   
    if (
get_user_flags(id) & ADMIN_IMMUNITY){
         if(
is_user_alive(id))
           
zp_colored_print(0"^x04[-Level %d] [-Reset %d] [-SReset %d]^x01 %s^x04: %s",    g_level[id], g_reset[id], g_grandreset[id], g_playername[id], message)
         else
        
zp_colored_print(0"^x04[Dead]^x01 %s^x04 : %s"g_playername[id], message)
    }else{
         if (
is_user_alive(id))
        
zp_colored_print(0"^x04[-Level %d] [-Reset %d] [-SReset %d]^x03 %s^x01 : %s"g_level[id], g_reset[id], g_grandreset[id], g_playername[id], message)
    else
        
zp_colored_print(0"^x04[Dead]^x03 %s^x01 : %s"g_playername[id], message)
    }
    return 
PLUGIN_HANDLED;

thank u so much sir
shady101 is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:13.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode