Coord tele
#10

Quote:
Originally Posted by Ananisiki
Посмотреть сообщение
I spawn still at blueberry acres, plz help
These guys are fucking dumbasses.
pawn Код:
CMD:coordteleport(playerid, params[])
{
    new x, y, z;
    if(sscanf(params, "iii", x, y, z)) return SendClientMessage(playerid, COLOR_RED, "USAGE: /coordteleport(XPos) (Ypos) (ZPos)");
    SetPlayerPos(playerid, x, y, z);
    if(IsPlayerInAnyVehicle(playerid))
    {
        new vehicleid = GetPlayerVehicleID(playerid);
        SetVehiclePos(vehicleid, x, y, z);
        PutPlayerInVehicle(playerid,vehicleid,0);
    }
    new string[128];
    format(string, sizeof string, "You have been teleported to coordinates %d, %d, %d.", x, y, z);
    SendClientMessage(playerid, COLOR_WHITE, string);
    return 1;
}
Reply


Messages In This Thread
Coord tele - by Ananisiki - 05.05.2014, 17:38
Re: Coord tele - by awsomedude - 05.05.2014, 18:05
Re: Coord tele - by Ananisiki - 05.05.2014, 23:11
Re: Coord tele - by awsomedude - 05.05.2014, 23:14
Re: Coord tele - by Ananisiki - 05.05.2014, 23:19
Re: Coord tele - by Jefff - 06.05.2014, 01:02
Re: Coord tele - by SickAttack - 06.05.2014, 03:07
Re: Coord tele - by Ananisiki - 06.05.2014, 23:32
Re: Coord tele - by Nathan_Taylor - 07.05.2014, 00:08
Re: Coord tele - by Aerotactics - 07.05.2014, 00:09

Forum Jump:


Users browsing this thread: 1 Guest(s)