Raised This Month: $ Target: $400
 0% 

Help with native


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 04-11-2022 , 23:09   Re: Help with native
Reply With Quote #2

That looks correct. Is "SILVER I" a valid rank name? Did you try printing just szRank by itself with client_print() just as a sanity check to make sure it's not happening in the client_print_color() function? Did you check the value that is returned by csgor_get_user_rank() to see if the rank ID is correct?

Add this:
Code:
client_print(0, print_chat, "Rank Name: %s (%d)", szRank, returnValueHere)
But make sure to define a new variable to store the value returned from the rank function and replace returnValueHere with that variable.
__________________
fysiks 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