Raised This Month: $ Target: $400
 0% 

Solved players name store


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
mrspeak
Junior Member
Join Date: Apr 2020
Old 11-05-2020 , 17:04   players name store
Reply With Quote #1

How can i store player name into a string on client_connect() ?

i tried like that:
Code:
	
static szName[ 32 ]; 
.
.
.
client_connect(id) {
    get_user_info( id, g_szCache_Name, szName, charsmax( szName ) );
}
but whenever/wherever i use the string szName it's... blank

Last edited by mrspeak; 11-07-2020 at 08:42.
mrspeak 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 14:10.


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