24.06.2011, 16:36
Nem todo mundo usa Godfather, nгo complique a vida dos novatos.
lol
Pra que 2 GetPlayerName? ._. ...
PHP код:
public OnPlayerConnect(playerid)
{
new j_string[0x80], nome[MAX_PLAYER_NAME]; GetPlayerName(playerid, nome, sizeof(nome));
format(j_string, sizeof(j_string), "%s[%i] entrou no server.", nome, playerid);
SendClientMessageToAll(-1, j_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)); |
Pra que 2 GetPlayerName? ._. ...