Quote:
Originally Posted by KnooL
pawn Код:
if (udb_Exists(PlayerName(playerid))) { new playerip[16], playeripff[16]; GetPlayerIp(playerid,playerip,16); format(playeripff,16,"%s",dUserINT(PlayerName(playerid)).("IP")); if(!strcmp(playerip,playeripff)) LoadFile(playerid); }
|
Use strcmp to compare two STRINGS.. == is for integers, and you cannot just assign value to string by doing playeripff = something; you MUST format it.. :P