Raised This Month: $ Target: $400
 0% 

[SOLVED] Get cvar name


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
extream87
Senior Member
Join Date: Aug 2011
Old 03-03-2014 , 07:22   [SOLVED] Get cvar name
Reply With Quote #1

What is wrong obtaining the name "Owner"
Code:
/* Plugin generated by AMXX-Studio */ #include <amxmodx> #include <amxmisc> #define PLUGIN "New Plug-In" #define VERSION "1.0" #define AUTHOR "author" new admintag new MyVar[ 15 ]; public plugin_init() {     register_plugin(PLUGIN, VERSION, AUTHOR)         admintag = register_cvar("admin_tag", "Owner"); } public save_points(id) { ColorChat(player, GREEN, "^1O ^4[%s] ^1deu-te skillpoints.", get_pcvar_string(admintag, MyVar, charsmax(MyVar))); }

Last edited by extream87; 03-03-2014 at 10:20.
extream87 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 06:00.


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