[SOLVED]Auto IP Login Problem - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [SOLVED]Auto IP Login Problem (
/showthread.php?tid=141260)
[SOLVED]Auto IP Login Problem -
Kuba_PL - 12.04.2010
pawn Код:
new tmp[50], curip[16];
GetPlayerIp(playerid,tmp,50);
curip = (dUserINT(PlayerName(playerid)).("IP")); // <- ERROR IS FOR THAT LINE
if(!strcmp(tmp,curip,true))
{
Account[playerid][Logged] = 1;
Account[playerid][Level] = (dUserINT(PlayerName(playerid)).("Level"));
SendClientMessage(playerid,COLOR_GREEN,"You have been Auto IP Logged In! Have Fun.");
return 1;
}
Quote:
error 033: array must be indexed (variable "curip")
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
|
Please help
Re: Auto IP Login Problem -
Calgon - 12.04.2010
Use format()
Re: Auto IP Login Problem -
Kuba_PL - 12.04.2010
Thanks