23.04.2010, 23:10
Olб caros colegas, analisem:
Nгo tem nenhum erro de compilaзгo, no meu ponto de vista nгo tem erro algum! Mas no jogo nгo funciona, ja tentei mudar o KEY e atй de trocar o "new" por "old" mas tambйm nгo funcionou.
Aguardo respostas...Falow!
Editado ->
- Erro de digitaзгo
Код:
if (newkeys==KEY_SECONDARY_ATTACK) { // ===== Portгo da delegacia ===== if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pMember] == 3) { if(PlayerToPoint(12.0,playerid,1588.216,-1638.297,15.155)) { MoveObject(Portao,1598.410,-1638.307,15.169,1.5); GuardaPortao = playerid; SendClientMessage(playerid,COLOR_GREEN,"Controle remoto ativado, portгo foi aberto"); } if(!PlayerToPoint(12.0,GuardaPortao,1588.216,-1638.297,15.155)) { MoveObject(Portao,1588.216,-1638.297,15.155,1.5); } } // ===== Portгo da FA ===== if(PlayerInfo[playerid][pMember] == 3) { if(PlayerToPoint(12.0,playerid,2719.8972,-2405.1828,13.633)) { MoveObject(PortaoA,2720.222,-2397.524,13.633,1.5); GuardaPortao = playerid; SendClientMessage(playerid,COLOR_GREEN,"Controle remoto ativado, portгo foi aberto"); } if(!PlayerToPoint(12.0,GuardaPortao,2719.8972,-2405.1828,13.633)) { MoveObject(PortaoA,2719.8972,-2405.1828,13.633,1.5); } } // ===== Portгo da FAB ===== if(PlayerInfo[playerid][pMember] == 3) { if(PlayerToPoint(12.0,playerid,2720.1772,-2504.3923,13.633)) { MoveObject(PortaoB,2720.261,-2495.346,13.633,1.5); GuardaPortao = playerid; SendClientMessage(playerid,COLOR_GREEN,"Controle remoto ativado, portгo foi aberto"); } if(!PlayerToPoint(12.0,GuardaPortao,2720.1772,-2504.3923,13.633)) { MoveObject(PortaoB,2720.1772,-2504.3923,13.633,1.5); } } // ===== Portгo da FAC ===== if(PlayerInfo[playerid][pMember] == 3) { if(PlayerToPoint(12.0,playerid,2771.0500,-2419.9607,9.600)) { MoveObject(PortaoC,2771.0500,-2419.9607,3.000,1.5); GuardaPortao = playerid; SendClientMessage(playerid,COLOR_GREEN,"Controle remoto ativado, portгo foi aberto"); } if(!PlayerToPoint(12.0,GuardaPortao,2771.0500,-2419.9607,9.600)) { MoveObject(PortaoC,2771.0500,-2419.9607,9.600,1.5); } } // ===== Portгo da FAD ===== if(PlayerInfo[playerid][pMember] == 3) { if(PlayerToPoint(12.0,playerid,2771.0500,-2458.0896,9.600)) { MoveObject(PortaoD,2771.0500,-2458.0896,3.000,1.5); GuardaPortao = playerid; SendClientMessage(playerid,COLOR_GREEN,"Controle remoto ativado, portгo foi aberto"); } if(!PlayerToPoint(12.0,GuardaPortao,2771.0500,-2458.0896,9.600)) { MoveObject(PortaoD,2771.0500,-2458.0896,9.600,1.5); } } // ===== Portгo da FAE ===== if(PlayerInfo[playerid][pMember] == 3) { if(PlayerToPoint(12.0,playerid,2771.0500,-2496.1295,9.600)) { MoveObject(PortaoE,2771.0500,-2496.1295,3.000,1.5); GuardaPortao = playerid; SendClientMessage(playerid,COLOR_GREEN,"Controle remoto ativado, portгo foi aberto"); } if(!PlayerToPoint(12.0,GuardaPortao,2771.0500,-2496.1295,9.600)) { MoveObject(PortaoE,2771.0500,-2496.1295,9.600,1.5); } } // ===== Portгo da PoliciaFF ===== if(PlayerInfo[playerid][pMember] == 2) { if(PlayerToPoint(12.0,playerid,320.3225,-1491.4619,21.966)) { MoveObject(PortaoF,320.3225,-1491.4619,16.216,1.5); GuardaPortao = playerid; SendClientMessage(playerid,COLOR_GREEN,"Controle remoto ativado, portгo foi aberto"); } if(!PlayerToPoint(12.0,GuardaPortao,320.3225,-1491.4619,21.966)) { MoveObject(PortaoF,320.3225,-1491.4619,21.966,1.5); } } // ===== Portгo da PoliciaFG ===== if(PlayerInfo[playerid][pMember] == 2) { if(PlayerToPoint(12.0,playerid,284.3263,-1539.7929,21.917)) { MoveObject(PortaoG,284.3263,-1539.7929,16.217,1.5); GuardaPortao = playerid; SendClientMessage(playerid,COLOR_GREEN,"Controle remoto ativado, portгo foi aberto"); } if(!PlayerToPoint(12.0,GuardaPortao,284.3263,-1539.7929,21.917)) { MoveObject(PortaoG,284.3263,-1539.7929,21.917,1.5); }
Aguardo respostas...Falow!
Editado ->
- Erro de digitaзгo