Posts: 32
Threads: 12
Joined: Oct 2010
Reputation:
0
Hello!!!! In my gamemode I always used dini for my login system. But in a lot of Threads i read that dini is older and slower. I want to try another system, similar to dini. What do you recommend me ??
Posts: 32
Threads: 12
Joined: Oct 2010
Reputation:
0
Can you help me?? I want to convert this dini code to SII
if(!dini_Exists(file))
{
dini_Create(file);
dini_Set(file,"Name",Name);
dini_Set(file,"Ip",Ip);
dini_IntSet(file,"Registered",0);
dini_IntSet(file,"Password",0);
dini_IntSet(file,"Level",0);
dini_IntSet(file,"Wired",0);
dini_IntSet(file,"Jailed",0);
dini_IntSet(file,"Money",0);
dini_IntSet(file,"Score",0);
dini_IntSet(file,"Gov",0);
SendClientMessage(playerid, blue,"{0080FF}Il tuo NickName non и presente nel nostro server. Registrati digitando {FF0000} /register {0080FF}per continuare.");
}
strcat(AgPlayerInfo[playerid][PLAYER_NAME2], dini_Get(file,"Name"));
strcat(AgPlayerInfo[playerid][PLAYER_IP2], dini_Get(file,"Ip"));
AgPlayerInfo[playerid][PLAYER_REGGED2]= dini_Int(file,"Registered");
AgPlayerInfo[playerid][PLAYER_PASS2] = dini_Int(file,"Password");
AgPlayerInfo[playerid][PLAYER_LEVEL2] = dini_Int(file,"Level");
AgPlayerInfo[playerid][PLAYER_WIRED2] = dini_Int(file,"Wired");
AgPlayerInfo[playerid][PLAYER_JAILED2] = dini_Int(file,"Jailed");
AgPlayerInfo[playerid][PLAYER_MONEY2] = dini_Int(file,"Money");
AgPlayerInfo[playerid][PLAYER_SCORE2] = dini_Int(file,"Score");
AgPlayerInfo[playerid][PLAYER_GOV2] = dini_Int(file,"Gov");
Posts: 32
Threads: 12
Joined: Oct 2010
Reputation:
0
Thank you Grim!!!! I want to do only a little question: How can i put pawno code in that box in a Thread?? Sorry for this newbie question and thanks for the support!!!!