Gates problem.. help pls :) - 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)
+--- Thread: Gates problem.. help pls :) (
/showthread.php?tid=318936)
Gates problem.. help pls :) -
GoHaN7 - 17.02.2012
I have problems with gates... They rotate when they opens and i dont want that... can someone tell me what is problem? Thanks
Here are pictures:
http://www.zaslike.com/viewer.php?fi...7dzfc0snrk.png ----- closed
http://www.zaslike.com/viewer.php?fi...3vhuqo9phs.png ----- when opening
http://www.zaslike.com/viewer.php?fi...j0rvbjum6a.png ---- closed
http://www.zaslike.com/viewer.php?fi...dol6wmkm32.png ---- opened
http://www.zaslike.com/viewer.php?fi...dv567wccpx.png ------ should be closed
pawn Код:
else if (PlayerToPoint(15, playerid,2720.3772,-2508.3069,12.6))
{
MoveDynamicObject(armygate2,2720.3772, -2499.8069, 12.6, 3.5);
SetTimer("GateClose2", 7000, 0);
SendClientMessage(playerid, COLOR_BLUE,"SWAT KAPIJA 2 je otvorena i zatvorice se za 7 sekundi.");
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s uzima daljinski i otvara SWAT KApiju 2.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
the 2nd gate's code
Re: Gates problem.. help pls :) -
varuncoolrule - 17.02.2012
I have exact same problem
Re: Gates problem.. help pls :) -
=WoR=G4M3Ov3r - 17.02.2012
Are you sure you are using the exact same cords as they should be ?, and use the speed as 1.50 instead of 3.5
Re: Gates problem.. help pls :) -
milanosie - 17.02.2012
Add 0.0,0.0,0.0 for the newest streamer version
Re: Gates problem.. help pls :) -
GoHaN7 - 18.02.2012
fixed it thank
Re: Gates problem.. help pls :) -
Swyft™ - 18.02.2012
Hmm, I suck with gates, but since I am starting to learn, I am going to study this error here. If I find your answer I'll get back to you on it