Someone got a script on /gotoco(ordinates)?
#4

pawn Код:
CMD:gotoco(playerid, params[])
{
    new int, Float:x, Float:y, Float:z;
    // You can add your admin code here like "if(PlayerInfo[playerid][pAdmin]..."
    if(sscanf(params, "fffi", x,y,z, int)) return SendClientMessage(playerid, -1, "USAGE: /gotoco [x] [y] [z] [interior]");
    SetPlayerPos(playerid, x,y,z);
    SetPlayerInterior(playerid, int);
    return 1;
}
CMD:gotopos(playerid, params[])
{
    return cmd_gotoco(playerid, params);
}
Here you go, both will work.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)