Raised This Month: $ Target: $400
 0% 

improve this plugin


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
kiki33hun
Veteran Member
Join Date: Jul 2011
Location: Magyarország
Old 09-10-2013 , 09:38   Re: improve this plugin
Reply With Quote #4

PHP Code:
public cmdUngag(idlevelcid)
{
    if(!
cmd_access(idlevelcid2))
        return 
1;

    new 
bool:user_gagged[33];
    new 
target[32], admin[32], player[32];
    
read_argv(1target31);    
    new 
iTarget cmd_target(idtarget8);
    
    if (!
iTarget)
        return 
PLUGIN_HANDLED;
    
    
get_user_name(id,admin,31)
    
get_user_name(iTargetplayer32)
    
user_gagged[iTarget] = false
    client_print
(iTargetprint_chat"*** [%s] Admin %s Ungaged you"PLUGIN,admin)
    
client_print(idprint_chat"*** [%s] You Ungaged %s"PLUGIN,player//This message  show the admin
    
return 1

__________________
kiki33hun 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:45.


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