Can sombedoby help me with gates
#1

To make the gates open and close ...

(980,2467.94262700,-1659.28747600,15.09967600,0.00000000,0.00000000,-91.10023213); and only GSF members can open

(980,2122.66259800,-1462.00402800,25.63894500,0.00000000,0.00000000,88 .52192205); only Ballas members

(980,1813.12133800,-2111.77002000,15.15620400,0.00000000,0.00000000,-90.24085273); only Los Surenos

(980,2600.15600600,-1058.32177700,71.32827000,0.00000000,0.00000000,0. 00000000); and (980,2561.47900400,-1086.55725100,68.98001100,0.00000000,-1.71887339,41.25296125); these two only Los Santos Vagos


If somebody can help me please
Reply
#2

https://sampforum.blast.hk/showthread.php?tid=187713
https://sampforum.blast.hk/showthread.php?tid=332956
http://forum.sa-mp.com/showthread.ph...moving+objects
http://forum.sa-mp.com/showthread.ph...moving+objects
Reply
#3

i've tried with tut... but i just dont know how to do it ...
And i asked if somebody can do it for me not that i need help how to do it
Reply
#4

dude, the coordinates matter alot. if u know the appropriate use of those then there wont be any problem
Reply
#5

those are the coordinates from the gates im sure but i dont know why it doesnt wants...
Reply
#6

you need the cords of the closed gate then the open gate.
pawn Код:
new gate;
gate = CreateObject(980,2467.94262700,-1659.28747600,15.09967600,0.00000000,0.00000000,-91.10023213);
then on the command you need to do
pawn Код:
CMD:opengate(playerid,params[])
{
     MoveObject(gate, X, Y, Z, 5); //X Y Z = the open gate coordinates
}
CMD:closegate(playerid,params[])
{
     MoveObject(gate, 2467.94262700,-1659.28747600,15.09967600,5);
}
Reply
#7

but how to find cooridnates of opened gate when i cant be opened
Reply
#8

Quote:
Originally Posted by Starky Yakavetta
Посмотреть сообщение
but how to find cooridnates of opened gate when i cant be opened
Use a map editor, dupilcate the object you want, move it somewhere (the open position) then check its coordinates. Here you got the open gate coordinates!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)