Continue Log
#1

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
Reply
#2

Use [ pawn ] and [ /pawn ] in the beginning/end of a pawn code/fuction without the spaces

EDIT: Show the
pawn Код:
public OnGamemodeInit()
please
Reply
#3

Excuse me, but shows me a error. Everyone can give me an answer to the problem described in the first post?
Reply
#4

It's not in the code you gave. Who ever wrote the script used printf() for debugging.

Ctrl+F in your script, and paste this below.
pawn Код:
printf("tmp =
Also use [pawn]Paste your code here![/pawn].
Reply
#5

No no, I solved: I put the piece of code in another filterscript that's not shows the problem !
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)