[Ajuda]Entrar id
#8

Nem todo mundo usa Godfather, nгo complique a vida dos novatos.

PHP код:

public OnPlayerConnect(playerid)
{
    new 
j_string[0x80], nome[MAX_PLAYER_NAME]; GetPlayerName(playeridnomesizeof(nome));
    
format(j_stringsizeof(j_string), "%s[%i] entrou no server."nomeplayerid);
    
SendClientMessageToAll(-1j_string);
    return 
0x01;

Quote:
Originally Posted by LOL
public OnPlayerConnect(playerid)
{
new string[64], pName[MAX_PLAYER_NAME];
GetPlayerName(playerid,pName,MAX_PLAYER_NAME);
format(string, sizeof(string), "{37FF69}%s(%d) entrou no servidor.",pName);
SendClientMessageToAll(0x009D00AA,string);
new plname[MAX_PLAYER_NAME];
GetPlayerName(playerid, plname, sizeof(plname));
lol
Pra que 2 GetPlayerName? ._. ...
Reply


Messages In This Thread
[Ajuda]Entrar id - by [Dk]TuReTOo - 24.06.2011, 16:07
Re: [Ajuda]Entrar id - by Bruno Pereira - 24.06.2011, 16:19
Re: [Ajuda]Entrar id - by mengueh - 24.06.2011, 16:25
Re: [Ajuda]Entrar id - by [Dk]TuReTOo - 24.06.2011, 16:26
Re: [Ajuda]Entrar id - by Bruno Pereira - 24.06.2011, 16:30
Re: [Ajuda]Entrar id - by [Dk]TuReTOo - 24.06.2011, 16:33
Re: [Ajuda]Entrar id - by Bruno Pereira - 24.06.2011, 16:35
Re: [Ajuda]Entrar id - by Ricop522 - 24.06.2011, 16:36
Re: [Ajuda]Entrar id - by Bruno Pereira - 24.06.2011, 16:39
Re: [Ajuda]Entrar id - by Ricop522 - 24.06.2011, 16:40

Forum Jump:


Users browsing this thread: 2 Guest(s)