19.08.2016, 12:54
Hola buen dнa.. haber si me ayudan con esto, ya que no entiendo, pues estoy creando rejas pero el problema es el siguiente cree 2 rejas y funcionaban correctamente, luego cree otra y la anterior dejo de funcionar, y esta sн! їPorque? no lo entiendo, ya que dejo de funcionar cuando coloque otra, y no movн nada pensй que cometн algo mal y no, removн las rejas que abrнa creado y funcionaron de nuevo correctamente, pero las aсado y dejan de funcionar algunas.. Son por las llaves? no entiendo 

Код:
if(newkeys == KEY_CROUCH) { if(Gobierno(playerid)) { if (PlayerToPoint(15, playerid,-2734.7625,379.7803,-9.4050)) { MoveDynamicObject(Apalca,-2735.5098, 380.5146, -13.3036, 2.0); SetTimer("Closealca", 7000, 0); } } else if (Team_LSTV(playerid)) { if (PlayerToPoint(15, playerid,-2051.9419, 494.1837, 37.0603)) { MoveDynamicObject(Apradion,-2051.9419, 494.1837, 31.1515, 2.0); SetTimer("Closeradiop", 7000, 0); } else if (Team_Mecanicos(playerid)) { if (PlayerToPoint(15, playerid,-1520.2914, 874.7809, 9.0635)) { MoveDynamicObject(Aptallerr,-2051.9419, 494.1837, 31.1515, 2.0); SetTimer("Closetallerr", 7000, 0); } else if (Team_Mecanicos(playerid)) { if (PlayerToPoint(15, playerid,-1910.0209, -858.0660, 33.8170)) { MoveDynamicObject(Apdeposit,-1910.0209, -858.0660, 27.8621, 2.0); SetTimer("Closedeposi", 7000, 0); } else if (Team_FBI(playerid)) { if (PlayerToPoint(15, playerid,-1752.1857, 757.0785, 26.8627)) { MoveDynamicObject(Apdea,-1752.1857, 757.0785, 21.0581, 2.0); SetTimer("Closedea", 7000, 0); } else if (Team_Yakuza(playerid)) { if (PlayerToPoint(15, playerid,-2484.7891,-615.8773,132.5650)) { MoveDynamicObject(Apyakusa,-2485.9001, -614.9253, 128.7196, 3.0); SetTimer("Closeyakuson", 7000, 0); } else SendClientMessage(playerid,-1,"*No tienes el control de la reja"); } } } } } }