[Ajuda] Teleporte
#3

Lб ondi vocк coloca a funзгo de desovar o player em tal lugar vocк faz assim:

PHP код:
    new string[64], Nome[MAX_PLAYER_NAME];//aqui esta criando uma variavel para pegar o nome
    
GetPlayerName(playerid,Nome,MAX_PLAYER_NAME);// aqui estб ultilizando a variavel para pegar o nome
    
format(string,sizeof string,"%s Foi para o /pistola",Nome);// aqui estб mandando a mensagem. %s estб fazendo a funзгo de Nome elб ira identificar o nome do player e mandar a mensagem para o player com o nome dele
    
SendClientMessageToAll(0xFFFFFFFFstring);  //Em fim enviamos a menssagem 
Reply


Messages In This Thread
Teleporte - by maxblaya01 - 01.09.2015, 19:20
Re: Teleporte - by IgorLuiz - 01.09.2015, 19:27
Re: Teleporte - by iTakelot - 01.09.2015, 19:29
Re: Teleporte - by matheusspohr - 02.09.2015, 02:34
Re: Teleporte - by Locky_ - 02.09.2015, 09:48

Forum Jump:


Users browsing this thread: 1 Guest(s)