[Tutorial] How to script a moving Gate
#38

Quote:
Originally Posted by AhmedWael
View Post
guys this is my script , is it right too?

Code:
CreateDynamicObject(2957,1116.0996100,-713.6992200,103.0000000,0.0000000,0.0000000,359.2470000); //object(chinatgaragedoor) (1)

CMD:gatecmdopen (playerid,params[]) {
    MoveObject(ghostgate2,1116,-713.6,99.6,2);
    return 1;}

CMD:gatecmdclose (playerid,params[]) {
    MoveObject(ghostgate2,1116,-713.6,103,2);
    return 1;}
So is this correct?
We use Y_TIMERS in my script to make gates move.

But I know, MoveObject, won't work with CreateDynamicObject. Try MoveDynamicObject
Reply


Messages In This Thread
[Tutorial] How to script a moving Gate - by [18SG]Juicy_J - 18.07.2008, 18:48
Re: [Tutorial] How to script moving Gates - by sebihunter - 18.07.2008, 18:54
Re: [Tutorial] How to script a moving Gate - by whooper - 18.07.2008, 18:56
Re: [Tutorial] How to script a moving Gate - by [18SG]Juicy_J - 18.07.2008, 18:57
Re: [Tutorial] How to script a moving Gate - by flakey - 18.07.2008, 19:25
Re: [Tutorial] How to script a moving Gate - by bFe - 18.07.2008, 19:27
Re: [Tutorial] How to script a moving Gate - by [18SG]Juicy_J - 18.07.2008, 19:40
Re: [Tutorial] How to script a moving Gate - by NEW_IE - 18.07.2008, 20:09
Re: [Tutorial] How to script a moving Gate - by Giacomand - 19.07.2008, 21:30
Re: [Tutorial] How to script a moving Gate - by [18SG]Juicy_J - 20.07.2008, 06:34
Re: [Tutorial] How to script a moving Gate - by Rks25 - 21.07.2008, 20:21
Re: [Tutorial] How to script a moving Gate - by mamane - 01.09.2008, 16:19
Re: [Tutorial] How to script a moving Gate - by [18SG]Juicy_J - 03.09.2008, 17:19
Re: [Tutorial] How to script a moving Gate - by Vialpando - 14.09.2008, 02:13
Re: [Tutorial] How to script a moving Gate - by VaD - 16.09.2008, 12:49
Re: [Tutorial] How to script a moving Gate - by [18SG]Juicy_J - 16.09.2008, 14:52
Re: [Tutorial] How to script a moving Gate - by Xander5270 - 16.09.2008, 15:12
Re: [Tutorial] How to script a moving Gate - by [18SG]Juicy_J - 16.09.2008, 15:34
Re: [Tutorial] How to script a moving Gate - by Xander5270 - 16.09.2008, 16:01
Re: [Tutorial] How to script a moving Gate - by zid990 - 16.09.2008, 16:11
Re: [Tutorial] How to script a moving Gate - by [18SG]Juicy_J - 16.09.2008, 17:05
Re: [Tutorial] How to script a moving Gate - by Xander5270 - 16.09.2008, 17:08
Re: [Tutorial] How to script a moving Gate - by Magor - 16.09.2008, 17:14
Re: [Tutorial] How to script a moving Gate - by [18SG]Juicy_J - 16.09.2008, 17:25
Re: [Tutorial] How to script a moving Gate - by Magor - 16.09.2008, 17:28
Re: [Tutorial] How to script a moving Gate - by Xander5270 - 16.09.2008, 17:56
Re: [Tutorial] How to script a moving Gate - by hadzx - 07.11.2010, 18:29
Re: [Tutorial] How to script a moving Gate - by DeathOnaStick - 07.11.2010, 18:30
Re: [Tutorial] How to script a moving Gate - by Pillhead2007 - 15.08.2012, 19:43
Re: [Tutorial] How to script a moving Gate - by Dan. - 15.08.2012, 19:50
Re: [Tutorial] How to script a moving Gate - by Astrais - 19.12.2012, 12:46
Re: [Tutorial] How to script a moving Gate - by CrazyChoco - 19.12.2012, 13:19
Re : [Tutorial] How to script a moving Gate - by Kethrios - 19.12.2012, 13:29
Re: [Tutorial] How to script a moving Gate - by doreto - 19.12.2012, 13:44
Re: [Tutorial] How to script a moving Gate - by Gamer_007 - 19.12.2012, 15:04
Re: [Tutorial] How to script a moving Gate - by Mike_Peterson - 19.12.2012, 15:10
Re: [Tutorial] How to script a moving Gate - by AhmedWael - 03.02.2014, 10:28
Re: [Tutorial] How to script a moving Gate - by UnknownGamer - 03.02.2014, 10:38

Forum Jump:


Users browsing this thread: 3 Guest(s)