[Ajuda] ID Players
#3

use "playerid" '-' para pegar o id como no exemplo :

PHP код:
public OnPlayerConnect(playerid)
{
    new 
string[64], Nome[MAX_PLAYER_NAME];
    
GetPlayerName(playerid,Nome,MAX_PLAYER_NAME);
    
format(string,sizeof string,"%s [ID:%i]  Entrou no jogo!",Nome,playerid);// Veja que pegamos o ID do player somente colocando "playerid".
    
SendClientMessage(0xFFFFFFAA,string);
    return 
1;

Reply


Messages In This Thread
ID Players - by maxblaya01 - 04.09.2015, 01:40
Re: ID PLAYERS - by [BOPE]Seu._.Madruga - 04.09.2015, 01:47
Re: ID PLAYERS - by iTakelot - 04.09.2015, 01:48
Re: ID PLAYERS - by matheusspohr - 04.09.2015, 01:48
Re: ID PLAYERS - by maxblaya01 - 04.09.2015, 02:15
Re: ID PLAYERS - by matheusspohr - 04.09.2015, 02:43
Re: ID Players - by maxblaya01 - 04.09.2015, 04:45

Forum Jump:


Users browsing this thread: 1 Guest(s)