Please help - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Please help (
/showthread.php?tid=162084)
Please help -
ruckfules99 - 22.07.2010
Can someone PLEASE add this gate for me with working commands?
I really need someone to add this gate for me, I am really terrible at gates, and my server is almost complete for release. I will include credits for this gate as well.
The gate should be big so players cannot hop it, thank you
Here is the screen shots:
/imageshack/gal.php?...0722013804.jpg
Re: Please help -
(SF)Noobanatior - 22.07.2010
you can hop any of them walls on a BMX with a tec9 :P you can clear trafic lights
Re: Please help -
ruckfules99 - 22.07.2010
Lol, i know. But i just need enough to stop most cars bikes :P
Can ya do it for me? please.
Re: Please help -
John_F - 22.07.2010
Find the ID of the gate you want to use and post it.
It's not hard to map it and make a command to make it move.
Re: Please help -
ruckfules99 - 22.07.2010
Quote:
Originally Posted by John_F
Find the ID of the gate you want to use and post it.
It's not hard to map it and make a command to make it move.
|
The gate ID is 987. It will take 2 gates to block the opening. Can someone make it, so the 2 gates both open sideways away on 1 command?
So 1 gate opens to the left, the other to the right.
Re: Please help -
ruckfules99 - 22.07.2010
Please anyone
Re: Please help -
Яσскѕтая - 22.07.2010
pawn Код:
new gate1, gate2;
-------
gate1 = CreateObject(987,2424.32934570,-2078.98144531,11.80383492,0.00000000,0.00000000,270.00000000);
gate2 = CreateObject(987,2424.36816406,-2088.29003906,11.79687500,0.00000000,0.00000000,270.00000000);
-------
if(strcmp(cmd, "/open", true) == 0)
{
MoveObject(gate1,2424.32934570,-2070.98144531,11.80383492,1.0);
MoveObject(gate2,2424.36816406,-2096.29003906,11.79687500,1.0);
}
if(strcmp(cmd, "/close", true) == 0)
{
MoveObject(gate1,2424.32934570,-2078.98144531,11.80383492,1.0);
MoveObject(gate2,2424.36816406,-2088.29003906,11.79687500,1.0);
}
That should do it for ya, if you have problems edit the y axis (argument 3)
Re: Please help -
ruckfules99 - 22.07.2010
Thank you so much!