public OnPlayerConnect(playerid)
{
new pName[MAX_PLAYER_NAME];
new string[48];
GetPlayerName(playerid, pName, sizeof(pName));
format(string, sizeof(string), \"%s {0026ff}csatlakozott a szerverre\", pName);
SendClientMessageToAll((GetPlayerColor(playerid), string);
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
new pName[MAX_PLAYER_NAME];
new string[48];
GetPlayerName(playerid, pName, sizeof(pName));
format(string, sizeof(string), \"%s {ff0000}lelépett a szerverrõl\", pName);
SendClientMessageToAll((GetPlayerColor(playerid), string);
return 1;
}