Help, /xgoto cmd.
#3

What do you mean by "it doesn't work"? It doesn't compile? It doesn't set your position in-game?
pawn Код:
#define FILTERSCRIPT

#include <a_samp>
#include <sscanf2>
#include <zcmd>

CMD:xgoto(playerid, params[])
{
    new Float:x, Float:y, Float:z;
    if (sscanf(params, "fff", x, y, z)) return SendClientMessage(playerid, 0xFF0000AA, "Usage: /xgoto [X Pos] [Y Pos] [Z Pos]");
    SetPlayerPos(playerid, x, y, z);
    new string[100];
    format(string, sizeof(string), "You've set your coord to %f, %f, %f", x, y, z);
    SendClientMessage(playerid, 0xBBBBBBAA, string);
    return 1;
}
Reply


Messages In This Thread
Help, /xgoto cmd. - by volcaN131 - 27.07.2013, 15:44
Re: Help, /xgoto cmd. - by Tigerkiller - 27.07.2013, 15:49
Re: Help, /xgoto cmd. - by Konstantinos - 27.07.2013, 15:52
Re: Help, /xgoto cmd. - by volcaN131 - 27.07.2013, 15:58
Re: Help, /xgoto cmd. - by Konstantinos - 27.07.2013, 16:07
Re: Help, /xgoto cmd. - by volcaN131 - 27.07.2013, 16:11

Forum Jump:


Users browsing this thread: 2 Guest(s)