[Ajuda] Mover objeto
#2

pawn Code:
new obj;
 
public OnGameModeInit()
{
    obj = CreateObject(980, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
    return 1;
}
 
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(strcmp(cmdtext, "/moveobject", true) == 0)
    {
        new string[50];
        new movetime = MoveObject(obj, 0, 0, 10, 2.00);
        format(string, sizeof(string), "Objeto irб terminar de mover em %d milliseconds", movetime);
        SendClientMessage(playerid, 0xFF000000, string);
        return 1;
    }
    return 0;
}
Reply


Messages In This Thread
Mover objeto - by derpinho123 - 14.02.2013, 23:40
Re: Mover objeto - by Schocc - 15.02.2013, 00:48
Re: Mover objeto - by derpinho123 - 15.02.2013, 16:05
Re: Mover objeto - by Schocc - 15.02.2013, 18:07
Re: Mover objeto - by derpinho123 - 15.02.2013, 18:27
Re: Mover objeto - by derpinho123 - 15.02.2013, 18:38
Re: Mover objeto - by HardWar - 15.02.2013, 21:28
Re: Mover objeto - by Maklister - 15.02.2013, 22:38

Forum Jump:


Users browsing this thread: 2 Guest(s)