Raised This Month: $ Target: $400
 0% 

Solved Native: get_user_rank


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 06-29-2020 , 16:50   Re: Native: get_user_rank
Reply With Quote #9

You're still using style 1

register_native("get_user_rank", "_get_user_rank", 1)

And maxlen is set to 2, use charsmax( g_mPlayerData[][ m_szRankName ] )

set_string( id, g_mPlayerData[ g_iPlayerLevel[ id ] ][ m_szRankName ], 2)
__________________

Last edited by Bugsy; 06-29-2020 at 16:51.
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 17:11.


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