20.07.2012, 14:26
Hi! I have a problem with my server. It runs normally, but on the server console, it shows some logs.
Here is the piece of code that causes it:
forward funzioni(playerid);
public OnFilterScriptInit()
{
SetTimer("funzioni",250,true);
return 1;
}
public funzioni(playerid)
{
if(IsPlayerLuxAdminLevel(playerid,1))
{
GivePlayerMoney(playerid,0);
}
else
{
if(IsPlayerInRangeOfPoint(playerid, 384, 3318.5537 ,-687.2396, 7.5000))
{
GameTextForPlayer(playerid,"Vai via da questa zona, e' strettamente proibita!",1000,5);
if(IsPlayerInRangeOfPoint(playerid, 256, 3318.5537 ,-687.2396, 7.5000))
{
SetPlayerHealth(playerid,0);
}
return 1;
}
}
return 0;
}
There is something wrong??
Here is a screenshot: http://i48.tinypic.com/2606glx.jpg
P.S.: I use LuxAdmin
Here is the piece of code that causes it:
forward funzioni(playerid);
public OnFilterScriptInit()
{
SetTimer("funzioni",250,true);
return 1;
}
public funzioni(playerid)
{
if(IsPlayerLuxAdminLevel(playerid,1))
{
GivePlayerMoney(playerid,0);
}
else
{
if(IsPlayerInRangeOfPoint(playerid, 384, 3318.5537 ,-687.2396, 7.5000))
{
GameTextForPlayer(playerid,"Vai via da questa zona, e' strettamente proibita!",1000,5);
if(IsPlayerInRangeOfPoint(playerid, 256, 3318.5537 ,-687.2396, 7.5000))
{
SetPlayerHealth(playerid,0);
}
return 1;
}
}
return 0;
}
There is something wrong??
Here is a screenshot: http://i48.tinypic.com/2606glx.jpg
P.S.: I use LuxAdmin