02.09.2018, 11:09
I use EasySqlite and I'm have problem using one of these functions.
How to use GetIntEntry or GetIntEntryEx??
Can someone help me?
How to use GetIntEntry or GetIntEntryEx??
Can someone help me?
Code:
public OnPlayerConnect(playerid) { AdminRank[playerid] = 0; new handle = SL::OpenEx(SL::READ, "PlayerRanks", "p_name", pName(playerid)); AdminRank[playerid] = SL::GetIntEntryEx(handle, "p_rank", AdminRank[playerid]); SL::Close(handle); if(AdminRank[playerid] == 1) return SendClientMessage(playerid,EvYel,"*Welcome Admin!"); return 1; }