[Ajuda]Movimento
#3

METO ISTO ONDE ?


Quote:

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[])
{
if(strcmp(cmdtext, "/moveobject", true) == 0)
{
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
[Ajuda]Movimento - by RicardoMoreira - 28.03.2010, 15:59
Re: [Ajuda]Movimento - by andmeida10 - 28.03.2010, 16:00
Re: [Ajuda]Movimento - by RicardoMoreira - 28.03.2010, 16:20
Re: [Ajuda]Movimento - by andmeida10 - 28.03.2010, 16:20
Re: [Ajuda]Movimento - by luandriftlogkdr - 28.03.2010, 16:44
Re: [Ajuda]Movimento - by (o)Trydon - 28.03.2010, 17:50
Re: [Ajuda]Movimento - by SlashPT - 28.03.2010, 17:57

Forum Jump:


Users browsing this thread: 1 Guest(s)