IP Check - 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)
+--- Thread: IP Check (
/showthread.php?tid=419977)
IP Check -
Lumixa - 03.03.2013
hey, i want to make player ip checker
but i have 1 error (4453) : error 029: invalid expression, assumed zero [else]
whats wrong? :X
Код:
new saxeli[MAX_PLAYER_NAME];
GetPlayerName(playerid, saxeli, sizeof(saxeli));
{
if(!strcmp(saxeli, "Lumix_Corene", true))
{
new IpL[16];
GetPlayerIp(playerid, IpL, sizeof(IpL));
if(!strcmp(IpL, "188.129.193.74"))
SendClientMessage(playerid, 0xFFFFFFFF, "You Can Play With This Account");
return 1;
}
}
else
{
Kick(playerid);
}
Re: IP Check -
L.Hudson - 03.03.2013
Mind displaying the command completely?