17.02.2012, 09:18
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
the 2nd gate's code
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);
}