MoveObject bug
#3

Try:
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(strcmp(cmdtext, "/moveobject", true) == 0)
    {
        new string[50];
        new Float:X, Float:Y, Float:Z;
        GetObjectPos(obj, X, Y, Z);
        new movetime = MoveObject(obj, X + 1, Y + 1,  Z + 3, 2.00);
        format(string, sizeof(string), "Object will finish moving in %d milliseconds", movetime);
        SendClientMessage(playerid, 0xFF000000, string);
        return 1;
    }
    return 0;
}
The "Object will finish moving in ... seconds" won't be correct though. But this thread is about the object not showing up after all.
Reply


Messages In This Thread
MoveObject bug - by Artie_Scorpion - 18.10.2011, 09:06
Re: MoveObject bug - by Babul - 18.10.2011, 15:15
Re: MoveObject bug - by KingHual - 18.10.2011, 16:48

Forum Jump:


Users browsing this thread: 4 Guest(s)