GoToPoint: Help?
#3

If I understood correctly, you can use this command using ZCMD and sscanf:
pawn Код:
CMD:gotopoint(playerid, params[])
{
     new Float:X, Float:Y, Float:Z;
     if(sscanf(params, "fff", X, Y, Z)) return SendClientMessage(playerid, 0xFF0000, "Usage: /gotopoint X Y Z");
     else {
            SetPlayerPos(playerid, X, Y, Z);
            SendClientMessage(playerid, 0x00FF00, "You have successfully teleported");
     }
     return 1;
}

Too Slow... Or That one ^^^
Reply


Messages In This Thread
GoToPoint: Help? - by Dokins - 07.05.2011, 14:46
Re: GoToPoint: Help? - by Laronic - 07.05.2011, 14:50
Re: GoToPoint: Help? - by randomkid88 - 07.05.2011, 14:50
Re: GoToPoint: Help? - by Dokins - 07.05.2011, 15:15

Forum Jump:


Users browsing this thread: 1 Guest(s)