Posts: 144
Threads: 33
Joined: Nov 2009
Reputation:
0
Hi,
Can anyone make a automatic gate for me with cmd open and close ? This is the gate code
CreateObject(980, 1263.889526, -2045.712280, 61.069244, 0.0000, 0.0000, 0.0000);
I need it opens and closes. I don't know how to do it, please explain me where to put what..
I'm troubling with that MoveObject many time and I really need it. Thanks you.
Regards
Kfir
Posts: 1,358
Threads: 89
Joined: Apr 2009
Reputation:
0
Post the coordinates while the gate is opened.
Posts: 144
Threads: 33
Joined: Nov 2009
Reputation:
0
Someone gave the information that I gave and a guy gave him a reply with the Code and like.
Can you explain me more? I'm really new at scripting.
Posts: 3,488
Threads: 16
Joined: Jun 2007
Reputation:
0
You need to have 2 lines of CreateObject (close and open), you only have 1.
Posts: 144
Threads: 33
Joined: Nov 2009
Reputation:
0
Okay let me make in the MTA the closed one. Wait please and answer me in 20 minutes after that post been added
Edit:
this is the closed time:
CreateObject(980, 1275.430176, -2045.808960, 61.140751, 0.0000, 0.0000, 0.0000);
It will move to that position. I don't know what's the position in it then you'll know it but this is where it may move to. the location in the line there.
Posts: 144
Threads: 33
Joined: Nov 2009
Reputation:
0
OMG THANK YOU VERY MUCH !
I'm trying !
Posts: 144
Threads: 33
Joined: Nov 2009
Reputation:
0
Thank's you. But now I'm having troubles with adding objects into the server. I'm putting the objects as I need to, in the place that I have to and no errors. But when I'm uploading the mode to the hosted server and uploading the hosted server, getting inside and guess what? nothing added. No objects. can it happen because of many objects? maybe do you know the problem? thanks you.
Posts: 144
Threads: 33
Joined: Nov 2009
Reputation:
0
Oh. Okay. I have less than. I don't know what the problem is. . Do you know an other problem that won't make it shown
Posts: 1,317
Threads: 23
Joined: Feb 2010
Reputation:
0
Make sure its under, OnGameModeInit. and make sure that you compiled, and make sure tha tif you changed the name you changed it in server.cfg also.
Posts: 144
Threads: 33
Joined: Nov 2009
Reputation:
0
lol im not that idiot ! and oit still un wroks. i really have up to 250 but its CreateDynamicObjectives. It's still the same?