Help me to find this bug please!!
#2

pawn Код:
public OnPlayerConnect(playerid)
{
    new pName [MAX_PLAYER_NAME], string[128];
    GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
    format(string, sizeof(string), "%s[%d] joined the server!", pName);
    SendClientMessageToAll(COLOR_ORANGE, string);
    return 1;
}

public OnPlayerDisconnect(playerid)
{
    new pName [MAX_PLAYER_NAME], string[128];
    GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
    format(string, sizeof(string), "%s[%d] left the server!", pName);
    SendClientMessageToAll(COLOR_ORANGE, string);
    return 1;
}
Just use that one, I dont even know if it works.
Reply


Messages In This Thread
Help me to find this bug please!! - by FirziKs - 03.06.2011, 20:01
Re: Help me to find this bug please!! - by Odyssey - 03.06.2011, 20:12
Respuesta: Re: Help me to find this bug please!! - by admantis - 03.06.2011, 20:28
Re: Help me to find this bug please!! - by FirziKs - 03.06.2011, 20:31
Re: Help me to find this bug please!! - by Odyssey - 03.06.2011, 21:07

Forum Jump:


Users browsing this thread: 2 Guest(s)