Raised This Month: $32 Target: $400
 8% 

[Req] Tag me Plugin Modification


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Sanjay Singh
Veteran Member
Join Date: Sep 2016
Old 02-16-2017 , 13:12   [Req] Tag me Plugin Modification
Reply With Quote #1

Add /untag feature , add cvar for taking tag, add menu disable cvar and direct tag by /tagme
PHP Code:
#include < amxmisc > 
#include < cstrike > 

#define PLUGIN "Ask4Tag"
#define VERSION "3.1"
#define AUTHOR "Jhob94"

#define PREFIX "-=[AB]=-.::" 
#define SUFIX "::." 

public plugin_init() 

    
register_plugin("PLUGIN""VERSION","AUTHOR"
    
    
register_clcmd"say /tagme""tagmenu" )
    
register_clcmd"say_team /tagme""tagmenu" )
}

public 
client_putinserver(id)
    
PUB(id)
        
public 
PUB(id)
{
    
client_print(idprint_chat"[AMXX] Say /tagme to use our TAG. HAVE FUN!"
    
set_task(120.0"PUB"id)
}

public 
client_disconnect(id)
    
remove_task(id)
    
public 
tagmenu(id,level,cid

    if(!
cmd_access(id,level,cid,1)) 
        return 
PLUGIN_HANDLED 
     
    
new Menu menu_create("\yDo you want use our TAG?^n\r""showmenu"
    
    
menu_additem(Menu"\wYes""1"0
    
menu_additem(Menu"\wNo""2"0
    
menu_display(idMenu
    return 
PLUGIN_HANDLED 

public 
showmenu(idMenuitem

    if(
item == MENU_EXIT
        return 
PLUGIN_HANDLED 
    
new iData[6];   
    new 
iAccess;  
    new 
iCallback;  
    new 
iName[64];  
    
menu_item_getinfo(Menu item iAccess iData iName63 iCallback 
     
    switch (
str_to_num(iData))  
    {  
        case 
: {              
            
name(id
        } 
        case 
: { 
            
menu_destroy(Menu
        } 
    } 
    return 
0


public 
name(id

    new 
pname[100
    new 
newname[70
     
    
get_user_info(id"name"pname49
     
    
format(newname69"%s %s %s"PREFIXpnameSUFIX)     
    
set_user_info(id"name"newname
    return 
PLUGIN_CONTINUE 

__________________
Sanjay Singh is offline
Send a message via AIM to Sanjay Singh
Natsheh
Veteran Member
Join Date: Sep 2012
Old 02-17-2017 , 13:15   Re: [Req] Tag me Plugin Modification
Reply With Quote #2

User tag prefix
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !

Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
Sanjay Singh
Veteran Member
Join Date: Sep 2016
Old 02-19-2017 , 14:58   Re: [Req] Tag me Plugin Modification
Reply With Quote #3

@natesh that's different , can any one else can help me to add /untag feature?
__________________
Sanjay Singh is offline
Send a message via AIM to Sanjay Singh
Reply



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:15.


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