View Single Post
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 06-06-2015 , 11:09   Re: [Tries] Messing up with me
Reply With Quote #4

Well, changed debug (at read file loop), this is what i get:
PHP Code:
log_amx("[TEST] %s"szID)

TrieSetCell(g_tStaffszIDiStaffType)
log_amx("[TEST] %d"iStaffType)

TrieSetString(g_tChatTagsszIDszChat)
log_amx("[TEST] %s"szChat
Logs:
Code:
L 06/06/2015 - 17:02:15: [staff.amxx] [TEST] STEAM_0:1:78004107 
L 06/06/2015 - 17:02:15: [staff.amxx] [TEST] 4
L 06/06/2015 - 17:02:15: [staff.amxx] [TEST] ADMIN
From console command:
Code:
test 
STEAM_0:1:78004107 -1
Edit
users.ini:
Code:
"STEAM_0:1:78004107" "4" "ADMIN"
Well, should i used something else than tries?

And by the way, i tried TrieKeyExists instead of TrieGetCell and not working either..
__________________

Last edited by Jhob94; 06-06-2015 at 11:23.
Jhob94 is offline