SA-MP Forums Archive
[Duvida] comando que nao funciona - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Duvida] comando que nao funciona (/showthread.php?tid=209398)



[Duvida] comando que nao funciona - argentino16 - 10.01.2011

os comandos de abrir o portao no meu Gm nao estao funcionando exceto o da dp o resto sу abre com a busina me ajudem


Re: [Duvida] comando que nao funciona - gabriel_ - 10.01.2011

Ngm й vidente, poste as linhas ¬¬


Re: [Duvida] comando que nao funciona - 385gtamaster - 10.01.2011

aff, posta ae nй, como vo resolver o erro se nгo sei onde estб o erro?


Respuesta: [Duvida] comando que nao funciona - argentino16 - 10.01.2011

Quote:

//----------------------------------{Portoes DP}--------------------------------------------
if(strcmp(cmd, "/pp2", true) == 0)
{
if ((PlayerInfo[playerid][pMembro] > 0 || PlayerInfo[playerid][pLider] > 0) || PlayerInfo[playerid][pAdmin] >= 1) { //GateInteriorCela
MoveObject( PDDOORa, 247.005905 , 72.448440 , 1006.912902,3);
ProxDetector(4.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE);
GameTextForPlayer(playerid, "~g~Aberto", 5000, 3);
SetTimer("GaragemDpClosed", 5000, false);
} else {
SendClientMessage(playerid, COLOR_YELLOW, "*** Vocк nгo estб perto do portгo ou nгo й PM ***");
}
return 1;
}
//----------------------------------{Portoes DP2}----------------------------------------
if(strcmp(cmd, "/pr", true) == 0)
{
if ((PlayerInfo[playerid][pMembro] == 1 || PlayerInfo[playerid][pLider] == 1 || PlayerInfo[playerid][pMembro] == 26 || PlayerInfo[playerid][pLider] == 26 || PlayerInfo[playerid][pMembro] == 7 || PlayerInfo[playerid][pLider] == 7 || PlayerInfo[playerid][pMembro] == 17 || PlayerInfo[playerid][pLider] == 17 || PlayerInfo[playerid][pAdmin] >= 1) && PlayerToPoint(15.0, playerid, 250.774871 , 60.822799 , 1003.640625)) { //GateGaragem
MoveObject( PDDOORb, 250.774871 , 60.822799 , 1006.862670,3);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s abriu o portгo!", sendername);
ProxDetector(4.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE);
GameTextForPlayer(playerid, "~g~Aberto", 5000, 3);
SetTimer("GaragemDpClosed2", 5000, false);
} else {
SendClientMessage(playerid, COLOR_YELLOW, "*** Vocк nгo estб perto do portгo ou nгo й PM ***");
}
return 1;
}
//----------------------------------{Portoes DP3}----------------------------------------
if(strcmp(cmd, "/pv", true) == 0)
{
if ((PlayerInfo[playerid][pMembro] == 1 || PlayerInfo[playerid][pLider] == 1 || PlayerInfo[playerid][pMembro] == 26 || PlayerInfo[playerid][pLider] == 26 || PlayerInfo[playerid][pMembro] == 13 || PlayerInfo[playerid][pLider] == 13 || PlayerInfo[playerid][pMembro] == 7 || PlayerInfo[playerid][pLider] == 7 || PlayerInfo[playerid][pMembro] == 17 || PlayerInfo[playerid][pLider] == 17 || PlayerInfo[playerid][pAdmin] >= 1) && PlayerToPoint(15.0, playerid, 248.142105 , 78.125961 , 1003.640625)) { //GateGaragem
MoveObject( PDDOORc, 248.142105 , 78.125961 , 1007.248718,3);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s abriu o portгo!", sendername);
ProxDetector(4.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE);
GameTextForPlayer(playerid, "~g~Aberto", 5000, 3);
SetTimer("pd1", 5000, false);
} else {
SendClientMessage(playerid, COLOR_RED, "*** Vocк nгo estб perto do portгo ou nгo й PM ***");
}
return 1;
}
//----------------------------------{Portoes LS}----------------------------------------
if(strcmp(cmd, "/pe", true) == 0)
{
if ((PlayerInfo[playerid][pMembro] == 1 || PlayerInfo[playerid][pLider] == 1 || PlayerInfo[playerid][pMembro] == 26 || PlayerInfo[playerid][pLider] == 26 || PlayerInfo[playerid][pMembro] == 13 || PlayerInfo[playerid][pLider] == 13 || PlayerInfo[playerid][pMembro] == 7 || PlayerInfo[playerid][pLider] == 7 || PlayerInfo[playerid][pMembro] == 17 || PlayerInfo[playerid][pLider] == 17 || PlayerInfo[playerid][pAdmin] >= 1) && PlayerToPoint(15.0, playerid, 1545.363647, -1627.847656, 15.952745)) { //GateGaragem
MoveObject( PDGATE, 1549.4428710938, -1627.880859375, 4.057502746582,3);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s abriu o portгo!", sendername);
ProxDetector(4.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE);
GameTextForPlayer(playerid, "~g~Aberto", 5000, 3);
SetTimer("pd2", 5000, false);
} else {
//SendClientMessage(playerid, COLOR_RED, "*** Vocк nгo estб perto do portгo ou nгo й PM ***");
}
return 1;
}
//----------------------------------{Portoes LS2}----------------------------------------
if(strcmp(cmd, "/pg", true) == 0)
{
if ((PlayerInfo[playerid][pMembro] == 1 || PlayerInfo[playerid][pLider] == 1 || PlayerInfo[playerid][pMembro] == 26 || PlayerInfo[playerid][pLider] == 26 || PlayerInfo[playerid][pMembro] == 13 || PlayerInfo[playerid][pLider] == 13 || PlayerInfo[playerid][pMembro] == 7 || PlayerInfo[playerid][pLider] == 7 || PlayerInfo[playerid][pMembro] == 17 || PlayerInfo[playerid][pLider] == 17 || PlayerInfo[playerid][pAdmin] >= 1) && PlayerToPoint(15.0, playerid, 1588.555786, -1637.811157, 15.91180) { //GateGaragem
MoveObject( PDGARAGE, 1588.555786, -1637.811157, 20.086790,3);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s abriu o portгo!", sendername);
ProxDetector(4.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE);
GameTextForPlayer(playerid, "~g~Aberto", 5000, 3);
SetTimer("pd3", 5000, false);
} else {
//SendClientMessage(playerid, COLOR_RED, "*** Vocк nгo estб perto do portгo ou nгo й PM ***");
}
return 1;
}
//----------------------------------{Portoes DP4}----------------------------------------
if(strcmp(cmd, "/pcc", true) == 0)
{
if ((PlayerInfo[playerid][pMembro] == 17 || PlayerInfo[playerid][pLider] == 17 || PlayerInfo[playerid][pAdmin] >= 1) && PlayerToPoint(15.0, playerid, 2237.919922, 2450.249756, 9.819965)) { //GateGaragem
MoveObject( gatepf, 2237.919922, 2457.247314, 9.819965,3);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s abriu o portгo!", sendername);
ProxDetector(4.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE);
GameTextForPlayer(playerid, "~g~Aberto", 5000, 3);
SetTimer("PFClosed", 5000, false);
} else {
//SendClientMessage(playerid, COLOR_RED, "*** Voce nao esta perto do portao ou nao e PC ***");
}
return 1;
}
//----------------------------------{Portoes DP5}----------------------------------------
if(strcmp(cmd, "/pcg", true) == 0)
{
if ((PlayerInfo[playerid][pMembro] == 17 || PlayerInfo[playerid][pLider] == 17 || PlayerInfo[playerid][pAdmin] >= 1) && PlayerToPoint(15.0, playerid, 2334.757568, 2443.675537, 8.250650)) { //GateGaragem
MoveObject( gatepf2, 2334.757568, 2443.675537, 12.200590,3);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s abriu o portгo!", sendername);
ProxDetector(4.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE);
GameTextForPlayer(playerid, "~g~Aberto", 5000, 3);
SetTimer("PFClosed2", 5000, false);
} else {
//SendClientMessage(playerid, COLOR_RED, "*** Voce nao esta perto do portao ou nao e PC ***");
}
return 1;
}
//----------------------------------{Portoes DP6}----------------------------------------
if(strcmp(cmd, "/pce", true) == 0)
{
if ((PlayerInfo[playerid][pMembro] == 17 || PlayerInfo[playerid][pLider] == 17 || PlayerInfo[playerid][pAdmin] >= 1) && PlayerToPoint(15.0, playerid, 2293.928467, 2499.322021, 5.825822)) { //GateGaragem
MoveObject( gatepf3, 2293.928467, 2506.294678, 5.825822,3);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s abriu o portгo!", sendername);
ProxDetector(4.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE);
GameTextForPlayer(playerid, "~g~Aberto", 5000, 3);
SetTimer("PFClosed3", 5000, false);
} else {
//SendClientMessage(playerid, COLOR_RED, "*** Voce nao esta perto do portao ou nao e BOPE ***");
}
return 1;
}
//----------------------------------{Portoes DP7}----------------------------------------
if(strcmp(cmd, "/pf", true) == 0)
{
if ((PlayerInfo[playerid][pMembro] == 26 || PlayerInfo[playerid][pLider] == 26 || PlayerInfo[playerid][pAdmin] >= 1) && PlayerToPoint(15.0, playerid, -1572.234741, 659.139038, 6.304377)) { //GateGaragem
MoveObject( gatepc, -1572.234741, 665.044800, 6.304377,3);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s abriu o portгo!", sendername);
ProxDetector(4.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE);
GameTextForPlayer(playerid, "~g~Aberto", 5000, 3);
SetTimer("PCClosed", 5000, false);
} else {
//SendClientMessage(playerid, COLOR_RED, "*** Voce nao esta perto do portao ou nao e PC ***");
}
return 1;
}
//----------------------------------{Portoes DP8}----------------------------------------
if(strcmp(cmd, "/ppr", true) == 0)
{
if ((PlayerInfo[playerid][pMembro] == 26 || PlayerInfo[playerid][pLider] == 26 || PlayerInfo[playerid][pAdmin] >= 1) && PlayerToPoint(15.0, playerid, -1631.062866, 688.314758, 9.757433)) { //GateGaragem
MoveObject( gatepc2, -1631.062866, 688.314758, 13.532375,3);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s abriu o portгo!", sendername);
ProxDetector(4.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE);
GameTextForPlayer(playerid, "~g~Aberto", 5000, 3);
SetTimer("PCClosed2", 5000, false);
} else {
//SendClientMessage(playerid, COLOR_RED, "*** Voce nao esta perto do portao ou nao e PC ***");
}
return 1;
}
//----------------------------------{Portoes BOPE}----------------------------------------
if(strcmp(cmd, "/pb", true) == 0)
{
if ((PlayerInfo[playerid][pMembro] == 2 || PlayerInfo[playerid][pLider] == 2 || PlayerInfo[playerid][pAdmin] >= 1) && PlayerToPoint(15.0, playerid, 1025.799316, -368.267792, 75.509537)) { //GateGaragem
MoveObject( portaobope, 1025.799316, -368.267792, 69.784447,3);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s abriu o portгo!", sendername);
ProxDetector(4.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE);
GameTextForPlayer(playerid, "~g~Aberto", 5000, 3);
SetTimer("PortaoBope", 5000, false);
} else {
//SendClientMessage(playerid, COLOR_RED, "*** Voce nao esta perto do portao ou nao e do G.T.3 ***");
}
return 1;
}
//----------------------------------{Portoes BOPE}----------------------------------------
if(strcmp(cmd, "/pb2", true) == 0)
{
if ((PlayerInfo[playerid][pMembro] == 2 || PlayerInfo[playerid][pLider] == 2) && PlayerToPoint(15.0, playerid, 283.095062, -1542.899170, 25.510294)) { //GateGaragem
MoveObject( gt3gate, 283.095062, -1542.899170, 19.385311,3);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s abriu o portгo!", sendername);
ProxDetector(4.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE);
GameTextForPlayer(playerid, "~g~Aberto", 5000, 3);
SetTimer("gt3gate2", 5000, false);
} else {
//SendClientMessage(playerid, COLOR_RED, "*** Voce nao esta perto do portao ou nao e do G.T.3 ***");
}
return 1;
}
//----------------------------------{Portoes BOPE}----------------------------------------
if(strcmp(cmd, "/pb3", true) == 0)
{
if ((PlayerInfo[playerid][pMembro] == 2 || PlayerInfo[playerid][pLider] == 2 || PlayerInfo[playerid][pAdmin] >= 1) && PlayerToPoint(15.0, playerid, 321.832672, -1488.615112, 25.527353)) { //GateGaragem
MoveObject( gt3gate3, 321.832672, -1488.615112, 18.777353,3);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s abriu o portгo!", sendername);
ProxDetector(4.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE);
GameTextForPlayer(playerid, "~g~Aberto", 5000, 3);
SetTimer("gt3gate4", 5000, false);
} else {
//SendClientMessage(playerid, COLOR_RED, "*** Voce nao esta perto do portao ou nao e do G.T.3 ***");
}
return 1;
}

//----------------------------------{Portoes Yakusa1}----------------------------------------
if(strcmp(cmd, "/ayakusa", true) == 0)
{
if ((PlayerInfo[playerid][pMembro] == 20 || PlayerInfo[playerid][pLider] == 20 || PlayerInfo[playerid][pAdmin] >= 1) && PlayerToPoint(15.0, playerid, 660.48986816406, -1227.6403808594, 17.622488021851)) { //GateGaragem
MoveObject( portaoyakusa1, 660.48986816406, -1227.6403808594, 10.622488021851,3);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s abriu o portгo!", sendername);
ProxDetector(4.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE);
GameTextForPlayer(playerid, "~g~Aberto", 5000, 3);
SetTimer("PortaoYakusaA", 5000, false);
} else {
//SendClientMessage(playerid, COLOR_RED, "*** Voce nao esta perto do portao ou nao e da Yakusa ***");
}
return 1;
}
//----------------------------------{Portoes Yakusa2}----------------------------------------
if(strcmp(cmd, "/ayakusa2", true) == 0)
{
if ((PlayerInfo[playerid][pMembro] == 20 || PlayerInfo[playerid][pLider] == 20 || PlayerInfo[playerid][pAdmin] >= 1) && PlayerToPoint(15.0, playerid, 665.03784179688, -1309.6114501953, 15.234329223633)) { //GateGaragem
MoveObject( portaoyakusa2, 665.03784179688, -1309.6114501953, 8.234329223633,3);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s abriu o portгo!", sendername);
ProxDetector(4.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE);
GameTextForPlayer(playerid, "~g~Aberto", 5000, 3);
SetTimer("PortaoYakusaB", 5000, false);
} else {
//SendClientMessage(playerid, COLOR_RED, "*** Voce nao esta perto do portao ou nao e da Yakusa ***");
}
return 1;
}
/* //----------------------------------{Portoes AeroPorto LS}----------------------------------------
if(strcmp(cmd, "/aaero", true) == 0)
{
if ((PlayerInfo[playerid][pMembro] == 14 || PlayerInfo[playerid][pLider] == 14 || PlayerInfo[playerid][pAdmin] >= 1) && PlayerToPoint(15.0, playerid, 1961.5124511719, -2189.9282226563, 15.320266723633)) { //GateGaragem
MoveObject( portaoaero, 1961.5124511719, -2189.9282226563, 8.320266723633,3);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s abriu o portгo!", sendername);
ProxDetector(4.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE);
GameTextForPlayer(playerid, "~g~Aberto", 5000, 3);
SetTimer("PortaoAero", 5000, false);
} else {
//SendClientMessage(playerid, COLOR_RED, "*** Voce nao esta perto do portao ou nao e de org do aero ***");
}
return 1;
}*/
//----------------------------------{Portoes FAB}----------------------------------------
if(strcmp(cmd, "/afab", true) == 0)
{
if ((PlayerInfo[playerid][pMembro] == 25 || PlayerInfo[playerid][pLider] == 25 || PlayerInfo[playerid][pAdmin] >= 1) && PlayerToPoint(15.0, playerid, -1545.6710205078, -430.68338012695, 7.7733912467957)) { //GateGaragem
MoveObject( portaofab, -1545.6710205078, -430.68338012695, 1.7733912467957,3);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s abriu o portгo!", sendername);
ProxDetector(4.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE);
GameTextForPlayer(playerid, "~g~Aberto", 5000, 3);
SetTimer("PortaoFAB", 5000, false);
} else {
//SendClientMessage(playerid, COLOR_RED, "*** Voce nao esta perto do portao ou nao e FAB ***");
}
return 1;
}
//----------------------------------{Portoes FAB}----------------------------------------
if(strcmp(cmd, "/afab2", true) == 0)
{
if ((PlayerInfo[playerid][pMembro] == 25 || PlayerInfo[playerid][pLider] == 25 || PlayerInfo[playerid][pAdmin] >= 1) && PlayerToPoint(15.0, playerid, -1412.2215576172, -263.64178466797, 7.7733912467957)) { //GateGaragem
MoveObject( portaofab2, -1412.2215576172, -263.64178466797, 1.7733912467957,3);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s abriu o portгo!", sendername);
ProxDetector(4.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE);
GameTextForPlayer(playerid, "~g~Aberto", 5000, 3);
SetTimer("PortaoFAB1", 5000, false);
} else {
//SendClientMessage(playerid, COLOR_RED, "*** Voce nao esta perto do portao ou nao e FAB ***");
}
return 1;
}
//----------------------------------{Portoes FAB}----------------------------------------
if(strcmp(cmd, "/afab3", true) == 0)
{
if ((PlayerInfo[playerid][pMembro] == 25 || PlayerInfo[playerid][pLider] == 25 || PlayerInfo[playerid][pAdmin] >= 1) && PlayerToPoint(15.0, playerid, -1399.591796875, -262.42752075195, 7.7733912467957)) { //GateGaragem
MoveObject( portaofab3, -1399.591796875, -262.42752075195, 1.7733912467957,3);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s abriu o portгo!", sendername);
ProxDetector(4.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE);
GameTextForPlayer(playerid, "~g~Aberto", 5000, 3);
SetTimer("PortaoFAB2", 5000, false);
} else {
//SendClientMessage(playerid, COLOR_RED, "*** Voce nao esta perto do portao ou nao e FAB ***");
}
return 1;
}
//----------------------------------{Portoes Estacionamento}----------------------------------------
if(strcmp(cmd, "/pes", true) == 0 || strcmp(cmd, "/saires",false) == 0)
{
if ((PlayerInfo[playerid][pAdmin] == 0 || PlayerInfo[playerid][pAdmin] >= 1) && PlayerToPoint(15.0, playerid, 1628.4853515625, -1664.2381591797, 15.24822807312)) { //GateGaragem
MoveObject( portaoest, 1628.4853515625, -1664.2381591797, 8.24822807312,3);
GivePlayerMoneyEx(playerid,- 1);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s pagou 1 R$ para parquear seu carro!", sendername);
ProxDetector(4.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE);
GameTextForPlayer(playerid, "~g~Estacionamento Pago(1$) ~b~Abrindo...", 5000, 3);
SetTimer("PortaoEST", 5000, false);
} else {
//SendClientMessage(playerid, COLOR_RED, "*** Voce nao esta perto do portao ou nao e FAB ***");
}
return 1;
}
//----------------------------------{Portoes AeroPorto1 LS1}----------------------------------------
if(strcmp(cmd, "/aaero1", true) == 0)
{
if ((PlayerInfo[playerid][pMembro] == 14 || PlayerInfo[playerid][pLider] == 14 || PlayerInfo[playerid][pAdmin] >= 1) && PlayerToPoint(15.0, playerid, 1930.1396484375, -2279.6845703125, 15.320266723633)) { //GateGaragem
MoveObject( portaoaero1, 1930.1396484375, -2279.6845703125, 8.320266723633,3);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s abriu o portгo!", sendername);
ProxDetector(4.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE);
GameTextForPlayer(playerid, "~g~Aberto", 5000, 3);
SetTimer("PortaoAero1", 5000, false);
} else {
//SendClientMessage(playerid, COLOR_RED, "*** Voce nao esta perto do portao ou nao e de org do aero ***");
}
return 1;
}
//----------------------------------{Portoes AeroPorto2 LS2}----------------------------------------
if(strcmp(cmd, "/aaero2", true) == 0)
{
if ((PlayerInfo[playerid][pMembro] == 14 || PlayerInfo[playerid][pLider] == 14 || PlayerInfo[playerid][pAdmin] >= 1) && PlayerToPoint(15.0, playerid, 1929.8873291016, -2268.8693847656, 15.320266723633)) { //GateGaragem
MoveObject( portaoaero2, 1929.8873291016, -2268.8693847656, 8.320266723633,3);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s abriu o portгo!", sendername);
ProxDetector(4.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE);
GameTextForPlayer(playerid, "~g~Aberto", 5000, 3);
SetTimer("PortaoAero2", 5000, false);
} else {
//SendClientMessage(playerid, COLOR_RED, "*** Voce nao esta perto do portao ou nao e de org do aero ***");
}
return 1;
}
//----------------------------------{Exercito}----------------------------------------
if(strcmp(cmd, "/abrirgn", true) == 0)
{
if ((PlayerInfo[playerid][pMembro] == 3 || PlayerInfo[playerid][pLider] == 3 || PlayerInfo[playerid][pAdmin] >= 1) && PlayerToPoint(15.0, playerid, -1534.571777, 482.578003, 6.325277)) { //GateGaragem
MoveObject( PDEx, -1542.039673, 482.578003, 6.325277,3);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s abriu o portгo!", sendername);
ProxDetector(4.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE);
GameTextForPlayer(playerid, "~g~Aberto", 5000, 3);
SetTimer("PDEx2", 5000, false);
} else {
//SendClientMessage(playerid, COLOR_RED, "*** Voce nao esta perto do portao ou nao e do Exercito ***");
}
return 1;
}

ta ai me ajudem =D


Re: [Duvida] comando que nao funciona - Bruno Pereira - 10.01.2011

Muitos portoes no Thug Life estгo errados no /ajudaemprego
Eu fui procurando atй achar o certo:

Ve se presta ae, alguns eu editei da PM:

pawn Код:
Portoes BOPE: /pb - /pb2 - /pb3

Portoes PM: /pg1 - /pg2 - /pr - /pi - /pv

Portoes PC: /pce - /pcg



Re: [Duvida] comando que nao funciona - 385gtamaster - 10.01.2011

tava precisando disso, to editando o thug tbm


Respuesta: Re: [Duvida] comando que nao funciona - argentino16 - 10.01.2011

Quote:
Originally Posted by DJ Bruninho
Посмотреть сообщение
Muitos portoes no Thug Life estгo errados no /ajudaemprego
Eu fui procurando atй achar o certo:

Ve se presta ae, alguns eu editei da PM:

pawn Код:
Portoes BOPE: /pb - /pb2 - /pb3

Portoes PM: /pg1 - /pg2 - /pr - /pi - /pv

Portoes PC: /pce - /pcg
sу o da PM q nao deu certo


Re: Respuesta: Re: [Duvida] comando que nao funciona - Bruno Pereira - 10.01.2011

Quote:
Originally Posted by argentino16
Посмотреть сообщение
sу o da PM q nao deu certo
Porque eu editei no meu GM, no seu GM os da Pm sгo

/pe e /pg

^^


Respuesta: Re: Respuesta: Re: [Duvida] comando que nao funciona - argentino16 - 10.01.2011

Quote:
Originally Posted by DJ Bruninho
Посмотреть сообщение
Porque eu editei no meu GM, no seu GM os da Pm sгo

/pe e /pg

^^
eu aperto /pg mais n vai T-T


Re: Respuesta: Re: Respuesta: Re: [Duvida] comando que nao funciona - Bruno Pereira - 10.01.2011

Quote:
Originally Posted by argentino16
Посмотреть сообщение
eu aperto /pg mais n vai T-T
Entгo vocк editou!
/pg й o portao do EST 1 e /pe й o do 2!