/z /y /x commands
#4

That's because I've used DCMD

look up https://sampwiki.blast.hk/wiki/Fast_Commands

or just use this code:

pawn Код:
if(!strcmp(cmdtext, "/x", true))
{
  new
      Float:x,
      Float:y,
      Float:z;
  if(cmdtext[2] != 32 || cmdtext[3] == EOS)
    return SendClientMessage(playerid, 0xFFFF00FF, "USAGE: \"/x [positive or negative float]\"");
  GetPlayerPos(playerid, x, y, z);
  SetPlayerPos(playerid, x+floatstr(cmdtext[3]), y, z);
  return true;
}
Reply


Messages In This Thread
/z /y /x commands - by [SW]thekillaer - 01.12.2009, 21:11
Re: /z /y /x commands - by LarzI - 01.12.2009, 21:27
Re: /z /y /x commands - by [SW]thekillaer - 01.12.2009, 22:07
Re: /z /y /x commands - by LarzI - 01.12.2009, 22:51
Re: /z /y /x commands - by Niixie - 02.12.2009, 16:25

Forum Jump:


Users browsing this thread: 1 Guest(s)