SA-MP Forums Archive
Continue Log - 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: Continue Log (/showthread.php?tid=361252)



Continue Log - BlackAtom - 20.07.2012

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


Re: Continue Log - L.Hudson - 20.07.2012

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

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


Re: Continue Log - BlackAtom - 20.07.2012

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


Re: Continue Log - ReneG - 20.07.2012

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].


Continue Log - BlackAtom - 20.07.2012

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