Trubbel with echo
#1

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

1) Use Pawn tags
2) Look in some other IRC FS's, I think it needs to be formatted in some fucked up way
Reply
#3

Pawn tags?
and i used a previous FS and the same error happened.
Reply
#4

Solved: i moved the amx to the front, in server.cfg (for future reference)
Reply
#5

Quote:
Originally Posted by ry5a
Pawn tags?
and i used a previous FS and the same error happened.
Pawn tags means
pawn Код:
[pawn]
and
[/pawn]
Reply
#6

You mean

Код:

Reply
#7

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


Forum Jump:


Users browsing this thread: 1 Guest(s)