11.01.2010, 18:15
I'm trying to make an auto login that checks someones IP with the last logged in IP.
these two lines:
could someone help me out? thanks in advance!
pawn Код:
if (udb_Exists(PlayerName(playerid))) {
new playerip[16], playeripff[16];
GetPlayerIp(playerid,playerip,16);
playeripff = dUserINT(PlayerName(playerid)).("IP");
if(playerip == playeripff) LoadFile(playerid);
}
Код:
C:\server\gamemodes\beta.pwn(2490) : error 033: array must be indexed (variable "playeripff") C:\server\gamemodes\beta.pwn(2491) : error 033: array must be indexed (variable "playerip")
Код:
C:\server\gamemodes\beta.pwn(2490) : error 033: array must be indexed (variable "playeripff") C:\server\gamemodes\beta.pwn(2491) : error 033: array must be indexed (variable "playerip")