Jump to content

Question

Posted

Deci am facut un lift la PD care sa urce sus si vreau ca doar can ajunge liftul jos sau sus sa se deschida usa nu inainte!Help

http://paste2.org/p/1499397(pastebin nu merge)

5 answers to this question

Recommended Posts

Posted

Deci am facut un lift la PD care sa urce sus si vreau ca doar can ajunge liftul jos sau sus sa se deschida usa nu inainte!Help

http://paste2.org/p/1499397(pastebin nu merge)

n-am inteles nimic :|

ll364l6j8dg3et84ks3w.png

Posted

n-am inteles nimic :|

Deci, am facut un lift la Police Departament cu care sa ajungi pe cladire la elicopter. Eu vreau ca doar cand ajungi sus sa se deschida usa, nu inainte. Uite un alt link la pastebin http://pastebin.com/6vSpJYP9

Posted

Uitati am am facut asa

Am pus un timer si tot nu merge

new tim1;
tim1 = SetTimer("Door0open",1,true)
//public
public Door0open()
{
	new Float:a, Float:b, Float:c;
	new Float:x, Float:y, Float:z;
	a = 1571.34863281;
	b = -1636.45898438;
	c = 12.70115089;
	new lift0 = GetObjectPos(lift, x, y, z);
	if(lift0 == a,b,c)
	{
		MoveDynamicObject(door0a,1568.36059570,-1635.38269043,13.54676056,4.0);
		MoveDynamicObject(door0b,1568.36059570,-1635.38183594,15.04676056,4.0);
		liftpos = 0;
		KillTimer(tim1);
	}
}
	

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.