CMD to teleport to A certain point by position x y z
#8

Quote:
Originally Posted by ConnorW
Посмотреть сообщение
pawn Код:
CMD:gotopos(playerid, params[])
{
    new Float:x, Float:y, Float:z, interiorid;

    if(sscanf(params, "fffI(0)", x, y, z, interiorid))
    {
        return SendClientMessage(playerid, -1, "/gotopos [x] [y] [z] [interior]"); //default interior is pointed as 0
    }
    SetPlayerPos(playerid, x, y, z);
    SetPlayerInterior(playerid, interiorid);
    return 1;
}
You can remove interior if you want, but i bet you want to test mappings, so you should need that!
yes iam really wanna test maps thx man +Rep
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)