Raised This Month: $ Target: $400
 0% 

[HELP] get_user_name probleme


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 12-28-2015 , 21:19   Re: [HELP] get_user_name probleme
Reply With Quote #2

get_user_name( id , string , max characters )

You are specifying the user id twice: id, iTarget.

In
get_user_name(id, iTarget, charsmax(iTarget));
Replace iTarget with szName[ 1 ]

Same here: log_to_file(g_szLogFile, "Admin '%s' banned '%s' From Guards Team ", szName[0], iTarget);
iTarget should be szName[ 1 ]
__________________

Last edited by Bugsy; 12-28-2015 at 21:19.
Bugsy 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 09:32.


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