Trubbel with echo - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Trubbel with echo (
/showthread.php?tid=69863)
Trubbel with echo -
ry5a - 21.03.2009
public OnPlayerDisconnect(playerid, reason)
{
new string[256], pname[MAX_PLAYER_NAME];
GetPlayerName(playerid, pname, sizeof(pname));
format(string, sizeof(string), "%s has left the server", pname);
ircSay(EchoConnection, EchoChan, string);
}
That should say
[Ka]Ry5a has left the server.
But it doesnt.
No compile errors atall.
Please help!
xD
Re: Trubbel with echo -
ICECOLDKILLAK8 - 21.03.2009
1) Use Pawn tags
2) Look in some other IRC FS's, I think it needs to be formatted in some fucked up way
Re: Trubbel with echo -
ry5a - 21.03.2009
Pawn tags?
and i used a previous FS and the same error happened.
Re: Trubbel with echo -
ry5a - 21.03.2009
Solved: i moved the amx to the front, in server.cfg (for future reference)
Re: Trubbel with echo -
MenaceX^ - 21.03.2009
Quote:
Originally Posted by ry5a
Pawn tags?
and i used a previous FS and the same error happened.
|
Pawn tags means
[/pawn]
Re: Trubbel with echo -
TheAngel105 - 21.03.2009
You mean
Re: Trubbel with echo -
Vince - 21.03.2009
Quote:
Originally Posted by ry5a
public OnPlayerDisconnect(playerid, reason)
{
new string[256], pname[MAX_PLAYER_NAME];
GetPlayerName(playerid, pname, sizeof(pname));
format(string, sizeof(string), "%s has left the server", pname);
ircSay(EchoConnection, EchoChan, string);
}
That should say
[Ka]Ry5a has left the server.
But it doesnt.
No compile errors atall.
Please help!
xD
|
Yes, that happens to me too, most of the time. Although it seems the problem only appears when I have the debug filterscript activated.