cordinate teleport
#3

pawn Код:
CMD:tp(playerid, params[])
{
    new int, Float: x, Float: y, Float: z;
    if(sscanf(params, "dfff", int, x, y, z))
        return SendClientMessage(playerid, GREY, "SYNTAX: /tp [int] [x] [y] [z]");
       
    SetPlayerPos(playerid, x, y, z);
    SetPlayerInterior(playerid, int);
    return SendClientMessage(playerid, -1, "Teleport successful.");;
}
Added interior value incase you want to teleport to interiors aswell.
Reply


Messages In This Thread
cordinate teleport - by popystone - 16.09.2012, 00:36
Re: cordinate teleport - by clarencecuzz - 16.09.2012, 00:41
Re: cordinate teleport - by cosbraa - 16.09.2012, 01:30
Re: cordinate teleport - by clarencecuzz - 16.09.2012, 01:33
Re: cordinate teleport - by JaKe Elite - 16.09.2012, 01:34
Re: cordinate teleport - by popystone - 17.09.2012, 01:10
Re: cordinate teleport - by newbienoob - 17.09.2012, 01:18
Re: cordinate teleport - by JustinAn - 17.09.2012, 01:44
Re: cordinate teleport - by XtremeR - 17.09.2012, 06:04

Forum Jump:


Users browsing this thread: 2 Guest(s)