Usage of arrays [+REP]
#1

EDITED
Reply
#2

The unique SQL ID is supposed to be an integer, right? If yes, then use:
pawn Код:
checkinglog[playerid] = cache_get_field_content_int(row, "ID");
Reply
#3

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
The unique SQL ID is supposed to be an integer, right? If yes, then use:
pawn Код:
checkinglog[playerid] = cache_get_field_content_int(row, "ID");
Hum yeah. I mean, if Admin number 1 opens up the menu, and another admin opens up the menu aswell, though with a different paramters, it bugs the 1st admin's parameters because I did not implement an array system that makes each parameter unique per player id. I'll try ur suggestion right now and let you know if it worked, thanks!
Reply
#4

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
The unique SQL ID is supposed to be an integer, right? If yes, then use:
pawn Код:
checkinglog[playerid] = cache_get_field_content_int(row, "ID");
Thank you very much m8!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)