This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

Help with native


Post New Thread Reply   
 
Thread Tools Display Modes
Shadows Adi
AlliedModders Donor
Join Date: Aug 2019
Location: Romania
Old 04-19-2022 , 16:13   Re: Help with native
Reply With Quote #11

Quote:
Originally Posted by PawnBegg View Post
This is not working got errors
Code:
L 04/19/2022 - 21:23:38: [CS:GO Remake] Player is not connected (6)
L 04/19/2022 - 21:23:38: [AMXX] Displaying debug trace (plugin "csgo_clans.amxx", version "2.5")
L 04/19/2022 - 21:23:38: [AMXX] Run time error 10: native error (native "csgor_get_user_rank")
L 04/19/2022 - 21:23:38: [AMXX]    [0] csgo_clans.sma::applications_menu_handle (line 1140)
Code:
	rank = SQL_ReadResult(query, SQL_FieldNameToNum(query, "Rank"));

		csgor_get_user_rank(rank, szRank, charsmax(szRank));

		formatex(itemName, charsmax(itemName), "%L", id, "CSGO_CLANS_APPLICATION_ITEM", userName, aplpoints, szRank);
Try the new native: https://github.com/ShadowsAdi/CSGORe....inc#L365-L374

PHP Code:
rank SQL_ReadResult(querySQL_FieldNameToNum(query"Rank"));

        
csgor_get_rank_name(rankszRank)

        
formatex(itemNamecharsmax(itemName), "%L"id"CSGO_CLANS_APPLICATION_ITEM"userNameaplpointsszRank); 
__________________


Accepting Paid Requests, contact PM.

MVP Of The Round View project on GITHUB / AlliedModders
CSGO REMAKE ~ CSGO MOD [STABLE + SOURCE CODE]
Shadows Adi is offline
PawnBegg
Junior Member
Join Date: Apr 2022
Old 04-19-2022 , 16:31   Re: Help with native
Reply With Quote #12

Quote:
Originally Posted by Shadows Adi View Post
Try the new native: https://github.com/ShadowsAdi/CSGORe....inc#L365-L374

PHP Code:
rank SQL_ReadResult(querySQL_FieldNameToNum(query"Rank"));

        
csgor_get_rank_name(rankszRank)

        
formatex(itemNamecharsmax(itemName), "%L"id"CSGO_CLANS_APPLICATION_ITEM"userNameaplpointsszRank); 
Work perfectly! Thanks you!!! Problem solved
PawnBegg is offline
Reply



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 12:25.


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