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:39   Re: [HELP] Invalid Cvar Pointer
Reply With Quote #7

Quote:
Originally Posted by Exolent[jNr] View Post
First, you should be using this method to change player's name:
Code:
set_user_info(id, "name", name);

Second, you are using the pointer when formatting instead of the value you get from the pointer.
Code:
new tag[16]; get_pcvar_string(settag, tag, charsmax(tag)); new tagged_name[32]; foramtex(taggedName, charsmax(taggedName), "%s %s", tag, name); set_user_info(id, "name", taggedName);
So what is the new code ? I can't understand exactly without full code.



Thanks kremesa
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