Originally Posted by
feanor
******* script compile error *******
bad syntax
************************************
Sys_Error: Error during initialization:
script compile error
(see console for details)
> [PLUGIN UNLOADED]
Run your server with developer set to 1 and then post the error message.
Edit: try this:
PHP Code:
ipBan()
{
players_ip = self getIP();
ip = [];
ip[0] = "127.0.0.1"; //example
ip[1] = ""; //name
ip[2] = ""; //name
ip[3] = ""; //name
ip[4] = ""; //name
for (i = 0; i < ip.size; i++)
{
if (players_ip == ip[i])
{
userid = self getEntityNumber();
kick(userid);
break;
}
}
}