Raised This Month: $ Target: $400
 0% 

improve this plugin


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
kmman
Senior Member
Join Date: Sep 2012
Old 09-10-2013 , 08:10   improve this plugin
Reply With Quote #1

hi all

can you make this plugin to:
show message to both player and Admin
(now it only show's msg to Player )

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

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

Some thing like :
PHP Code:
console_print(adminprint_chat"*** [%s] Player %s Has been Ungaged "PLUGIN,player
ty

Last edited by kmman; 09-10-2013 at 08:14.
kmman is offline
 


Thread Tools
Display Modes

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