[Ajuda] Teleporte pelo Mapa
#6

pawn Код:
forward OnPlayerClickMap(playerid, Float:fX, Float:fY, Float:fZ);
public OnPlayerClickMap(playerid, Float:fX, Float:fY, Float:fZ)
{
    if(IsPlayerInAnyVehicle(playerid))
    {
        new carromapa = GetPlayerVehicleID(playerid);
        SetVehiclePos(carromapa, fX, fY, fZ);
        SetPlayerPos(playerid, fX, fY, fZ);
        SendClientMessage(playerid, branco, "Testando o teleporte pelo mapa com carro!");
        PutPlayerInVehicle(playerid, carromapa, 0);
    }
    else
    {
        SetPlayerPos(playerid, fX, fY, fZ);
        SendClientMessage(playerid, branco, "Testando o teleporte pelo mapa!");
    }
    return 1;
}
Reply


Messages In This Thread
Teleporte pelo Mapa - by Stroon - 05.04.2014, 01:48
Re: Teleporte pelo Mapa - by shittt - 05.04.2014, 01:51
Re: Teleporte pelo Mapa - by Stroon - 05.04.2014, 02:03
Re: Teleporte pelo Mapa - by hard_dalzot - 05.04.2014, 02:59
Re: Teleporte pelo Mapa - by shittt - 05.04.2014, 14:59
Re: Teleporte pelo Mapa - by hard_dalzot - 05.04.2014, 17:20
Re: Teleporte pelo Mapa - by Stroon - 05.04.2014, 18:54
Re: Teleporte pelo Mapa - by shittt - 05.04.2014, 19:42
Re: Teleporte pelo Mapa - by Lipe_Stronda - 05.04.2014, 19:56
Re: Teleporte pelo Mapa - by hard_dalzot - 05.04.2014, 20:03

Forum Jump:


Users browsing this thread: 4 Guest(s)