[PEDIDO] Ao player conectar e desconectar
#3

Em OnPlayerConnect:
pawn Code:
new string[128];
    new nomeentrou[MAX_PLAYER_NAME];
    GetPlayerName(playerid,nomeentrou,MAX_PLAYER_NAME);
    format(string,sizeof string,"%s entrou no servidor.",nomeentrou);
    SendClientMessageToAll(COR,string);
Em OnPlayerDisconnect:
pawn Code:
new string[128];
    new nomesaiu[MAX_PLAYER_NAME];
    GetPlayerName(playerid,nomesaiu,MAX_PLAYER_NAME);
    format(string,sizeof string,"%s saiu do servidor.",nomesaiu);
    SendClientMessageToAll(COR,string);
Reply


Messages In This Thread
[PEDIDO] Ao player conectar e desconectar - by [RoxX]Ygor - 28.09.2010, 22:21
Respuesta: [PEDIDO] Ao player conectar e desconectar - by BiieL - 28.09.2010, 22:23
Re: [PEDIDO] Ao player conectar e desconectar - by []Fabricio[] - 28.09.2010, 22:25
Respuesta: [PEDIDO] Ao player conectar e desconectar - by Lipepva - 28.09.2010, 22:27
Re: [PEDIDO] Ao player conectar e desconectar - by [RoxX]Ygor - 28.09.2010, 22:37

Forum Jump:


Users browsing this thread: 1 Guest(s)