help me with this code
#4

here :

Code:
new Gate1;
public OnGameModeInit()
{
 Gate1 = CreateObject(986, 3925.7256, 3417.4690, 27.4700, 313.4052, 0.0, 0.0);
}
public OnPlayerCommandText(playerid, cmdtext[])
{
 if(!strcmp(cmdtext, "/opengate"))
 {
  MoveObject(Gate1, 3925.7256, 3417.4690, 27.4700, 10.0);
  return 1;
 }
 if(!strcmp(cmdtext, "/closegate"))
 {
  MoveObject(Gate1, 3925.7256, 3417.4690, 27.4700, 10.0);
  return 1;
 }
 return 0;
}
Reply


Messages In This Thread
help me with this code - by Wonderweiss - 13.10.2012, 16:58
Re: help me with this code - by Wonderweiss - 13.10.2012, 17:13
Re: help me with this code - by Ghost_Boii - 13.10.2012, 17:15
Re: help me with this code - by Wonderweiss - 13.10.2012, 17:18
Re: help me with this code - by Ghost_Boii - 13.10.2012, 17:20
Re: help me with this code - by NewerthRoleplay - 13.10.2012, 17:25
Re: help me with this code - by Ghost_Boii - 13.10.2012, 17:27
Re: help me with this code - by Wonderweiss - 13.10.2012, 17:30
Re: help me with this code - by KevinPRINCE - 13.10.2012, 17:30
Re: help me with this code - by NewerthRoleplay - 13.10.2012, 17:34

Forum Jump:


Users browsing this thread: 4 Guest(s)