I need Help with this !
#1

Код:
forward DoorOpen(playerid);
public DoorOpen(playerid)
{
	MoveDynamicObject(lspddoor1, 253.2000000,106.6130000,1002.2000100,90.0000000, 2.0);
	MoveDynamicObject(lspddoor2, 253.2000000,111.5660000,1002.2000100,270.0000000, 2.0);
  	return 1;
}

forward DoorClose(playerid);
public DoorClose(playerid)
{
	MoveDynamicObject(lspddoor1, 253.2000000,107.6000000,1002.2000100,90.0000000, 2.0);
	MoveDynamicObject(lspddoor2, 253.2000000,110.6000000,1002.2000100,270.0000000, 2.0);
  	return 1;
}

forward DoorOpen2(playerid);
public DoorOpen2(playerid)
{
	MoveDynamicObject(lspddoor3, 239.5000000,115.09200000,1002.2000000,90.0000000, 2.0);
	MoveDynamicObject(lspddoor4, 239.5996100,120.0600000,1002.2000000,270.0000000, 2.0);
	return 1;
}

forward DoorClose2(playerid);
public DoorClose2(playerid)
{
    MoveDynamicObject(lspddoor3, 239.5000000,116.1000000,1002.2000100,90.0000000, 2.0);
    MoveDynamicObject(lspddoor4, 239.5000000,119.1000000,1002.2000100,270.0000000, 2.0);
    return 1;
}
Код:
//LSPD Button
	lspdcopsonly = CreateButton(253.0000000,110.4000000,1003.8000000,272.0000000); // ONLYS ONLY
	lspdeveryone = CreateButton(253.3999900,110.6000000,1003.7000000,96.0000000); // People, ^^==LSPD
	lspdcopsonly2 = CreateButton(239.8000000,116.2000000,1003.8000000,92.0000000); // ONLY ONLY
	lspdeveryone2 = CreateButton(239.3000000,116.3000000,1003.8000000,268.0000000);
	
        CreateDynamicObject(2886,253.0000000,110.4000000,1003.8000000,0.0000000,0.0000000,272.0000000); 
 	CreateDynamicObject(2886,253.3999900,110.6000000,1003.7000000,0.0000000,0.0000000,96.0000000); 
 	CreateDynamicObject(2886,239.8000000,116.2000000,1003.8000000,0.0000000,0.0000000,92.0000000); 
	CreateDynamicObject(2886,239.3000000,116.3000000,1003.8000000,0.0000000,0.0000000,268.0000000); 

lspddoor1= CreateDynamicObject(1569,253.2000000,107.6000000,1002.2000100,0.0000000,0.0000000,90.0000000);
	lspddoor2 = CreateDynamicObject(1569,253.2000000,110.6000000,1002.2000100,0.0000000,0.0000000,270.0000000);
	lspddoor3 = CreateDynamicObject(1569,239.5000000,116.1000000,1002.2000100,0.0000000,0.0000000,90.0000000);
	lspddoor4 = CreateDynamicObject(1569,239.5000000,119.1000000,1002.2000100,0.0000000,0.0000000,270.0000000);
I got this cords on SF Police HQ interior for the doors and buttons but the problem is when i am using the buttons the doors opening well but then when you exit from the interior and come back the doors are completely down on the floor .. What's the solution of this... ?
Reply


Messages In This Thread
I got problem with this doors - by RotAway - 28.07.2015, 19:54
Re: I need Help with this ! - by RotAway - 28.07.2015, 20:27
Re: I need Help with this ! - by RotAway - 29.07.2015, 10:33
Re: I need Help with this ! - by RotAway - 29.07.2015, 18:44
AW: I need Help with this ! - by Mencent - 29.07.2015, 21:26
Re: I need Help with this ! - by TenTen - 29.07.2015, 21:28
Re: I need Help with this ! - by RotAway - 30.07.2015, 07:37

Forum Jump:


Users browsing this thread: 1 Guest(s)