21.05.2010, 00:10
pawn Code:
public OnPlayerConnect(playerid)
{
new pName[ 30 ], string[ 256 ];
GetPlayerName(playerid, pName, 30);
format(string, 256, "%s entrou no server.", pName);
SendClientMessageToAll(COLOR_RED,string);
return 1;
}
public OnPlayerDisconnect(playerid)
{
new pName[30], string[256];
GetPlayerName(playerid, pName, 30);
format(string, 256, "%s saiu do server.", pName);
SendClientMessageToAll(COLOR_RED ,string);
return 1;
}