Need help with making objects move!!
#5

Код:
public OnGameModeInit()
{
  new obj;
  obj = CreateObject(980,0,0,0,0,0,0);
  return 1;
}
 
public OnPlayerCommandText()
{
  if(strcmp(cmdtext, "/moveobject", true) == 0)
  {
    MoveObject(obj, 0, 0, 10, 2.00 );
    return 1;
  }
  return 0;
}
this is what i found at the link i think i understand the haf of it (i know i suck xD) can some one explain it a bit to me?
cause im not sure wich words i should replace..
exc.
Quote:

new obj;
obj = CreateObject(980,0,0,0,0,0,0);

does that i mean i gotta write ''new createobject'' ?
Reply


Messages In This Thread
Need help with making objects move!! - by jurtes - 25.10.2009, 10:01
Re: Need help with making objects move!! - by Sergei - 25.10.2009, 10:32
Re: Need help with making objects move!! - by jurtes - 25.10.2009, 11:07
Re: Need help with making objects move!! - by Correlli - 25.10.2009, 11:08
Re: Need help with making objects move!! - by jurtes - 25.10.2009, 11:16
Re: Need help with making objects move!! - by Sergei - 25.10.2009, 11:28
Re: Need help with making objects move!! - by jurtes - 25.10.2009, 11:36
Re: Need help with making objects move!! - by Sergei - 25.10.2009, 12:03
Re: Need help with making objects move!! - by jurtes - 25.10.2009, 12:08
Re: Need help with making objects move!! - by Sergei - 25.10.2009, 12:24

Forum Jump:


Users browsing this thread: 1 Guest(s)