[Ajuda] Teleporte marcando no map(esc)
#4

Quote:
Originally Posted by Raridade
View Post
Galera eu to adicionando o code na gm, mais quando vou marcar no mapa(esc) nao esta teleportando. me ajudem por favor.

Code:
public OnPlayerClickMap(playerid, Float:fX, Float:fY, Float:fZ)
{
    SetPlayerPos(playerid, fX, fY, fZ); 
    return 1;
}
PHP Code:
public OnPlayerClickMap(playeridFloat:fXFloat:fYFloat:fZ)
{
    if(!
IsPlayerAdmin(playerid)
        return 
SendClientMessage(playerid0xFF0000FF"| ERRO | Vocк nгo й admin rcon");
        
    
SetPlayerPos(playeridfXfYfZ);
    
    
SendClientMessage(playerid0x00FF00FF"| MAPA | Vocк se teleportou pelo mapa.");
    return 
1;

Tenta dessa forma!
Reply


Messages In This Thread
Teleporte marcando no map(esc) - by Raridade - 20.09.2018, 10:47
Re: Teleporte marcando no map(esc) - by GuiKommander - 20.09.2018, 11:40
Re: Teleporte marcando no map(esc) - by Vithinn - 21.09.2018, 14:02
Re: Teleporte marcando no map(esc) - by zF3lKy3 - 26.10.2018, 05:09
Re: Teleporte marcando no map(esc) - by Luiiiz - 26.10.2018, 16:39
Re: Teleporte marcando no map(esc) - by zF3lKy3 - 26.10.2018, 17:16

Forum Jump:


Users browsing this thread: 1 Guest(s)