Raised This Month: $ Target: $400
 0% 

[HELP] Invalid Cvar Pointer


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
akcaliberg
Senior Member
Join Date: Nov 2011
Location: Istanbul
Old 05-07-2012 , 12:17   Re: [HELP] Invalid Cvar Pointer
Reply With Quote #5

PHP Code:
/* Plugin generated by AMXX-Studio */ 

#include <amxmodx> 
#include <amxmisc> 
#include <cstrike> 

#define PLUGIN "New Plug-In" 
#define VERSION "1.0" 
#define AUTHOR "author" 

new settag
public 
plugin_init() { 
    
register_plugin(PLUGINVERSIONAUTHOR
     
    
register_concmd("amx_tag","tag"
    
settag register_cvar("amx_settag","Amx #"
     

public 
tag(id) { 
    if(
get_user_flags(id) & ADMIN_KICK) { 
        new 
arg[32], name[32]; 
        
read_argv(1,arg,31); 
        new 
player cmd_target(id,arg,3); 
        
get_user_name(player,name,31); 
        new 
tag_2[16]; 
        
get_pcvar_string(settagtag_215
        
client_cmd(player,"name ^"%%s^"",settag,name
    } 
    else { 
        
console_print(id,"You Can't Use This Command !"
    } 


Last edited by akcaliberg; 05-07-2012 at 12:22.
akcaliberg 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 00:19.


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