Why warn?
#2

define these
Код:
new obj; // Somewhere at the top of your script
Код:
public OnGameModeInit()
{
    obj = CreateObject(980, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
    return 1;
}
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    CMD:name(playerid,params[])
    {
        new string[50];
        new movetime = MoveObject(obj, 0, 0, 10, 2.00);
        format(string, sizeof(string), "Object will finish moving in %d milliseconds", movetime);
        SendClientMessage(playerid, 0xFF000000, string);
        return 1;
    }
    return 0;
}
Reply


Messages In This Thread
Why warn? - by Gooday - 10.04.2012, 20:00
Re: Why warn? - by [EuG]ZeRoGoD - 10.04.2012, 20:03
Re: Why warn? - by emokidx - 10.04.2012, 20:17
Re: Why warn? - by The__ - 10.04.2012, 20:38
Re: Why warn? - by [EuG]ZeRoGoD - 10.04.2012, 20:39

Forum Jump:


Users browsing this thread: 1 Guest(s)