Commands for pickups
#2

try something like this:
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
  if(strcmp("/cmd", cmdtext, true, 4) == 0)
  {
    if(IsPlayerInRangeOfPoint(playerid, 1.5, X, Y. Z)) //Pickup coords
    {
      SetPlayerPos(playerid, x, y, z);
    }
    return 1;
  }
  return 0;
}
Reply


Messages In This Thread
Commands for pickups - by NitoPSG - 17.04.2011, 18:47
Re: Commands for pickups - by Sascha - 17.04.2011, 18:51
Re: Commands for pickups - by Stigg - 17.04.2011, 18:51
Re: Commands for pickups - by nemesis_567 - 17.04.2011, 19:11

Forum Jump:


Users browsing this thread: 1 Guest(s)