Moving gates help -
LavaHDProkiller - 22.01.2013
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!!!!!!!!!!!!!!
Re: Moving gates help -
MP2 - 22.01.2013
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.
Re: Moving gates help -
FUNExtreme - 22.01.2013
The forum is full of tutorials on how to make moving gates. You might want to check it out.
Re: Moving gates help -
LavaHDProkiller - 22.01.2013
mp2 ok i will
Re: Moving gates help -
LavaHDProkiller - 22.01.2013
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"
Re: Moving gates help -
MP2 - 22.01.2013
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.
Re: Moving gates help -
LavaHDProkiller - 22.01.2013
that is hard
Re: Moving gates help -
LavaHDProkiller - 22.01.2013
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
Re: Moving gates help -
Goldino - 22.01.2013
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?
Re: Moving gates help -
LavaHDProkiller - 22.01.2013
Quote:
Originally Posted by Goldino
LavaHD from Lsrcr?
|
Yes that is me [RF]LavaHD