22.08.2011, 21:56
(
Last edited by =WoR=G4M3Ov3r; 14/09/2011 at 11:52 AM.
)
Supreme Court of Justice.


Plugins Needed : Streamer.

PHP Code:
Float:X, Float:Y, Float:Z, UniversalWorld
PHP Code:
2164.61, 1314.63, 7699.06, 10
PHP Code:
CreateDynamicObject
Pastebin : http://pastebin.com/qTFuszqT //===[Yom Buttons]===\\ Credits : Yom.
Pastebin: http://pastebin.com/YiWvnDg9 //===[Supreme Court Map]===\\ Credits : BATAD
If you used the Buttons, Add this to your script:
pawn Code:
public CloseCourtGate1()
{
MoveDynamicObject(courtgates[0],2138.00000000,1316.72106934,7698.23632812,4);
return 1;
}
public CloseCourtGate2()
{
MoveDynamicObject(courtgates[1],2138.00292969,1290.96386719,7698.24169922,4);
return 1;
}
if(buttonid == courtbuttons[0])
{
MoveDynamicObject(courtgates[1],2138.00292969,1290.96386719-10,7698.24169922,4);
SetTimer("CloseCourtGate2", 5000, 0);
}
if(buttonid == courtbuttons[3])
{
MoveDynamicObject(courtgates[1],2138.00292969,1290.96386719-10,7698.24169922,4);
SetTimer("CloseCourtGate2", 5000, 0);
}
if(buttonid == courtbuttons[1])
{
MoveDynamicObject(courtgates[0],2138.00000000,1316.72106934+10,7698.23632812,4);
SetTimer("CloseCourtGate1", 5000, 0);
}
if(buttonid == courtbuttons[2])
{
MoveDynamicObject(courtgates[0],2138.00000000,1316.72106934+10,7698.23632812,4);
SetTimer("CloseCourtGate1", 5000, 0);
}
pawn Code:
forward CloseCourtGate1();
forward CloseCourtGate2();
pawn Code:
new COURTGate;
new courtbuttons[5], courtgates[2];
Screen Shots :




PS: For the retards, who claim this is for NGG, get on the forums, and ask the owner yourself, who mapped this.