 |
|
Senior Member
Join Date: Nov 2011
Location: Istanbul
|

05-07-2012
, 12:39
Re: [HELP] Invalid Cvar Pointer
|
#7
|
Quote:
Originally Posted by Exolent[jNr]
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
|
|
|
|