Raised This Month: $51 Target: $400
 12% 

Showing results 1 to 3 of 3
Search took 0.00 seconds.
Search: Posts Made By: OciXCrom
Forum: Scripting Help 01-28-2020, 14:15
Replies: 8
Views: 2,674
Posted By OciXCrom
Re: Problem from SQL to MOTD

The first result is player, not rank. Rank is the second one, plus it's a string, so do this:

new szRank[CRXRANKS_MAX_RANK_LENGTH]
SQL_ReadResult(Query, 2, szRank, charsmax(szRank))
Forum: Scripting Help 01-28-2020, 09:49
Replies: 8
Views: 2,674
Posted By OciXCrom
Re: Problem from SQL to MOTD

Yes, the ranks from the "RankSystem.ini" file are saved in SQL, in the "Rank" field, so you don't have to manually add them in your .sma file.

The columns saved in SQL are the following:...
Forum: Scripting Help 01-28-2020, 09:16
Replies: 8
Views: 2,674
Posted By OciXCrom
Re: Problem from SQL to MOTD

A MOTD window can't display more than 1536 characters.
Why are you using a function to translate the names? You can directly retrieve the rank name from the "Rank" column in SQL.
Showing results 1 to 3 of 3

 
Forum Jump

All times are GMT -4. The time now is 18:46.


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