Elevator Problem
#1

errm i have a problem with this command....
when i type /go IG nothing happenes!
Can someone tell me which the problem is?:S

pawn Код:
if(strcmp(cmdtext,"/go",true)==0)
    {
    MoveObject(lift,2446.0090332031, -1658.8232421875, 23.034029006958,10);
    return 1;
    }
    return SendClientMessage(playerid,COLOR_RED,"Unknown Command!Type /cmds for commands list");
    }
Reply
#2

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
  if(strcmp(cmdtext,"/go",true)==0)
  {
    MoveObject(lift,2446.0090332031, -1658.8232421875, 23.034029006958,10);
    return 1;
  }
  //other commands
  return 0;
}
And check the "lift"s coordinates. If you accidentally just copied the starting positions coordinates, it wont move.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)