22.04.2010, 07:52
tyvm for replying to me, but there is another problem, its with my autologin it dosent seem to be working, even tho i have the IP saved in the file, it just isnt working tho, here is what i have
also i tried
it didnt help, the
seemed to give me errors, what am i doing wrong here?
pawn Код:
format(IP,sizeof(IP), "%s", dUser(PlayerName(playerid)).("ip"));
new pIp[16];
GetPlayerIp(playerid, pIp, sizeof(pIp));
if(strcmp(IP,pIp,true))
{
PLAYERLIST_authed[playerid]=true;
SendClientMessage(playerid, COLOR_YELLOW, "You Have Been Automaticly Logged In");
}
pawn Код:
if(strcmp(IP,pIp,false))
pawn Код:
if(IP == pIp)