[Pedido] /Trazer [ID]...
#4

Quote:
Originally Posted by dPlaYer_
Посмотреть сообщение
pawn Код:
CMD:trazer(playerid, params[])
{
    new ID;
    if(sscanf(params, "u", ID)) return SendClientMessage(playerid, -1, "[ Erro ] /trazer [Id]");
    if(!IsPlayerConnected(ID)) return SendClientMessage(playerid, -1, "[ Erro ] Id Invalido!");
    new Float:x, Float:y, Float:z;
    GetPlayerPos(playerid, x, y, z);
    SetPlayerPos(ID, x, y, z);
    SetPlayerInterior(ID, GetPlayerInterior(playerid));
    if(IsPlayerInAnyVehicle(playerid))
    {
        new VehicleID;
        VehicleID = GetPlayerVehicleID(playerid);
        SetVehiclePos(VehicleID, x + 1, y + 1, z);
        PutPlayerInVehicle(playerid, VehicleID, 0);
    }
    return 1;
}
Vocк tem o /ir ?

Acho que o /trazer nгo vai ser o suficiente...

E obrigado por me ajudar ^^ +rep
Reply


Messages In This Thread
/Trazer [ID]... - by davi54723 - 19.03.2013, 22:54
Re: /Trazer [ID]... - by MatheusAlcapone - 19.03.2013, 22:59
Re: /Trazer [ID]... - by dPlaYer_ - 20.03.2013, 01:56
Re: /Trazer [ID]... - by davi54723 - 20.03.2013, 04:54
Re: /Trazer [ID]... - by Lуs - 20.03.2013, 05:24
Re: /Trazer [ID]... - by dPlaYer_ - 20.03.2013, 13:07

Forum Jump:


Users browsing this thread: 2 Guest(s)