Moving gates help
#1

Hello i need your guys help.
I made 2 new gates i want to move one to the left and one right but i dont know how to do this, here are the codes.

CreateObject(985, 2497.10, 2777.14, 11.56, 0.00, 0.00, 90.00);

i want this one go to the left 2782.1557.

CreateObject(986, 2497.10, 2769.24, 11.56, 0.00, 0.00, 90.00);

i want this one go to the right 2764.2354.

gates arthor.jpg

Gate before.jpg


the pics show what i want the gate to look like, in the pic there is all the numbers to help you guys.

PLEASE HELP
thank you!!!!!!!!!!!!!!
Reply
#2

See my 'mGates' include in my signature. It will make your life easier.

I even have the full coordinates for you:

pawn Код:
CreateAutomaticGate(985, 2497.406250, 2777.070312, 11.531299+0.02, 0.000000, 0.000000, 90.000000, 2497.406250, 2777.070312+7, 11.531299, 0.000000, 0.000000, 90.000000, 2496.0535,2773.0981,10.8205, 15, 4);
CreateAutomaticGate(986, 2497.406250, 2769.109375, 11.531299+0.02, 0.000000, 0.000000, 90.000000, 2497.406250, 2769.109375-7, 11.531299, 0.000000, 0.000000, 90.000000, 2496.0535,2773.0981,10.8205, 15, 4);
(Place under OnGameModeInit and enjoy).

Use OnPlayerRequestGate to control access (i.e. to restrict it to certain players e.g. army).
Use OnGateOpenClose if you want to add sounds.
Reply
#3

The forum is full of tutorials on how to make moving gates. You might want to check it out.
Reply
#4

mp2 ok i will
Reply
#5

C:\Users\Dan\Desktop\New Folder\gamemodes\1.2.pwn(1004) : error 017: undefined symbol "CreateAutomaticGate"
C:\Users\Dan\Desktop\New Folder\gamemodes\1.2.pwn(1005) : error 017: undefined symbol "CreateAutomaticGate"
Reply
#6

You have to actually download and include the file. Read my topic properly.

P.S. I updated my post above with coordinates for the full gates.
Reply
#7

that is hard
Reply
#8

Quote:
Originally Posted by MP2
Посмотреть сообщение
You have to actually download and include the file. Read my topic properly.

P.S. I updated my post above with coordinates for the full gates.

http://www.movieserv.net/files/mGates.inc

that is hard
Reply
#9

Quote:
Originally Posted by LavaHDProkiller
Посмотреть сообщение
Hello i need your guys help.
I made 2 new gates i want to move one to the left and one right but i dont know how to do this, here are the codes.

CreateObject(985, 2497.10, 2777.14, 11.56, 0.00, 0.00, 90.00);

i want this one go to the left 2782.1557.

CreateObject(986, 2497.10, 2769.24, 11.56, 0.00, 0.00, 90.00);

i want this one go to the right 2764.2354.

Вложение 5280

Вложение 5281


the pics show what i want the gate to look like, in the pic there is all the numbers to help you guys.

PLEASE HELP
thank you!!!!!!!!!!!!!!
LavaHD from Lsrcr?
Reply
#10

Quote:
Originally Posted by Goldino
Посмотреть сообщение
LavaHD from Lsrcr?
Yes that is me [RF]LavaHD
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)