AJUDA URGENTE CRIANDO PORTOES!!!
#1

ae galera ta dando um erro na hora que vou coloca um portгo esse aqui e o meu gm:
Код:
#include <a_samp>
// Serve by: yuran
// comesso de criaзгo: 15/05/12
//termino: --/--/--
new PortaoBasePm;
new PortaoBasehq;
#if defined FILTERSCRIPT
new PortaoBasehq;
public OnFilterScriptInit()
{
	print("\nyuranserv");
	print(" Server conectado");
	print("yuran serve");
	return 1;
	

}

public OnFilterScriptExit()
{
	return 1;
}

#else

main()
{
	print("nyuranserve");
	print("yuran serve");
	print("yuranserve");
}
#endif

#include <a_sampdb>

public OnGameModeInit()

{
// Jogador Inicial
	SetGameModeText("S.D.Y");
	AddPlayerClass(23,1242.9208,-1694.3409,16.1968,178.6625,0,0,0,0,0,0);
//veiculos do comesso
    AddStaticVehicleEx(462,1245.59997559,-1724.19995117,13.19999981,0.00000000,-1,-1,15); //Faggio
    AddStaticVehicleEx(462,1244.09997559,-1724.19995117,13.19999981,0.00000000,-1,-1,15); //Faggio
    AddStaticVehicleEx(462,1242.59997559,-1724.09997559,13.19999981,0.00000000,-1,-1,15); //Faggio
    AddStaticVehicleEx(462,1241.09997559,-1724.00000000,13.19999981,0.00000000,-1,-1,15); //Faggio
    AddStaticVehicleEx(462,1239.69995117,-1724.09997559,13.19999981,0.00000000,-1,-1,15); //Faggio
    AddStaticVehicleEx(462,1238.19995117,-1724.09997559,13.19999981,0.00000000,-1,-1,15); //Faggio
    AddStaticVehicleEx(462,1236.69995117,-1724.09997559,13.19999981,0.00000000,-1,-1,15); //Faggio
    AddStaticVehicleEx(462,1235.09997559,-1724.19995117,13.19999981,0.00000000,-1,-1,15); //Faggio
    AddStaticVehicleEx(462,1245.50000000,-1728.69995117,13.19999981,0.00000000,-1,-1,15); //Faggio
    AddStaticVehicleEx(462,1243.90002441,-1728.59997559,13.19999981,0.00000000,-1,-1,15); //Faggio
    AddStaticVehicleEx(462,1242.50000000,-1728.59997559,13.19999981,0.00000000,-1,-1,15); //Faggio
    AddStaticVehicleEx(462,1241.00000000,-1728.59997559,13.19999981,0.00000000,-1,-1,15); //Faggio
    AddStaticVehicleEx(462,1239.50000000,-1728.59997559,13.19999981,0.00000000,-1,-1,15); //Faggio
    AddStaticVehicleEx(462,1238.00000000,-1728.59997559,13.19999981,0.00000000,-1,-1,15); //Faggio
    AddStaticVehicleEx(462,1236.59997559,-1728.59997559,13.19999981,0.00000000,-1,-1,15); //Faggio
    AddStaticVehicleEx(462,1235.19995117,-1728.69995117,13.19999981,0.00000000,-1,-1,15); //Faggio
//FIM motos comesso_____________________________________________________________________
//HQ dos Groove Street
	AddStaticVehicleEx(405,2486.50000000,-1682.69995117,13.30000019,270.00000000,16,16,15); //Sentinel
	AddStaticVehicleEx(536,2492.59960938,-1682.50000000,13.19999981,270.00000000,16,16,15); //Blade
	AddStaticVehicleEx(461,2501.89990234,-1680.90002441,13.10000038,34.00000000,16,16,15); //PCJ-600
	AddStaticVehicleEx(468,2502.89990234,-1680.50000000,13.10000038,38.00000000,16,16,15); //Sanchez
	AddStaticVehicleEx(521,2503.69995117,-1679.69995117,13.00000000,44.00000000,16,16,15); //FCR-900
	AddStaticVehicleEx(522,2504.30004883,-1678.90002441,13.00000000,42.00000000,16,16,15); //NRG-500
	AddStaticVehicleEx(536,2506.60009766,-1675.90002441,13.19999981,326.00000000,16,16,15); //Blade
	AddStaticVehicleEx(536,2508.19995117,-1666.09997559,13.30000019,9.99731445,16,16,15); //Blade
	AddStaticVehicleEx(536,2502.39990234,-1657.40002441,13.30000019,54.00000000,16,16,15); //Blade
	AddStaticVehicleEx(603,2499.89941406,-1684.89941406,13.39999962,21.99462891,16,86,15); //Phoenix
	AddStaticVehicleEx(487,2506.30004883,-1694.59997559,18.20000076,48.00000000,86,16,15); //Maverick
	AddStaticVehicleEx(548,2530.10009766,-1677.50000000,21.79999924,90.00000000,16,86,15); //Cargobob
	CreateObject(12950,2524.39990234,-1666.59997559,16.20000076,0.00000000,0.00000000,178.00000000); //Escada)
	CreateObject(14407,2507.19995117,-1701.69995117,14.19999981,0.00000000,0.00000000,184.00000000); //Escada
//Fim HQ GS_____________________________________________________________________________
//HQ Vagos
	AddStaticVehicleEx(474,2814.10009766,-1187.59997559,25.20000076,270.00000000,6,6,15); //Hermes
	AddStaticVehicleEx(474,2821.50000000,-1187.90002441,25.10000038,270.00000000,6,6,15); //Hermes
	AddStaticVehicleEx(474,2821.89990234,-1178.40002441,25.10000038,270.00000000,6,6,15); //Hermes
	AddStaticVehicleEx(474,2814.50000000,-1178.50000000,25.20000076,270.00000000,6,6,15); //Hermes
	AddStaticVehicleEx(551,2827.10009766,-1193.50000000,24.89999962,340.00000000,6,6,15); //Merit
	AddStaticVehicleEx(551,2827.39990234,-1171.90002441,24.89999962,221.99633789,6,6,15); //Merit
	AddStaticVehicleEx(474,2827.60009766,-1165.80004883,25.00000000,232.00000000,6,6,15); //Hermes
	AddStaticVehicleEx(603,2827.60009766,-1200.50000000,24.89999962,336.00000000,6,57,15); //Phoenix
	AddStaticVehicleEx(461,2804.19995117,-1186.00000000,25.10000038,274.00000000,6,6,15); //PCJ-600
	AddStaticVehicleEx(468,2803.89990234,-1184.40002441,25.20000076,282.00000000,6,6,15); //Sanchez
	AddStaticVehicleEx(521,2804.00000000,-1182.80004883,25.10000038,274.00000000,6,6,15); //FCR-900
	AddStaticVehicleEx(522,2804.10009766,-1181.30004883,25.10000038,278.00000000,6,6,15); //NRG-500
	AddStaticVehicleEx(563,2818.89990234,-1197.09997559,33.59999847,270.00000000,6,65,15); //Raindance
	AddStaticVehicleEx(487,2817.00000000,-1168.09997559,32.90000153,272.00000000,6,6,15); //Maverick
	CreateObject(12950,2818.69995117,-1205.30004883,28.39999962,0.00000000,0.00000000,90.00000000); //Escada
	CreateObject(14394,2819.89990234,-1202.09997559,26.89999962,0.00000000,0.00000000,180.00000000); //Escada
	CreateObject(14394,2822.19995117,-1202.09997559,25.39999962,0.00000000,0.00000000,179.99450684); //Escada
	CreateObject(14394,2823.30004883,-1202.09997559,24.70000076,0.00000000,0.00000000,179.99450684); //Escada
	CreateObject(14411,2816.89990234,-1162.30004883,27.39999962,0.00000000,0.00000000,90.00000000); //Escada
//Fim HQ Vagos___________________________________________________________________________
//HQ Balas
	AddStaticVehicleEx(405,1086.19995117,-1191.90002441,18.20000076,270.00000000,115,81,15); //Sentinel
	AddStaticVehicleEx(405,1086.09997559,-1196.00000000,18.10000038,270.00000000,115,81,15); //Sentinel
	AddStaticVehicleEx(405,1086.09997559,-1200.19995117,17.89999962,270.00000000,115,81,15); //Sentinel
	AddStaticVehicleEx(461,1107.09997559,-1191.50000000,17.89999962,180.00000000,115,1,15); //PCJ-600
	AddStaticVehicleEx(521,1108.80004883,-1191.59997559,17.79999924,180.00000000,115,1,15); //FCR-900
	AddStaticVehicleEx(522,1110.30004883,-1191.90002441,17.79999924,180.00000000,115,1,15); //NRG-500
	AddStaticVehicleEx(581,1111.80004883,-1191.90002441,17.79999924,180.00000000,115,1,15); //BF-400
	AddStaticVehicleEx(405,1119.69995117,-1194.69995117,17.50000000,89.99987793,115,81,15); //Sentinel
	AddStaticVehicleEx(405,1119.40002441,-1198.80004883,17.50000000,89.99450684,115,81,15); //Sentinel
	AddStaticVehicleEx(405,1118.00000000,-1214.69995117,17.89999962,89.99450684,115,81,15); //Sentinel
	AddStaticVehicleEx(405,1117.90002441,-1218.80004883,18.00000000,89.99450684,115,81,15); //Sentinel
	AddStaticVehicleEx(603,1096.90002441,-1182.50000000,18.39999962,180.00000000,115,42,15); //Phoenix
	AddStaticVehicleEx(487,1120.90002441,-1261.30004883,21.79999924,272.00000000,115,117,15); //Maverick
	AddStaticVehicleEx(417,1129.69995117,-1238.09997559,25.50000000,180.00000000,115,115,15); //Leviathan
	CreateObject(3605,1141.50000000,-1179.19995117,37.09999847,0.00000000,0.00000000,90.00000000); //Casarгo
	CreateObject(5130,1133.09997559,-1259.09997559,21.29999924,0.00000000,0.00000000,226.00000000); //Escada
	//FIM HQ Balas_________________________________________________________________________
	//HQ Aztecas
	AddStaticVehicleEx(405,311.79998779,-1808.69995117,4.50000000,0.00000000,106,1,15); //Sentinel
	AddStaticVehicleEx(405,314.70001221,-1808.59997559,4.50000000,0.00000000,106,1,15); //Sentinel
	AddStaticVehicleEx(405,318.00000000,-1808.69995117,4.50000000,0.00000000,106,1,15); //Sentinel
	AddStaticVehicleEx(405,321.29998779,-1808.59997559,4.50000000,0.00000000,106,1,15); //Sentinel
	AddStaticVehicleEx(405,324.29998779,-1808.50000000,4.50000000,0.00000000,106,1,15); //Sentinel
	AddStaticVehicleEx(405,327.79998779,-1808.69995117,4.50000000,0.00000000,106,1,15); //Sentinel
	AddStaticVehicleEx(461,312.00000000,-1788.50000000,4.30000019,180.00000000,7,1,15); //PCJ-600
	AddStaticVehicleEx(521,315.20001221,-1788.50000000,4.30000019,180.00000000,2,1,15); //FCR-900
	AddStaticVehicleEx(522,318.29998779,-1788.40002441,4.30000019,180.00000000,2,1,15); //NRG-500
	AddStaticVehicleEx(468,321.50000000,-1788.40002441,4.50000000,180.00000000,7,1,15); //Sanchez
	AddStaticVehicleEx(487,317.89999390,-1765.00000000,13.00000000,180.00000000,7,54,15); //Maverick
	AddStaticVehicleEx(548,305.39999390,-1759.80004883,9.60000038,180.00000000,-1,-1,15); //Cargobob
	CreateObject(8614,301.29998779,-1763.59997559,5.30000019,0.00000000,0.00000000,272.00000000); //Escada
	CreateObject(12839,326.89999390,-1762.90002441,7.40000010,0.00000000,0.00000000,180.00000000); //Escada
		//Fim HQ Aztecas_______________________________________________________________________
	//HQ Comando Vermelho
	AddStaticVehicleEx(585,2228.10009766,-1162.69995117,25.50000000,90.00000000,3,1,15); //Emperor
	AddStaticVehicleEx(585,2228.10009766,-1169.90002441,25.39999962,90.00000000,3,1,15); //Emperor
	AddStaticVehicleEx(585,2228.10009766,-1166.40002441,25.39999962,90.00000000,3,1,15); //Emperor
	AddStaticVehicleEx(585,2228.19995117,-1159.69995117,25.50000000,90.00000000,3,1,15); //Emperor
	AddStaticVehicleEx(585,2206.19995117,-1160.69995117,25.39999962,270.00000000,3,1,15); //Emperor
	AddStaticVehicleEx(585,2206.10009766,-1165.00000000,25.39999962,270.00000000,3,1,15); //Emperor
	AddStaticVehicleEx(585,2206.10009766,-1168.80004883,25.39999962,270.00000000,3,1,15); //Emperor
	AddStaticVehicleEx(585,2206.00000000,-1172.50000000,25.39999962,270.00000000,3,1,15); //Emperor
	AddStaticVehicleEx(461,2217.30004883,-1170.50000000,25.39999962,90.00000000,3,1,15); //PCJ-600
	AddStaticVehicleEx(521,2217.19995117,-1165.80004883,25.39999962,90.00000000,3,1,15); //FCR-900
	AddStaticVehicleEx(522,2217.39990234,-1161.50000000,25.39999962,90.00000000,3,1,15); //NRG-500
	AddStaticVehicleEx(581,2217.39990234,-1156.69995117,25.39999962,90.00000000,3,1,15); //BF-400
	AddStaticVehicleEx(563,2194.89990234,-1173.50000000,34.70000076,180.00000000,3,117,15); //Raindance
	AddStaticVehicleEx(487,2241.60009766,-1174.30004883,33.79999924,180.00000000,3,115,15); //Maverick
	CreateObject(12985,2201.69995117,-1176.50000000,30.70000076,0.00000000,0.00000000,0.00000000); //Escada
	CreateObject(12985,2232.60009766,-1177.30004883,30.79999924,0.00000000,0.00000000,0.00000000); //Escada
	//Fim HQ Comando Vermelhor________________________________________________________________________
	
	 //HQ Policia Militar
	 AddStaticVehicleEx(596,1577.19995117,-1610.69995117,13.19999981,180.00000000,-1,1,15); //Police Car (LSPD)
	AddStaticVehicleEx(596,1571.19995117,-1610.69995117,13.19999981,180.00000000,-1,1,15); //Police Car (LSPD)
	AddStaticVehicleEx(596,1583.69995117,-1610.69995117,13.19999981,180.00000000,-1,1,15); //Police Car (LSPD)
	AddStaticVehicleEx(596,1589.40002441,-1610.69995117,13.19999981,180.00000000,-1,1,15); //Police Car (LSPD)
	AddStaticVehicleEx(596,1595.09997559,-1610.69995117,13.19999981,180.00000000,-1,1,15); //Police Car (LSPD)
	AddStaticVehicleEx(596,1584.90002441,-1671.69995117,5.69999981,270.00000000,-1,1,15); //Police Car (LSPD)
	AddStaticVehicleEx(596,1584.90002441,-1668.00000000,5.69999981,270.00000000,-1,1,15); //Police Car (LSPD)
	AddStaticVehicleEx(596,1601.09997559,-1684.09997559,5.69999981,90.00000000,-1,1,15); //Police Car (LSPD)
	AddStaticVehicleEx(596,1601.09997559,-1688.00000000,5.69999981,90.00000000,-1,1,15); //Police Car (LSPD)
	AddStaticVehicleEx(596,1601.09997559,-1692.19995117,5.69999981,90.00000000,-1,1,15); //Police Car (LSPD)
	AddStaticVehicleEx(596,1601.09997559,-1696.40002441,5.69999981,90.00000000,-1,1,15); //Police Car (LSPD)
	AddStaticVehicleEx(596,1601.09997559,-1700.09997559,5.69999981,90.00000000,-1,1,15); //Police Car (LSPD)
	AddStaticVehicleEx(596,1601.09997559,-1704.30004883,5.69999981,90.00000000,-1,1,15); //Police Car (LSPD)
	AddStaticVehicleEx(596,1595.19995117,-1709.90002441,5.69999981,0.00000000,-1,1,15); //Police Car (LSPD)
	AddStaticVehicleEx(596,1591.40002441,-1709.90002441,5.69999981,0.00000000,-1,1,15); //Police Car (LSPD)
	AddStaticVehicleEx(596,1587.09997559,-1709.90002441,5.69999981,0.00000000,-1,1,15); //Police Car (LSPD)
	AddStaticVehicleEx(596,1583.09997559,-1709.90002441,5.69999981,0.00000000,-1,1,15); //Police Car (LSPD)
	AddStaticVehicleEx(596,1577.90002441,-1709.90002441,5.69999981,0.00000000,-1,1,15); //Police Car (LSPD)
	AddStaticVehicleEx(596,1574.19995117,-1709.90002441,5.69999981,0.00000000,-1,1,15); //Police Car (LSPD)
	AddStaticVehicleEx(596,1570.30004883,-1709.90002441,5.69999981,0.00000000,-1,1,15); //Police Car (LSPD)
	AddStaticVehicleEx(599,1529.00000000,-1688.09997559,6.30000019,270.00000000,-1,1,15); //Police Ranger
	AddStaticVehicleEx(599,1529.00000000,-1684.00000000,6.30000019,270.00000000,-1,1,15); //Police Ranger
	AddStaticVehicleEx(599,1545.00000000,-1684.19995117,6.30000019,90.00000000,-1,1,15); //Police Ranger
	AddStaticVehicleEx(599,1545.00000000,-1680.40002441,6.30000019,90.00000000,-1,1,15); //Police Ranger
	AddStaticVehicleEx(599,1545.00000000,-1676.09997559,6.30000019,90.00000000,-1,1,15); //Police Ranger
	AddStaticVehicleEx(523,1544.40002441,-1668.19995117,5.59999990,90.00000000,-1,1,15); //HPV1000
	AddStaticVehicleEx(523,1544.40002441,-1672.00000000,5.59999990,90.00000000,-1,1,15); //HPV1000
	AddStaticVehicleEx(523,1565.00000000,-1610.69995117,13.00000000,180.00000000,-1,1,15); //HPV1000
	AddStaticVehicleEx(523,1563.30004883,-1610.69995117,13.00000000,180.00000000,-1,1,15); //HPV1000
	AddStaticVehicleEx(523,1561.59997559,-1610.69995117,13.00000000,180.00000000,-1,1,15); //HPV1000
	AddStaticVehicleEx(523,1559.90002441,-1610.69995117,13.00000000,180.00000000,-1,1,15); //HPV1000
	AddStaticVehicleEx(523,1558.30004883,-1610.69995117,13.00000000,180.00000000,-1,1,15); //HPV1000
	AddStaticVehicleEx(523,1556.69995117,-1610.69995117,13.00000000,180.00000000,-1,1,15); //HPV1000
	AddStaticVehicleEx(523,1554.80004883,-1610.69995117,13.00000000,180.00000000,-1,1,15); //HPV1000
	AddStaticVehicleEx(497,1572.30004883,-1645.50000000,28.70000076,180.00000000,-1,1,15); //Police Maverick
	AddStaticVehicleEx(497,1560.40002441,-1645.50000000,28.70000076,180.00000000,-1,1,15); //Police Maverick
	AddStaticVehicleEx(497,1548.59997559,-1645.50000000,28.70000076,180.00000000,-1,1,15); //Police Maverick
	CreateObject(11547,1521.09997559,-1677.50000000,15.50000000,0.00000000,0.00000000,0.00000000); //object(desn_tscanopy) (1)
	CreateObject(16088,1547.09997559,-1625.69995117,11.60000038,0.00000000,0.00000000,0.00000000); //object(des_pipestrut01) (1)
	CreateObject(16089,1546.90002441,-1641.40002441,5.59999990,0.00000000,0.00000000,0.00000000); //object(des_pipestrut02) (1)
	CreateObject(16089,1547.19995117,-1641.09997559,7.00000000,0.00000000,0.00000000,0.00000000); //object(des_pipestrut02) (2)
	CreateObject(16089,1547.80004883,-1639.59997559,8.19999981,0.00000000,0.00000000,0.00000000); //object(des_pipestrut02) (3)
	CreateObject(16089,1547.19995117,-1639.59997559,10.10000038,0.00000000,0.00000000,0.00000000); //object(des_pipestrut02) (4)
	CreateObject(16089,1547.19995117,-1639.90002441,11.60000038,0.00000000,0.00000000,0.00000000); //object(des_pipestrut02) (5)
	CreateObject(3530,1547.00000000,-1619.80004883,12.10000038,0.00000000,0.00000000,0.00000000); //object(vgsn_constrbeam2) (1)
	CreateObject(10828,1555.69995117,-1602.30004883,16.50000000,0.00000000,0.00000000,0.00000000); //object(drydock1_sfse) (2)
	CreateObject(10828,1591.09997559,-1603.00000000,16.39999962,0.00000000,0.00000000,0.00000000); //object(drydock1_sfse) (3)
	CreateObject(10828,1607.40002441,-1619.59997559,16.29999924,0.00000000,0.00000000,90.00000000); //object(drydock1_sfse) (4)
	CreateObject(970,1539.59997559,-1605.19995117,16.60000038,0.00000000,0.00000000,90.00000000); //object(fencesmallb) (1)
	CreateObject(970,1539.59997559,-1609.30004883,16.50000000,0.00000000,0.00000000,90.00000000); //object(fencesmallb) (2)
	CreateObject(970,1539.59997559,-1613.40002441,16.50000000,0.00000000,0.00000000,90.00000000); //object(fencesmallb) (3)
	CreateObject(970,1539.90002441,-1615.69995117,16.39999962,0.00000000,0.00000000,90.00000000); //object(fencesmallb) (4)
	CreateObject(970,1541.69995117,-1617.90002441,16.39999962,0.00000000,0.00000000,0.00000000); //object(fencesmallb) (5)
	CreateObject(970,1545.40002441,-1617.90002441,16.50000000,0.00000000,0.00000000,0.00000000); //object(fencesmallb) (6)
	CreateObject(970,1605.90002441,-1638.09997559,16.50000000,0.00000000,0.00000000,0.00000000); //object(fencesmallb) (7)
	CreateObject(970,1608.00000000,-1636.00000000,16.50000000,0.00000000,0.00000000,90.00000000); //object(fencesmallb) (8)
	CreateObject(16362,1586.09997559,-1609.69995117,15.50000000,0.00000000,0.00000000,90.00000000); //object(desn2_tscanopy) (1)

	 //Fim HQ Policia Militar_________________________________________________________________________
    //HQ Taxistas
    AddStaticVehicleEx(603,2508.30004883,-1666.80004883,13.39999962,16.00000000,-1,18,15); //Phoenix
	AddStaticVehicleEx(420,1792.09997559,-1691.59997559,13.39999962,180.00000000,-1,1,15); //Taxi
	AddStaticVehicleEx(420,1798.00000000,-1691.59997559,13.39999962,180.00000000,-1,1,15); //Taxi
	AddStaticVehicleEx(420,1786.00000000,-1691.59997559,13.30000019,180.00000000,1,1,15); //Taxi
	AddStaticVehicleEx(420,1779.90002441,-1691.59997559,13.30000019,180.00000000,1,1,15); //Taxi
	AddStaticVehicleEx(420,1773.90002441,-1691.59997559,13.30000019,180.00000000,6,1,15); //Taxi
	AddStaticVehicleEx(420,1768.09997559,-1691.59997559,13.30000019,180.00000000,6,1,15); //Taxi
	AddStaticVehicleEx(420,1807.00000000,-1698.90002441,13.39999962,90.00000000,6,1,15); //Taxi
	AddStaticVehicleEx(420,1807.00000000,-1702.90002441,13.39999962,90.00000000,6,1,15); //Taxi
	AddStaticVehicleEx(420,1807.00000000,-1707.19921875,13.39999962,90.00000000,6,1,15); //Taxi
	AddStaticVehicleEx(586,1808.80004883,-1712.50000000,13.10000038,90.00000000,6,1,15); //Wayfarer
	AddStaticVehicleEx(586,1808.80004883,-1714.59997559,13.10000038,90.00000000,6,1,15); //Wayfarer
	AddStaticVehicleEx(586,1808.80004883,-1716.90002441,13.10000038,90.00000000,6,1,15); //Wayfarer
	AddStaticVehicleEx(586,1808.80004883,-1719.19995117,13.10000038,90.00000000,6,1,15); //Wayfarer
	AddStaticVehicleEx(586,1808.80004883,-1710.80004883,13.10000038,90.00000000,6,1,15); //Wayfarer
	AddStaticVehicleEx(487,1790.69995117,-1692.50000000,19.20000076,180.00000000,6,6,15); //Maverick
	AddStaticVehicleEx(487,1776.69921875,-1692.19921875,19.20000076,180.00000000,6,6,15); //Maverick
	CreateObject(16362,1783.00000000,-1692.09997559,15.60000038,0.00000000,0.00000000,90.00000000); //object(desn2_tscanopy) (1)
	CreateObject(12985,1803.69995117,-1692.40002441,16.20000076,0.00000000,0.00000000,180.00000000); //object(cos_sbanksteps05) (1)
	CreateObject(2990,1761.09997559,-1692.30004883,13.80000019,0.00000000,0.00000000,270.00000000); //object(wongs_gate) (1)
	CreateObject(2990,1766.30004883,-1686.40002441,13.69999981,0.00000000,0.00000000,0.00000000); //object(wongs_gate) (2)
	CreateObject(2990,1776.00000000,-1686.30004883,13.69999981,0.00000000,0.00000000,0.00000000); //object(wongs_gate) (3)
	CreateObject(2990,1786.00000000,-1686.40002441,13.80000019,0.00000000,0.00000000,0.00000000); //object(wongs_gate) (4)
	CreateObject(2990,1795.09997559,-1686.59997559,13.69999981,0.00000000,0.00000000,0.00000000); //object(wongs_gate) (5)
	CreateObject(2990,1805.19995117,-1686.59997559,13.69999981,0.00000000,0.00000000,0.00000000); //object(wongs_gate) (6)
	CreateObject(2990,1806.30004883,-1686.59997559,13.69999981,0.00000000,0.00000000,0.00000000); //object(wongs_gate) (7)
	CreateObject(2990,1811.19995117,-1691.59997559,13.69999981,0.00000000,0.00000000,90.00000000); //object(wongs_gate) (8)
	CreateObject(2990,1811.09997559,-1701.50000000,13.69999981,0.00000000,0.00000000,90.00000000); //object(wongs_gate) (9)
	CreateObject(2990,1811.09997559,-1711.40002441,13.69999981,0.00000000,0.00000000,90.00000000); //object(wongs_gate) (10)
	CreateObject(2990,1811.19995117,-1717.30004883,13.69999981,0.00000000,0.00000000,90.00000000); //object(wongs_gate) (11)
	CreateObject(2945,1809.59997559,-1722.09997559,15.39999962,0.00000000,0.00000000,0.00000000); //object(kmb_netting) (1)
	CreateObject(2945,1761.50000000,-1705.00000000,15.10000038,0.00000000,0.00000000,90.00000000); //object(kmb_netting) (2)
	CreateObject(971,1803.3000488281,-1721.5,13.60000038147,0.00000000,0.00000000,352.00000000); //object(kmb_netting) (2)
	//Portгo taxistas
		#include <a_sampdb>
PortaoBasehq = CreateObject(980, 1761.5, -1700.8000488281, 14, 0.0000, 0.0000, 90.0000);
}



public OnPlayerCommandText(playerid, cmdtext[])
{
   	if(strcmp(cmdtext, "/abrirpp", true) == 0)
	{
		MoveObject(PortaoBasehq, 1761.5, -1700.8000488281, 14, 3.0);
        SendClientMessage(playerid, 0x9E3EFFAA, "[INFO] Abrindo PORTAO da PM...");
		return 1;
	}
	if(strcmp(cmdtext, "/fecharpp", true) == 0)
	{
		MoveObject(PortaoBasehq, 1761.5, -1700.8000488281, 14, 3.0);
        SendClientMessage(playerid, 0x9E3EFFAA, "[INFO] Fechando PORTAO da PM...");
		return 1;
	}

}
    //Fim HQ Taxistas_________________________________________________________________________________
//_______________________________________________PORTХES_______________________________________________
	//Portгo PM Externo
	
	#include <a_sampdb>
PortaoBasePm = CreateObject(980, 1546.5, -1626.1999511719, 15.5, 0.0000, 0.0000, 90.0000);
}



public OnPlayerCommandText(playerid, cmdtext[])
{
   	if(strcmp(cmdtext, "/abrirpp", true) == 0)
	{
		MoveObject(PortaoBasePm,1546.5, -1626.1999511719, 9, 3.0);
        SendClientMessage(playerid, 0x9E3EFFAA, "[INFO] Abrindo PORTAO da HQ...");
		return 1;
	}
	if(strcmp(cmdtext, "/fecharpp", true) == 0)
	{
		MoveObject(PortaoBasePm,1546.5, -1626.1999511719, 15.5, 3.0);
        SendClientMessage(playerid, 0x9E3EFFAA, "[INFO] Fechando PORTAO da HQ...");
		return 1;
	}

}
	//Fim Portгo PM Externo____________________________________________________________________
	//Portгo Interno PM
e esses sгo os erros que estao dando porem o portao da HQ PM ta funcionando normalmente

Код:
H:\Modelo1.pwn(151) : warning 217: loose indentation
H:\Modelo1.pwn(152) : warning 217: loose indentation
H:\Modelo1.pwn(266) : warning 209: function "OnPlayerCommandText" should return a value
H:\Modelo1.pwn(272) : error 010: invalid function or declaration
H:\Modelo1.pwn(278) : error 021: symbol already defined: "OnPlayerCommandText"
H:\Modelo1.pwn(292) : warning 209: function "OnPlayerCommandText" should return a value
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
AJUDA AEEWW PLLSSSS VLWLWWW
Reply
#2

Deleta ums public OnPlayerCommandText ._.
Reply
#3

quando eu tiro qual quer que seja os OnPlayerCommandText da 7 erros a +
Reply
#4

Tem duas publics OnPlayerCommandText com a mesma funзгo apaga uma LoL.
Reply
#5

pawn Код:
#include <a_samp>
// Serve by: yuran
// comesso de criaзгo: 15/05/12
//termino: --/--/--
new PortaoBasePm;
new PortaoBasehq;
#if defined FILTERSCRIPT
new PortaoBasehq;
public OnFilterScriptInit()
{
    print("\nyuranserv");
    print(" Server conectado");
    print("yuran serve");
    return 1;
   

}

public OnFilterScriptExit()
{
    return 1;
}

#else

main()
{
    print("nyuranserve");
    print("yuran serve");
    print("yuranserve");
}
#endif

#include <a_sampdb>

public OnGameModeInit()

{
// Jogador Inicial
    SetGameModeText("S.D.Y");
    AddPlayerClass(23,1242.9208,-1694.3409,16.1968,178.6625,0,0,0,0,0,0);
//veiculos do comesso
    AddStaticVehicleEx(462,1245.59997559,-1724.19995117,13.19999981,0.00000000,-1,-1,15); //Faggio
    AddStaticVehicleEx(462,1244.09997559,-1724.19995117,13.19999981,0.00000000,-1,-1,15); //Faggio
    AddStaticVehicleEx(462,1242.59997559,-1724.09997559,13.19999981,0.00000000,-1,-1,15); //Faggio
    AddStaticVehicleEx(462,1241.09997559,-1724.00000000,13.19999981,0.00000000,-1,-1,15); //Faggio
    AddStaticVehicleEx(462,1239.69995117,-1724.09997559,13.19999981,0.00000000,-1,-1,15); //Faggio
    AddStaticVehicleEx(462,1238.19995117,-1724.09997559,13.19999981,0.00000000,-1,-1,15); //Faggio
    AddStaticVehicleEx(462,1236.69995117,-1724.09997559,13.19999981,0.00000000,-1,-1,15); //Faggio
    AddStaticVehicleEx(462,1235.09997559,-1724.19995117,13.19999981,0.00000000,-1,-1,15); //Faggio
    AddStaticVehicleEx(462,1245.50000000,-1728.69995117,13.19999981,0.00000000,-1,-1,15); //Faggio
    AddStaticVehicleEx(462,1243.90002441,-1728.59997559,13.19999981,0.00000000,-1,-1,15); //Faggio
    AddStaticVehicleEx(462,1242.50000000,-1728.59997559,13.19999981,0.00000000,-1,-1,15); //Faggio
    AddStaticVehicleEx(462,1241.00000000,-1728.59997559,13.19999981,0.00000000,-1,-1,15); //Faggio
    AddStaticVehicleEx(462,1239.50000000,-1728.59997559,13.19999981,0.00000000,-1,-1,15); //Faggio
    AddStaticVehicleEx(462,1238.00000000,-1728.59997559,13.19999981,0.00000000,-1,-1,15); //Faggio
    AddStaticVehicleEx(462,1236.59997559,-1728.59997559,13.19999981,0.00000000,-1,-1,15); //Faggio
    AddStaticVehicleEx(462,1235.19995117,-1728.69995117,13.19999981,0.00000000,-1,-1,15); //Faggio
//FIM motos comesso_____________________________________________________________________
//HQ dos Groove Street
    AddStaticVehicleEx(405,2486.50000000,-1682.69995117,13.30000019,270.00000000,16,16,15); //Sentinel
    AddStaticVehicleEx(536,2492.59960938,-1682.50000000,13.19999981,270.00000000,16,16,15); //Blade
    AddStaticVehicleEx(461,2501.89990234,-1680.90002441,13.10000038,34.00000000,16,16,15); //PCJ-600
    AddStaticVehicleEx(468,2502.89990234,-1680.50000000,13.10000038,38.00000000,16,16,15); //Sanchez
    AddStaticVehicleEx(521,2503.69995117,-1679.69995117,13.00000000,44.00000000,16,16,15); //FCR-900
    AddStaticVehicleEx(522,2504.30004883,-1678.90002441,13.00000000,42.00000000,16,16,15); //NRG-500
    AddStaticVehicleEx(536,2506.60009766,-1675.90002441,13.19999981,326.00000000,16,16,15); //Blade
    AddStaticVehicleEx(536,2508.19995117,-1666.09997559,13.30000019,9.99731445,16,16,15); //Blade
    AddStaticVehicleEx(536,2502.39990234,-1657.40002441,13.30000019,54.00000000,16,16,15); //Blade
    AddStaticVehicleEx(603,2499.89941406,-1684.89941406,13.39999962,21.99462891,16,86,15); //Phoenix
    AddStaticVehicleEx(487,2506.30004883,-1694.59997559,18.20000076,48.00000000,86,16,15); //Maverick
    AddStaticVehicleEx(548,2530.10009766,-1677.50000000,21.79999924,90.00000000,16,86,15); //Cargobob
    CreateObject(12950,2524.39990234,-1666.59997559,16.20000076,0.00000000,0.00000000,178.00000000); //Escada)
    CreateObject(14407,2507.19995117,-1701.69995117,14.19999981,0.00000000,0.00000000,184.00000000); //Escada
//Fim HQ GS_____________________________________________________________________________
//HQ Vagos
    AddStaticVehicleEx(474,2814.10009766,-1187.59997559,25.20000076,270.00000000,6,6,15); //Hermes
    AddStaticVehicleEx(474,2821.50000000,-1187.90002441,25.10000038,270.00000000,6,6,15); //Hermes
    AddStaticVehicleEx(474,2821.89990234,-1178.40002441,25.10000038,270.00000000,6,6,15); //Hermes
    AddStaticVehicleEx(474,2814.50000000,-1178.50000000,25.20000076,270.00000000,6,6,15); //Hermes
    AddStaticVehicleEx(551,2827.10009766,-1193.50000000,24.89999962,340.00000000,6,6,15); //Merit
    AddStaticVehicleEx(551,2827.39990234,-1171.90002441,24.89999962,221.99633789,6,6,15); //Merit
    AddStaticVehicleEx(474,2827.60009766,-1165.80004883,25.00000000,232.00000000,6,6,15); //Hermes
    AddStaticVehicleEx(603,2827.60009766,-1200.50000000,24.89999962,336.00000000,6,57,15); //Phoenix
    AddStaticVehicleEx(461,2804.19995117,-1186.00000000,25.10000038,274.00000000,6,6,15); //PCJ-600
    AddStaticVehicleEx(468,2803.89990234,-1184.40002441,25.20000076,282.00000000,6,6,15); //Sanchez
    AddStaticVehicleEx(521,2804.00000000,-1182.80004883,25.10000038,274.00000000,6,6,15); //FCR-900
    AddStaticVehicleEx(522,2804.10009766,-1181.30004883,25.10000038,278.00000000,6,6,15); //NRG-500
    AddStaticVehicleEx(563,2818.89990234,-1197.09997559,33.59999847,270.00000000,6,65,15); //Raindance
    AddStaticVehicleEx(487,2817.00000000,-1168.09997559,32.90000153,272.00000000,6,6,15); //Maverick
    CreateObject(12950,2818.69995117,-1205.30004883,28.39999962,0.00000000,0.00000000,90.00000000); //Escada
    CreateObject(14394,2819.89990234,-1202.09997559,26.89999962,0.00000000,0.00000000,180.00000000); //Escada
    CreateObject(14394,2822.19995117,-1202.09997559,25.39999962,0.00000000,0.00000000,179.99450684); //Escada
    CreateObject(14394,2823.30004883,-1202.09997559,24.70000076,0.00000000,0.00000000,179.99450684); //Escada
    CreateObject(14411,2816.89990234,-1162.30004883,27.39999962,0.00000000,0.00000000,90.00000000); //Escada
//Fim HQ Vagos___________________________________________________________________________
//HQ Balas
    AddStaticVehicleEx(405,1086.19995117,-1191.90002441,18.20000076,270.00000000,115,81,15); //Sentinel
    AddStaticVehicleEx(405,1086.09997559,-1196.00000000,18.10000038,270.00000000,115,81,15); //Sentinel
    AddStaticVehicleEx(405,1086.09997559,-1200.19995117,17.89999962,270.00000000,115,81,15); //Sentinel
    AddStaticVehicleEx(461,1107.09997559,-1191.50000000,17.89999962,180.00000000,115,1,15); //PCJ-600
    AddStaticVehicleEx(521,1108.80004883,-1191.59997559,17.79999924,180.00000000,115,1,15); //FCR-900
    AddStaticVehicleEx(522,1110.30004883,-1191.90002441,17.79999924,180.00000000,115,1,15); //NRG-500
    AddStaticVehicleEx(581,1111.80004883,-1191.90002441,17.79999924,180.00000000,115,1,15); //BF-400
    AddStaticVehicleEx(405,1119.69995117,-1194.69995117,17.50000000,89.99987793,115,81,15); //Sentinel
    AddStaticVehicleEx(405,1119.40002441,-1198.80004883,17.50000000,89.99450684,115,81,15); //Sentinel
    AddStaticVehicleEx(405,1118.00000000,-1214.69995117,17.89999962,89.99450684,115,81,15); //Sentinel
    AddStaticVehicleEx(405,1117.90002441,-1218.80004883,18.00000000,89.99450684,115,81,15); //Sentinel
    AddStaticVehicleEx(603,1096.90002441,-1182.50000000,18.39999962,180.00000000,115,42,15); //Phoenix
    AddStaticVehicleEx(487,1120.90002441,-1261.30004883,21.79999924,272.00000000,115,117,15); //Maverick
    AddStaticVehicleEx(417,1129.69995117,-1238.09997559,25.50000000,180.00000000,115,115,15); //Leviathan
    CreateObject(3605,1141.50000000,-1179.19995117,37.09999847,0.00000000,0.00000000,90.00000000); //Casarгo
    CreateObject(5130,1133.09997559,-1259.09997559,21.29999924,0.00000000,0.00000000,226.00000000); //Escada
    //FIM HQ Balas_________________________________________________________________________
    //HQ Aztecas
    AddStaticVehicleEx(405,311.79998779,-1808.69995117,4.50000000,0.00000000,106,1,15); //Sentinel
    AddStaticVehicleEx(405,314.70001221,-1808.59997559,4.50000000,0.00000000,106,1,15); //Sentinel
    AddStaticVehicleEx(405,318.00000000,-1808.69995117,4.50000000,0.00000000,106,1,15); //Sentinel
    AddStaticVehicleEx(405,321.29998779,-1808.59997559,4.50000000,0.00000000,106,1,15); //Sentinel
    AddStaticVehicleEx(405,324.29998779,-1808.50000000,4.50000000,0.00000000,106,1,15); //Sentinel
    AddStaticVehicleEx(405,327.79998779,-1808.69995117,4.50000000,0.00000000,106,1,15); //Sentinel
    AddStaticVehicleEx(461,312.00000000,-1788.50000000,4.30000019,180.00000000,7,1,15); //PCJ-600
    AddStaticVehicleEx(521,315.20001221,-1788.50000000,4.30000019,180.00000000,2,1,15); //FCR-900
    AddStaticVehicleEx(522,318.29998779,-1788.40002441,4.30000019,180.00000000,2,1,15); //NRG-500
    AddStaticVehicleEx(468,321.50000000,-1788.40002441,4.50000000,180.00000000,7,1,15); //Sanchez
    AddStaticVehicleEx(487,317.89999390,-1765.00000000,13.00000000,180.00000000,7,54,15); //Maverick
    AddStaticVehicleEx(548,305.39999390,-1759.80004883,9.60000038,180.00000000,-1,-1,15); //Cargobob
    CreateObject(8614,301.29998779,-1763.59997559,5.30000019,0.00000000,0.00000000,272.00000000); //Escada
    CreateObject(12839,326.89999390,-1762.90002441,7.40000010,0.00000000,0.00000000,180.00000000); //Escada
        //Fim HQ Aztecas_______________________________________________________________________
    //HQ Comando Vermelho
    AddStaticVehicleEx(585,2228.10009766,-1162.69995117,25.50000000,90.00000000,3,1,15); //Emperor
    AddStaticVehicleEx(585,2228.10009766,-1169.90002441,25.39999962,90.00000000,3,1,15); //Emperor
    AddStaticVehicleEx(585,2228.10009766,-1166.40002441,25.39999962,90.00000000,3,1,15); //Emperor
    AddStaticVehicleEx(585,2228.19995117,-1159.69995117,25.50000000,90.00000000,3,1,15); //Emperor
    AddStaticVehicleEx(585,2206.19995117,-1160.69995117,25.39999962,270.00000000,3,1,15); //Emperor
    AddStaticVehicleEx(585,2206.10009766,-1165.00000000,25.39999962,270.00000000,3,1,15); //Emperor
    AddStaticVehicleEx(585,2206.10009766,-1168.80004883,25.39999962,270.00000000,3,1,15); //Emperor
    AddStaticVehicleEx(585,2206.00000000,-1172.50000000,25.39999962,270.00000000,3,1,15); //Emperor
    AddStaticVehicleEx(461,2217.30004883,-1170.50000000,25.39999962,90.00000000,3,1,15); //PCJ-600
    AddStaticVehicleEx(521,2217.19995117,-1165.80004883,25.39999962,90.00000000,3,1,15); //FCR-900
    AddStaticVehicleEx(522,2217.39990234,-1161.50000000,25.39999962,90.00000000,3,1,15); //NRG-500
    AddStaticVehicleEx(581,2217.39990234,-1156.69995117,25.39999962,90.00000000,3,1,15); //BF-400
    AddStaticVehicleEx(563,2194.89990234,-1173.50000000,34.70000076,180.00000000,3,117,15); //Raindance
    AddStaticVehicleEx(487,2241.60009766,-1174.30004883,33.79999924,180.00000000,3,115,15); //Maverick
    CreateObject(12985,2201.69995117,-1176.50000000,30.70000076,0.00000000,0.00000000,0.00000000); //Escada
    CreateObject(12985,2232.60009766,-1177.30004883,30.79999924,0.00000000,0.00000000,0.00000000); //Escada
    //Fim HQ Comando Vermelhor________________________________________________________________________
   
     //HQ Policia Militar
     AddStaticVehicleEx(596,1577.19995117,-1610.69995117,13.19999981,180.00000000,-1,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(596,1571.19995117,-1610.69995117,13.19999981,180.00000000,-1,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(596,1583.69995117,-1610.69995117,13.19999981,180.00000000,-1,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(596,1589.40002441,-1610.69995117,13.19999981,180.00000000,-1,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(596,1595.09997559,-1610.69995117,13.19999981,180.00000000,-1,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(596,1584.90002441,-1671.69995117,5.69999981,270.00000000,-1,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(596,1584.90002441,-1668.00000000,5.69999981,270.00000000,-1,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(596,1601.09997559,-1684.09997559,5.69999981,90.00000000,-1,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(596,1601.09997559,-1688.00000000,5.69999981,90.00000000,-1,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(596,1601.09997559,-1692.19995117,5.69999981,90.00000000,-1,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(596,1601.09997559,-1696.40002441,5.69999981,90.00000000,-1,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(596,1601.09997559,-1700.09997559,5.69999981,90.00000000,-1,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(596,1601.09997559,-1704.30004883,5.69999981,90.00000000,-1,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(596,1595.19995117,-1709.90002441,5.69999981,0.00000000,-1,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(596,1591.40002441,-1709.90002441,5.69999981,0.00000000,-1,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(596,1587.09997559,-1709.90002441,5.69999981,0.00000000,-1,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(596,1583.09997559,-1709.90002441,5.69999981,0.00000000,-1,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(596,1577.90002441,-1709.90002441,5.69999981,0.00000000,-1,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(596,1574.19995117,-1709.90002441,5.69999981,0.00000000,-1,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(596,1570.30004883,-1709.90002441,5.69999981,0.00000000,-1,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(599,1529.00000000,-1688.09997559,6.30000019,270.00000000,-1,1,15); //Police Ranger
    AddStaticVehicleEx(599,1529.00000000,-1684.00000000,6.30000019,270.00000000,-1,1,15); //Police Ranger
    AddStaticVehicleEx(599,1545.00000000,-1684.19995117,6.30000019,90.00000000,-1,1,15); //Police Ranger
    AddStaticVehicleEx(599,1545.00000000,-1680.40002441,6.30000019,90.00000000,-1,1,15); //Police Ranger
    AddStaticVehicleEx(599,1545.00000000,-1676.09997559,6.30000019,90.00000000,-1,1,15); //Police Ranger
    AddStaticVehicleEx(523,1544.40002441,-1668.19995117,5.59999990,90.00000000,-1,1,15); //HPV1000
    AddStaticVehicleEx(523,1544.40002441,-1672.00000000,5.59999990,90.00000000,-1,1,15); //HPV1000
    AddStaticVehicleEx(523,1565.00000000,-1610.69995117,13.00000000,180.00000000,-1,1,15); //HPV1000
    AddStaticVehicleEx(523,1563.30004883,-1610.69995117,13.00000000,180.00000000,-1,1,15); //HPV1000
    AddStaticVehicleEx(523,1561.59997559,-1610.69995117,13.00000000,180.00000000,-1,1,15); //HPV1000
    AddStaticVehicleEx(523,1559.90002441,-1610.69995117,13.00000000,180.00000000,-1,1,15); //HPV1000
    AddStaticVehicleEx(523,1558.30004883,-1610.69995117,13.00000000,180.00000000,-1,1,15); //HPV1000
    AddStaticVehicleEx(523,1556.69995117,-1610.69995117,13.00000000,180.00000000,-1,1,15); //HPV1000
    AddStaticVehicleEx(523,1554.80004883,-1610.69995117,13.00000000,180.00000000,-1,1,15); //HPV1000
    AddStaticVehicleEx(497,1572.30004883,-1645.50000000,28.70000076,180.00000000,-1,1,15); //Police Maverick
    AddStaticVehicleEx(497,1560.40002441,-1645.50000000,28.70000076,180.00000000,-1,1,15); //Police Maverick
    AddStaticVehicleEx(497,1548.59997559,-1645.50000000,28.70000076,180.00000000,-1,1,15); //Police Maverick
    CreateObject(11547,1521.09997559,-1677.50000000,15.50000000,0.00000000,0.00000000,0.00000000); //object(desn_tscanopy) (1)
    CreateObject(16088,1547.09997559,-1625.69995117,11.60000038,0.00000000,0.00000000,0.00000000); //object(des_pipestrut01) (1)
    CreateObject(16089,1546.90002441,-1641.40002441,5.59999990,0.00000000,0.00000000,0.00000000); //object(des_pipestrut02) (1)
    CreateObject(16089,1547.19995117,-1641.09997559,7.00000000,0.00000000,0.00000000,0.00000000); //object(des_pipestrut02) (2)
    CreateObject(16089,1547.80004883,-1639.59997559,8.19999981,0.00000000,0.00000000,0.00000000); //object(des_pipestrut02) (3)
    CreateObject(16089,1547.19995117,-1639.59997559,10.10000038,0.00000000,0.00000000,0.00000000); //object(des_pipestrut02) (4)
    CreateObject(16089,1547.19995117,-1639.90002441,11.60000038,0.00000000,0.00000000,0.00000000); //object(des_pipestrut02) (5)
    CreateObject(3530,1547.00000000,-1619.80004883,12.10000038,0.00000000,0.00000000,0.00000000); //object(vgsn_constrbeam2) (1)
    CreateObject(10828,1555.69995117,-1602.30004883,16.50000000,0.00000000,0.00000000,0.00000000); //object(drydock1_sfse) (2)
    CreateObject(10828,1591.09997559,-1603.00000000,16.39999962,0.00000000,0.00000000,0.00000000); //object(drydock1_sfse) (3)
    CreateObject(10828,1607.40002441,-1619.59997559,16.29999924,0.00000000,0.00000000,90.00000000); //object(drydock1_sfse) (4)
    CreateObject(970,1539.59997559,-1605.19995117,16.60000038,0.00000000,0.00000000,90.00000000); //object(fencesmallb) (1)
    CreateObject(970,1539.59997559,-1609.30004883,16.50000000,0.00000000,0.00000000,90.00000000); //object(fencesmallb) (2)
    CreateObject(970,1539.59997559,-1613.40002441,16.50000000,0.00000000,0.00000000,90.00000000); //object(fencesmallb) (3)
    CreateObject(970,1539.90002441,-1615.69995117,16.39999962,0.00000000,0.00000000,90.00000000); //object(fencesmallb) (4)
    CreateObject(970,1541.69995117,-1617.90002441,16.39999962,0.00000000,0.00000000,0.00000000); //object(fencesmallb) (5)
    CreateObject(970,1545.40002441,-1617.90002441,16.50000000,0.00000000,0.00000000,0.00000000); //object(fencesmallb) (6)
    CreateObject(970,1605.90002441,-1638.09997559,16.50000000,0.00000000,0.00000000,0.00000000); //object(fencesmallb) (7)
    CreateObject(970,1608.00000000,-1636.00000000,16.50000000,0.00000000,0.00000000,90.00000000); //object(fencesmallb) (8)
    CreateObject(16362,1586.09997559,-1609.69995117,15.50000000,0.00000000,0.00000000,90.00000000); //object(desn2_tscanopy) (1)

     //Fim HQ Policia Militar_________________________________________________________________________
    //HQ Taxistas
    AddStaticVehicleEx(603,2508.30004883,-1666.80004883,13.39999962,16.00000000,-1,18,15); //Phoenix
    AddStaticVehicleEx(420,1792.09997559,-1691.59997559,13.39999962,180.00000000,-1,1,15); //Taxi
    AddStaticVehicleEx(420,1798.00000000,-1691.59997559,13.39999962,180.00000000,-1,1,15); //Taxi
    AddStaticVehicleEx(420,1786.00000000,-1691.59997559,13.30000019,180.00000000,1,1,15); //Taxi
    AddStaticVehicleEx(420,1779.90002441,-1691.59997559,13.30000019,180.00000000,1,1,15); //Taxi
    AddStaticVehicleEx(420,1773.90002441,-1691.59997559,13.30000019,180.00000000,6,1,15); //Taxi
    AddStaticVehicleEx(420,1768.09997559,-1691.59997559,13.30000019,180.00000000,6,1,15); //Taxi
    AddStaticVehicleEx(420,1807.00000000,-1698.90002441,13.39999962,90.00000000,6,1,15); //Taxi
    AddStaticVehicleEx(420,1807.00000000,-1702.90002441,13.39999962,90.00000000,6,1,15); //Taxi
    AddStaticVehicleEx(420,1807.00000000,-1707.19921875,13.39999962,90.00000000,6,1,15); //Taxi
    AddStaticVehicleEx(586,1808.80004883,-1712.50000000,13.10000038,90.00000000,6,1,15); //Wayfarer
    AddStaticVehicleEx(586,1808.80004883,-1714.59997559,13.10000038,90.00000000,6,1,15); //Wayfarer
    AddStaticVehicleEx(586,1808.80004883,-1716.90002441,13.10000038,90.00000000,6,1,15); //Wayfarer
    AddStaticVehicleEx(586,1808.80004883,-1719.19995117,13.10000038,90.00000000,6,1,15); //Wayfarer
    AddStaticVehicleEx(586,1808.80004883,-1710.80004883,13.10000038,90.00000000,6,1,15); //Wayfarer
    AddStaticVehicleEx(487,1790.69995117,-1692.50000000,19.20000076,180.00000000,6,6,15); //Maverick
    AddStaticVehicleEx(487,1776.69921875,-1692.19921875,19.20000076,180.00000000,6,6,15); //Maverick
    CreateObject(16362,1783.00000000,-1692.09997559,15.60000038,0.00000000,0.00000000,90.00000000); //object(desn2_tscanopy) (1)
    CreateObject(12985,1803.69995117,-1692.40002441,16.20000076,0.00000000,0.00000000,180.00000000); //object(cos_sbanksteps05) (1)
    CreateObject(2990,1761.09997559,-1692.30004883,13.80000019,0.00000000,0.00000000,270.00000000); //object(wongs_gate) (1)
    CreateObject(2990,1766.30004883,-1686.40002441,13.69999981,0.00000000,0.00000000,0.00000000); //object(wongs_gate) (2)
    CreateObject(2990,1776.00000000,-1686.30004883,13.69999981,0.00000000,0.00000000,0.00000000); //object(wongs_gate) (3)
    CreateObject(2990,1786.00000000,-1686.40002441,13.80000019,0.00000000,0.00000000,0.00000000); //object(wongs_gate) (4)
    CreateObject(2990,1795.09997559,-1686.59997559,13.69999981,0.00000000,0.00000000,0.00000000); //object(wongs_gate) (5)
    CreateObject(2990,1805.19995117,-1686.59997559,13.69999981,0.00000000,0.00000000,0.00000000); //object(wongs_gate) (6)
    CreateObject(2990,1806.30004883,-1686.59997559,13.69999981,0.00000000,0.00000000,0.00000000); //object(wongs_gate) (7)
    CreateObject(2990,1811.19995117,-1691.59997559,13.69999981,0.00000000,0.00000000,90.00000000); //object(wongs_gate) (8)
    CreateObject(2990,1811.09997559,-1701.50000000,13.69999981,0.00000000,0.00000000,90.00000000); //object(wongs_gate) (9)
    CreateObject(2990,1811.09997559,-1711.40002441,13.69999981,0.00000000,0.00000000,90.00000000); //object(wongs_gate) (10)
    CreateObject(2990,1811.19995117,-1717.30004883,13.69999981,0.00000000,0.00000000,90.00000000); //object(wongs_gate) (11)
    CreateObject(2945,1809.59997559,-1722.09997559,15.39999962,0.00000000,0.00000000,0.00000000); //object(kmb_netting) (1)
    CreateObject(2945,1761.50000000,-1705.00000000,15.10000038,0.00000000,0.00000000,90.00000000); //object(kmb_netting) (2)
    CreateObject(971,1803.3000488281,-1721.5,13.60000038147,0.00000000,0.00000000,352.00000000); //object(kmb_netting) (2)
    //Portгo taxistas
        #include <a_sampdb>
PortaoBasehq = CreateObject(980, 1761.5, -1700.8000488281, 14, 0.0000, 0.0000, 90.0000);
}



public OnPlayerCommandText(playerid, cmdtext[])
{
    if(strcmp(cmdtext, "/abrirpp", true) == 0)
    {
        MoveObject(PortaoBasehq, 1761.5, -1700.8000488281, 14, 3.0);
        SendClientMessage(playerid, 0x9E3EFFAA, "[INFO] Abrindo PORTAO da PM...");
        return 1;
    }
    if(strcmp(cmdtext, "/fecharpp", true) == 0)
    {
        MoveObject(PortaoBasehq, 1761.5, -1700.8000488281, 14, 3.0);
        SendClientMessage(playerid, 0x9E3EFFAA, "[INFO] Fechando PORTAO da PM...");
        return 1;
    }

}
    //Fim HQ Taxistas_________________________________________________________________________________
//_______________________________________________PORTХES_______________________________________________
    //Portгo PM Externo
   
    #include <a_sampdb>
PortaoBasePm = CreateObject(980, 1546.5, -1626.1999511719, 15.5, 0.0000, 0.0000, 90.0000);
}

    //Fim Portгo PM Externo____________________________________________________________________
    //Portгo Interno PM
Prontinho =)
Reply
#6

Ainda deu um erro base portaoPM :S:S:S:S
Reply
#7

Quote:
Originally Posted by yuran-kun
Посмотреть сообщение
Ainda deu um erro base portaoPM :S:S:S:S
manda linha do erro + erro.
Reply
#8

esses:
Код:
H:\Modelo1.pwn(151) : warning 217: loose indentation
H:\Modelo1.pwn(152) : warning 217: loose indentation
H:\Modelo1.pwn(265) : warning 209: function "OnPlayerCommandText" should return a value
H:\Modelo1.pwn(271) : error 010: invalid function or declaration
H:\Modelo1.pwn(277) : error 055: start of function body without function header
H:\Modelo1.pwn(278) : error 010: invalid function or declaration
H:\Modelo1.pwn(282) : error 010: invalid function or declaration
H:\Modelo1.pwn(284) : error 010: invalid function or declaration
H:\Modelo1.pwn(288) : error 010: invalid function or declaration
H:\Modelo1.pwn(291) : error 054: unmatched closing brace ("}")
H:\Modelo1.pwn(294) : warning 203: symbol is never used: "PortaoBasePm"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


7 Errors.
Reply
#9

pawn Код:
#include <a_samp>
// Serve by: yuran
// comesso de criaзгo: 15/05/12
//termino: --/--/--
new PortaoBasePm;
new PortaoBasehq;
#if defined FILTERSCRIPT
new PortaoBasehq;
public OnFilterScriptInit()
{
    print("\nyuranserv");
    print(" Server conectado");
    print("yuran serve");
    return 1;


}

public OnFilterScriptExit()
{
    return 1;
}

#else

main()
{
    print("nyuranserve");
    print("yuran serve");
    print("yuranserve");
}
#endif

#include <a_sampdb>

public OnGameModeInit()

{
// Jogador Inicial
    SetGameModeText("S.D.Y");
    AddPlayerClass(23,1242.9208,-1694.3409,16.1968,178.6625,0,0,0,0,0,0);
//veiculos do comesso
    AddStaticVehicleEx(462,1245.59997559,-1724.19995117,13.19999981,0.00000000,-1,-1,15); //Faggio
    AddStaticVehicleEx(462,1244.09997559,-1724.19995117,13.19999981,0.00000000,-1,-1,15); //Faggio
    AddStaticVehicleEx(462,1242.59997559,-1724.09997559,13.19999981,0.00000000,-1,-1,15); //Faggio
    AddStaticVehicleEx(462,1241.09997559,-1724.00000000,13.19999981,0.00000000,-1,-1,15); //Faggio
    AddStaticVehicleEx(462,1239.69995117,-1724.09997559,13.19999981,0.00000000,-1,-1,15); //Faggio
    AddStaticVehicleEx(462,1238.19995117,-1724.09997559,13.19999981,0.00000000,-1,-1,15); //Faggio
    AddStaticVehicleEx(462,1236.69995117,-1724.09997559,13.19999981,0.00000000,-1,-1,15); //Faggio
    AddStaticVehicleEx(462,1235.09997559,-1724.19995117,13.19999981,0.00000000,-1,-1,15); //Faggio
    AddStaticVehicleEx(462,1245.50000000,-1728.69995117,13.19999981,0.00000000,-1,-1,15); //Faggio
    AddStaticVehicleEx(462,1243.90002441,-1728.59997559,13.19999981,0.00000000,-1,-1,15); //Faggio
    AddStaticVehicleEx(462,1242.50000000,-1728.59997559,13.19999981,0.00000000,-1,-1,15); //Faggio
    AddStaticVehicleEx(462,1241.00000000,-1728.59997559,13.19999981,0.00000000,-1,-1,15); //Faggio
    AddStaticVehicleEx(462,1239.50000000,-1728.59997559,13.19999981,0.00000000,-1,-1,15); //Faggio
    AddStaticVehicleEx(462,1238.00000000,-1728.59997559,13.19999981,0.00000000,-1,-1,15); //Faggio
    AddStaticVehicleEx(462,1236.59997559,-1728.59997559,13.19999981,0.00000000,-1,-1,15); //Faggio
    AddStaticVehicleEx(462,1235.19995117,-1728.69995117,13.19999981,0.00000000,-1,-1,15); //Faggio
//FIM motos comesso_____________________________________________________________________
//HQ dos Groove Street
    AddStaticVehicleEx(405,2486.50000000,-1682.69995117,13.30000019,270.00000000,16,16,15); //Sentinel
    AddStaticVehicleEx(536,2492.59960938,-1682.50000000,13.19999981,270.00000000,16,16,15); //Blade
    AddStaticVehicleEx(461,2501.89990234,-1680.90002441,13.10000038,34.00000000,16,16,15); //PCJ-600
    AddStaticVehicleEx(468,2502.89990234,-1680.50000000,13.10000038,38.00000000,16,16,15); //Sanchez
    AddStaticVehicleEx(521,2503.69995117,-1679.69995117,13.00000000,44.00000000,16,16,15); //FCR-900
    AddStaticVehicleEx(522,2504.30004883,-1678.90002441,13.00000000,42.00000000,16,16,15); //NRG-500
    AddStaticVehicleEx(536,2506.60009766,-1675.90002441,13.19999981,326.00000000,16,16,15); //Blade
    AddStaticVehicleEx(536,2508.19995117,-1666.09997559,13.30000019,9.99731445,16,16,15); //Blade
    AddStaticVehicleEx(536,2502.39990234,-1657.40002441,13.30000019,54.00000000,16,16,15); //Blade
    AddStaticVehicleEx(603,2499.89941406,-1684.89941406,13.39999962,21.99462891,16,86,15); //Phoenix
    AddStaticVehicleEx(487,2506.30004883,-1694.59997559,18.20000076,48.00000000,86,16,15); //Maverick
    AddStaticVehicleEx(548,2530.10009766,-1677.50000000,21.79999924,90.00000000,16,86,15); //Cargobob
    CreateObject(12950,2524.39990234,-1666.59997559,16.20000076,0.00000000,0.00000000,178.00000000); //Escada)
    CreateObject(14407,2507.19995117,-1701.69995117,14.19999981,0.00000000,0.00000000,184.00000000); //Escada
//Fim HQ GS_____________________________________________________________________________
//HQ Vagos
    AddStaticVehicleEx(474,2814.10009766,-1187.59997559,25.20000076,270.00000000,6,6,15); //Hermes
    AddStaticVehicleEx(474,2821.50000000,-1187.90002441,25.10000038,270.00000000,6,6,15); //Hermes
    AddStaticVehicleEx(474,2821.89990234,-1178.40002441,25.10000038,270.00000000,6,6,15); //Hermes
    AddStaticVehicleEx(474,2814.50000000,-1178.50000000,25.20000076,270.00000000,6,6,15); //Hermes
    AddStaticVehicleEx(551,2827.10009766,-1193.50000000,24.89999962,340.00000000,6,6,15); //Merit
    AddStaticVehicleEx(551,2827.39990234,-1171.90002441,24.89999962,221.99633789,6,6,15); //Merit
    AddStaticVehicleEx(474,2827.60009766,-1165.80004883,25.00000000,232.00000000,6,6,15); //Hermes
    AddStaticVehicleEx(603,2827.60009766,-1200.50000000,24.89999962,336.00000000,6,57,15); //Phoenix
    AddStaticVehicleEx(461,2804.19995117,-1186.00000000,25.10000038,274.00000000,6,6,15); //PCJ-600
    AddStaticVehicleEx(468,2803.89990234,-1184.40002441,25.20000076,282.00000000,6,6,15); //Sanchez
    AddStaticVehicleEx(521,2804.00000000,-1182.80004883,25.10000038,274.00000000,6,6,15); //FCR-900
    AddStaticVehicleEx(522,2804.10009766,-1181.30004883,25.10000038,278.00000000,6,6,15); //NRG-500
    AddStaticVehicleEx(563,2818.89990234,-1197.09997559,33.59999847,270.00000000,6,65,15); //Raindance
    AddStaticVehicleEx(487,2817.00000000,-1168.09997559,32.90000153,272.00000000,6,6,15); //Maverick
    CreateObject(12950,2818.69995117,-1205.30004883,28.39999962,0.00000000,0.00000000,90.00000000); //Escada
    CreateObject(14394,2819.89990234,-1202.09997559,26.89999962,0.00000000,0.00000000,180.00000000); //Escada
    CreateObject(14394,2822.19995117,-1202.09997559,25.39999962,0.00000000,0.00000000,179.99450684); //Escada
    CreateObject(14394,2823.30004883,-1202.09997559,24.70000076,0.00000000,0.00000000,179.99450684); //Escada
    CreateObject(14411,2816.89990234,-1162.30004883,27.39999962,0.00000000,0.00000000,90.00000000); //Escada
//Fim HQ Vagos___________________________________________________________________________
//HQ Balas
    AddStaticVehicleEx(405,1086.19995117,-1191.90002441,18.20000076,270.00000000,115,81,15); //Sentinel
    AddStaticVehicleEx(405,1086.09997559,-1196.00000000,18.10000038,270.00000000,115,81,15); //Sentinel
    AddStaticVehicleEx(405,1086.09997559,-1200.19995117,17.89999962,270.00000000,115,81,15); //Sentinel
    AddStaticVehicleEx(461,1107.09997559,-1191.50000000,17.89999962,180.00000000,115,1,15); //PCJ-600
    AddStaticVehicleEx(521,1108.80004883,-1191.59997559,17.79999924,180.00000000,115,1,15); //FCR-900
    AddStaticVehicleEx(522,1110.30004883,-1191.90002441,17.79999924,180.00000000,115,1,15); //NRG-500
    AddStaticVehicleEx(581,1111.80004883,-1191.90002441,17.79999924,180.00000000,115,1,15); //BF-400
    AddStaticVehicleEx(405,1119.69995117,-1194.69995117,17.50000000,89.99987793,115,81,15); //Sentinel
    AddStaticVehicleEx(405,1119.40002441,-1198.80004883,17.50000000,89.99450684,115,81,15); //Sentinel
    AddStaticVehicleEx(405,1118.00000000,-1214.69995117,17.89999962,89.99450684,115,81,15); //Sentinel
    AddStaticVehicleEx(405,1117.90002441,-1218.80004883,18.00000000,89.99450684,115,81,15); //Sentinel
    AddStaticVehicleEx(603,1096.90002441,-1182.50000000,18.39999962,180.00000000,115,42,15); //Phoenix
    AddStaticVehicleEx(487,1120.90002441,-1261.30004883,21.79999924,272.00000000,115,117,15); //Maverick
    AddStaticVehicleEx(417,1129.69995117,-1238.09997559,25.50000000,180.00000000,115,115,15); //Leviathan
    CreateObject(3605,1141.50000000,-1179.19995117,37.09999847,0.00000000,0.00000000,90.00000000); //Casarгo
    CreateObject(5130,1133.09997559,-1259.09997559,21.29999924,0.00000000,0.00000000,226.00000000); //Escada
    //FIM HQ Balas_________________________________________________________________________
    //HQ Aztecas
    AddStaticVehicleEx(405,311.79998779,-1808.69995117,4.50000000,0.00000000,106,1,15); //Sentinel
    AddStaticVehicleEx(405,314.70001221,-1808.59997559,4.50000000,0.00000000,106,1,15); //Sentinel
    AddStaticVehicleEx(405,318.00000000,-1808.69995117,4.50000000,0.00000000,106,1,15); //Sentinel
    AddStaticVehicleEx(405,321.29998779,-1808.59997559,4.50000000,0.00000000,106,1,15); //Sentinel
    AddStaticVehicleEx(405,324.29998779,-1808.50000000,4.50000000,0.00000000,106,1,15); //Sentinel
    AddStaticVehicleEx(405,327.79998779,-1808.69995117,4.50000000,0.00000000,106,1,15); //Sentinel
    AddStaticVehicleEx(461,312.00000000,-1788.50000000,4.30000019,180.00000000,7,1,15); //PCJ-600
    AddStaticVehicleEx(521,315.20001221,-1788.50000000,4.30000019,180.00000000,2,1,15); //FCR-900
    AddStaticVehicleEx(522,318.29998779,-1788.40002441,4.30000019,180.00000000,2,1,15); //NRG-500
    AddStaticVehicleEx(468,321.50000000,-1788.40002441,4.50000000,180.00000000,7,1,15); //Sanchez
    AddStaticVehicleEx(487,317.89999390,-1765.00000000,13.00000000,180.00000000,7,54,15); //Maverick
    AddStaticVehicleEx(548,305.39999390,-1759.80004883,9.60000038,180.00000000,-1,-1,15); //Cargobob
    CreateObject(8614,301.29998779,-1763.59997559,5.30000019,0.00000000,0.00000000,272.00000000); //Escada
    CreateObject(12839,326.89999390,-1762.90002441,7.40000010,0.00000000,0.00000000,180.00000000); //Escada
        //Fim HQ Aztecas_______________________________________________________________________
    //HQ Comando Vermelho
    AddStaticVehicleEx(585,2228.10009766,-1162.69995117,25.50000000,90.00000000,3,1,15); //Emperor
    AddStaticVehicleEx(585,2228.10009766,-1169.90002441,25.39999962,90.00000000,3,1,15); //Emperor
    AddStaticVehicleEx(585,2228.10009766,-1166.40002441,25.39999962,90.00000000,3,1,15); //Emperor
    AddStaticVehicleEx(585,2228.19995117,-1159.69995117,25.50000000,90.00000000,3,1,15); //Emperor
    AddStaticVehicleEx(585,2206.19995117,-1160.69995117,25.39999962,270.00000000,3,1,15); //Emperor
    AddStaticVehicleEx(585,2206.10009766,-1165.00000000,25.39999962,270.00000000,3,1,15); //Emperor
    AddStaticVehicleEx(585,2206.10009766,-1168.80004883,25.39999962,270.00000000,3,1,15); //Emperor
    AddStaticVehicleEx(585,2206.00000000,-1172.50000000,25.39999962,270.00000000,3,1,15); //Emperor
    AddStaticVehicleEx(461,2217.30004883,-1170.50000000,25.39999962,90.00000000,3,1,15); //PCJ-600
    AddStaticVehicleEx(521,2217.19995117,-1165.80004883,25.39999962,90.00000000,3,1,15); //FCR-900
    AddStaticVehicleEx(522,2217.39990234,-1161.50000000,25.39999962,90.00000000,3,1,15); //NRG-500
    AddStaticVehicleEx(581,2217.39990234,-1156.69995117,25.39999962,90.00000000,3,1,15); //BF-400
    AddStaticVehicleEx(563,2194.89990234,-1173.50000000,34.70000076,180.00000000,3,117,15); //Raindance
    AddStaticVehicleEx(487,2241.60009766,-1174.30004883,33.79999924,180.00000000,3,115,15); //Maverick
    CreateObject(12985,2201.69995117,-1176.50000000,30.70000076,0.00000000,0.00000000,0.00000000); //Escada
    CreateObject(12985,2232.60009766,-1177.30004883,30.79999924,0.00000000,0.00000000,0.00000000); //Escada
    //Fim HQ Comando Vermelhor________________________________________________________________________

     //HQ Policia Militar
    AddStaticVehicleEx(596,1577.19995117,-1610.69995117,13.19999981,180.00000000,-1,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(596,1571.19995117,-1610.69995117,13.19999981,180.00000000,-1,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(596,1583.69995117,-1610.69995117,13.19999981,180.00000000,-1,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(596,1589.40002441,-1610.69995117,13.19999981,180.00000000,-1,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(596,1595.09997559,-1610.69995117,13.19999981,180.00000000,-1,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(596,1584.90002441,-1671.69995117,5.69999981,270.00000000,-1,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(596,1584.90002441,-1668.00000000,5.69999981,270.00000000,-1,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(596,1601.09997559,-1684.09997559,5.69999981,90.00000000,-1,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(596,1601.09997559,-1688.00000000,5.69999981,90.00000000,-1,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(596,1601.09997559,-1692.19995117,5.69999981,90.00000000,-1,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(596,1601.09997559,-1696.40002441,5.69999981,90.00000000,-1,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(596,1601.09997559,-1700.09997559,5.69999981,90.00000000,-1,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(596,1601.09997559,-1704.30004883,5.69999981,90.00000000,-1,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(596,1595.19995117,-1709.90002441,5.69999981,0.00000000,-1,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(596,1591.40002441,-1709.90002441,5.69999981,0.00000000,-1,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(596,1587.09997559,-1709.90002441,5.69999981,0.00000000,-1,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(596,1583.09997559,-1709.90002441,5.69999981,0.00000000,-1,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(596,1577.90002441,-1709.90002441,5.69999981,0.00000000,-1,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(596,1574.19995117,-1709.90002441,5.69999981,0.00000000,-1,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(596,1570.30004883,-1709.90002441,5.69999981,0.00000000,-1,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(599,1529.00000000,-1688.09997559,6.30000019,270.00000000,-1,1,15); //Police Ranger
    AddStaticVehicleEx(599,1529.00000000,-1684.00000000,6.30000019,270.00000000,-1,1,15); //Police Ranger
    AddStaticVehicleEx(599,1545.00000000,-1684.19995117,6.30000019,90.00000000,-1,1,15); //Police Ranger
    AddStaticVehicleEx(599,1545.00000000,-1680.40002441,6.30000019,90.00000000,-1,1,15); //Police Ranger
    AddStaticVehicleEx(599,1545.00000000,-1676.09997559,6.30000019,90.00000000,-1,1,15); //Police Ranger
    AddStaticVehicleEx(523,1544.40002441,-1668.19995117,5.59999990,90.00000000,-1,1,15); //HPV1000
    AddStaticVehicleEx(523,1544.40002441,-1672.00000000,5.59999990,90.00000000,-1,1,15); //HPV1000
    AddStaticVehicleEx(523,1565.00000000,-1610.69995117,13.00000000,180.00000000,-1,1,15); //HPV1000
    AddStaticVehicleEx(523,1563.30004883,-1610.69995117,13.00000000,180.00000000,-1,1,15); //HPV1000
    AddStaticVehicleEx(523,1561.59997559,-1610.69995117,13.00000000,180.00000000,-1,1,15); //HPV1000
    AddStaticVehicleEx(523,1559.90002441,-1610.69995117,13.00000000,180.00000000,-1,1,15); //HPV1000
    AddStaticVehicleEx(523,1558.30004883,-1610.69995117,13.00000000,180.00000000,-1,1,15); //HPV1000
    AddStaticVehicleEx(523,1556.69995117,-1610.69995117,13.00000000,180.00000000,-1,1,15); //HPV1000
    AddStaticVehicleEx(523,1554.80004883,-1610.69995117,13.00000000,180.00000000,-1,1,15); //HPV1000
    AddStaticVehicleEx(497,1572.30004883,-1645.50000000,28.70000076,180.00000000,-1,1,15); //Police Maverick
    AddStaticVehicleEx(497,1560.40002441,-1645.50000000,28.70000076,180.00000000,-1,1,15); //Police Maverick
    AddStaticVehicleEx(497,1548.59997559,-1645.50000000,28.70000076,180.00000000,-1,1,15); //Police Maverick
    CreateObject(11547,1521.09997559,-1677.50000000,15.50000000,0.00000000,0.00000000,0.00000000); //object(desn_tscanopy) (1)
    CreateObject(16088,1547.09997559,-1625.69995117,11.60000038,0.00000000,0.00000000,0.00000000); //object(des_pipestrut01) (1)
    CreateObject(16089,1546.90002441,-1641.40002441,5.59999990,0.00000000,0.00000000,0.00000000); //object(des_pipestrut02) (1)
    CreateObject(16089,1547.19995117,-1641.09997559,7.00000000,0.00000000,0.00000000,0.00000000); //object(des_pipestrut02) (2)
    CreateObject(16089,1547.80004883,-1639.59997559,8.19999981,0.00000000,0.00000000,0.00000000); //object(des_pipestrut02) (3)
    CreateObject(16089,1547.19995117,-1639.59997559,10.10000038,0.00000000,0.00000000,0.00000000); //object(des_pipestrut02) (4)
    CreateObject(16089,1547.19995117,-1639.90002441,11.60000038,0.00000000,0.00000000,0.00000000); //object(des_pipestrut02) (5)
    CreateObject(3530,1547.00000000,-1619.80004883,12.10000038,0.00000000,0.00000000,0.00000000); //object(vgsn_constrbeam2) (1)
    CreateObject(10828,1555.69995117,-1602.30004883,16.50000000,0.00000000,0.00000000,0.00000000); //object(drydock1_sfse) (2)
    CreateObject(10828,1591.09997559,-1603.00000000,16.39999962,0.00000000,0.00000000,0.00000000); //object(drydock1_sfse) (3)
    CreateObject(10828,1607.40002441,-1619.59997559,16.29999924,0.00000000,0.00000000,90.00000000); //object(drydock1_sfse) (4)
    CreateObject(970,1539.59997559,-1605.19995117,16.60000038,0.00000000,0.00000000,90.00000000); //object(fencesmallb) (1)
    CreateObject(970,1539.59997559,-1609.30004883,16.50000000,0.00000000,0.00000000,90.00000000); //object(fencesmallb) (2)
    CreateObject(970,1539.59997559,-1613.40002441,16.50000000,0.00000000,0.00000000,90.00000000); //object(fencesmallb) (3)
    CreateObject(970,1539.90002441,-1615.69995117,16.39999962,0.00000000,0.00000000,90.00000000); //object(fencesmallb) (4)
    CreateObject(970,1541.69995117,-1617.90002441,16.39999962,0.00000000,0.00000000,0.00000000); //object(fencesmallb) (5)
    CreateObject(970,1545.40002441,-1617.90002441,16.50000000,0.00000000,0.00000000,0.00000000); //object(fencesmallb) (6)
    CreateObject(970,1605.90002441,-1638.09997559,16.50000000,0.00000000,0.00000000,0.00000000); //object(fencesmallb) (7)
    CreateObject(970,1608.00000000,-1636.00000000,16.50000000,0.00000000,0.00000000,90.00000000); //object(fencesmallb) (8)
    CreateObject(16362,1586.09997559,-1609.69995117,15.50000000,0.00000000,0.00000000,90.00000000); //object(desn2_tscanopy) (1)

     //Fim HQ Policia Militar_________________________________________________________________________
    //HQ Taxistas
    AddStaticVehicleEx(603,2508.30004883,-1666.80004883,13.39999962,16.00000000,-1,18,15); //Phoenix
    AddStaticVehicleEx(420,1792.09997559,-1691.59997559,13.39999962,180.00000000,-1,1,15); //Taxi
    AddStaticVehicleEx(420,1798.00000000,-1691.59997559,13.39999962,180.00000000,-1,1,15); //Taxi
    AddStaticVehicleEx(420,1786.00000000,-1691.59997559,13.30000019,180.00000000,1,1,15); //Taxi
    AddStaticVehicleEx(420,1779.90002441,-1691.59997559,13.30000019,180.00000000,1,1,15); //Taxi
    AddStaticVehicleEx(420,1773.90002441,-1691.59997559,13.30000019,180.00000000,6,1,15); //Taxi
    AddStaticVehicleEx(420,1768.09997559,-1691.59997559,13.30000019,180.00000000,6,1,15); //Taxi
    AddStaticVehicleEx(420,1807.00000000,-1698.90002441,13.39999962,90.00000000,6,1,15); //Taxi
    AddStaticVehicleEx(420,1807.00000000,-1702.90002441,13.39999962,90.00000000,6,1,15); //Taxi
    AddStaticVehicleEx(420,1807.00000000,-1707.19921875,13.39999962,90.00000000,6,1,15); //Taxi
    AddStaticVehicleEx(586,1808.80004883,-1712.50000000,13.10000038,90.00000000,6,1,15); //Wayfarer
    AddStaticVehicleEx(586,1808.80004883,-1714.59997559,13.10000038,90.00000000,6,1,15); //Wayfarer
    AddStaticVehicleEx(586,1808.80004883,-1716.90002441,13.10000038,90.00000000,6,1,15); //Wayfarer
    AddStaticVehicleEx(586,1808.80004883,-1719.19995117,13.10000038,90.00000000,6,1,15); //Wayfarer
    AddStaticVehicleEx(586,1808.80004883,-1710.80004883,13.10000038,90.00000000,6,1,15); //Wayfarer
    AddStaticVehicleEx(487,1790.69995117,-1692.50000000,19.20000076,180.00000000,6,6,15); //Maverick
    AddStaticVehicleEx(487,1776.69921875,-1692.19921875,19.20000076,180.00000000,6,6,15); //Maverick
    CreateObject(16362,1783.00000000,-1692.09997559,15.60000038,0.00000000,0.00000000,90.00000000); //object(desn2_tscanopy) (1)
    CreateObject(12985,1803.69995117,-1692.40002441,16.20000076,0.00000000,0.00000000,180.00000000); //object(cos_sbanksteps05) (1)
    CreateObject(2990,1761.09997559,-1692.30004883,13.80000019,0.00000000,0.00000000,270.00000000); //object(wongs_gate) (1)
    CreateObject(2990,1766.30004883,-1686.40002441,13.69999981,0.00000000,0.00000000,0.00000000); //object(wongs_gate) (2)
    CreateObject(2990,1776.00000000,-1686.30004883,13.69999981,0.00000000,0.00000000,0.00000000); //object(wongs_gate) (3)
    CreateObject(2990,1786.00000000,-1686.40002441,13.80000019,0.00000000,0.00000000,0.00000000); //object(wongs_gate) (4)
    CreateObject(2990,1795.09997559,-1686.59997559,13.69999981,0.00000000,0.00000000,0.00000000); //object(wongs_gate) (5)
    CreateObject(2990,1805.19995117,-1686.59997559,13.69999981,0.00000000,0.00000000,0.00000000); //object(wongs_gate) (6)
    CreateObject(2990,1806.30004883,-1686.59997559,13.69999981,0.00000000,0.00000000,0.00000000); //object(wongs_gate) (7)
    CreateObject(2990,1811.19995117,-1691.59997559,13.69999981,0.00000000,0.00000000,90.00000000); //object(wongs_gate) (8)
    CreateObject(2990,1811.09997559,-1701.50000000,13.69999981,0.00000000,0.00000000,90.00000000); //object(wongs_gate) (9)
    CreateObject(2990,1811.09997559,-1711.40002441,13.69999981,0.00000000,0.00000000,90.00000000); //object(wongs_gate) (10)
    CreateObject(2990,1811.19995117,-1717.30004883,13.69999981,0.00000000,0.00000000,90.00000000); //object(wongs_gate) (11)
    CreateObject(2945,1809.59997559,-1722.09997559,15.39999962,0.00000000,0.00000000,0.00000000); //object(kmb_netting) (1)
    CreateObject(2945,1761.50000000,-1705.00000000,15.10000038,0.00000000,0.00000000,90.00000000); //object(kmb_netting) (2)
    CreateObject(971,1803.3000488281,-1721.5,13.60000038147,0.00000000,0.00000000,352.00000000); //object(kmb_netting) (2)
    //Portгo taxistas
        #include <a_sampdb>
PortaoBasehq = CreateObject(980, 1761.5, -1700.8000488281, 14, 0.0000, 0.0000, 90.0000);
PortaoBasePm = CreateObject(980, 1546.5, -1626.1999511719, 15.5, 0.0000, 0.0000, 90.0000);
}



public OnPlayerCommandText(playerid, cmdtext[])
{
    if(strcmp(cmdtext, "/abrirpp", true) == 0)
    {
        MoveObject(PortaoBasehq, 1761.5, -1700.8000488281, 14, 3.0);
        SendClientMessage(playerid, 0x9E3EFFAA, "[INFO] Abrindo PORTAO da PM...");
        return 1;
    }
    if(strcmp(cmdtext, "/fecharpp", true) == 0)
    {
        MoveObject(PortaoBasehq, 1761.5, -1700.8000488281, 14, 3.0);
        SendClientMessage(playerid, 0x9E3EFFAA, "[INFO] Fechando PORTAO da PM...");
        return 1;
    }

//Fim HQ Taxistas
//_________________________________PORTХES______________________________________
//Portгo PM Externo

    if(strcmp(cmdtext, "/abrirpp", true) == 0)
    {
        MoveObject(PortaoBasePm,1546.5, -1626.1999511719, 9, 3.0);
        SendClientMessage(playerid, 0x9E3EFFAA, "[INFO] Abrindo PORTAO da HQ...");
        return 1;
    }
    if(strcmp(cmdtext, "/fecharpp", true) == 0)
    {
        MoveObject(PortaoBasePm,1546.5, -1626.1999511719, 15.5, 3.0);
        SendClientMessage(playerid, 0x9E3EFFAA, "[INFO] Fechando PORTAO da HQ...");
        return 1;
        }
        }
    //Fim Portгo PM Externo
    //Portгo Interno PM
Reply
#10

No Errors:
pawn Код:
#include <a_samp>
// Serve by: yuran
// comesso de criaзгo: 15/05/12
//termino: --/--/--
new PortaoBasePm;
new PortaoBasehq;
#if defined FILTERSCRIPT
new PortaoBasehq;
public OnFilterScriptInit()
{
    print("\nyuranserv");
    print(" Server conectado");
    print("yuran serve");
    return 1;


}

public OnFilterScriptExit()
{
    return 1;
}

#else

main()
{
    print("nyuranserve");
    print("yuran serve");
    print("yuranserve");
}
#endif

#include <a_sampdb>

public OnGameModeInit()

{
// Jogador Inicial
    SetGameModeText("S.D.Y");
    AddPlayerClass(23,1242.9208,-1694.3409,16.1968,178.6625,0,0,0,0,0,0);
//veiculos do comesso
    AddStaticVehicleEx(462,1245.59997559,-1724.19995117,13.19999981,0.00000000,-1,-1,15); //Faggio
    AddStaticVehicleEx(462,1244.09997559,-1724.19995117,13.19999981,0.00000000,-1,-1,15); //Faggio
    AddStaticVehicleEx(462,1242.59997559,-1724.09997559,13.19999981,0.00000000,-1,-1,15); //Faggio
    AddStaticVehicleEx(462,1241.09997559,-1724.00000000,13.19999981,0.00000000,-1,-1,15); //Faggio
    AddStaticVehicleEx(462,1239.69995117,-1724.09997559,13.19999981,0.00000000,-1,-1,15); //Faggio
    AddStaticVehicleEx(462,1238.19995117,-1724.09997559,13.19999981,0.00000000,-1,-1,15); //Faggio
    AddStaticVehicleEx(462,1236.69995117,-1724.09997559,13.19999981,0.00000000,-1,-1,15); //Faggio
    AddStaticVehicleEx(462,1235.09997559,-1724.19995117,13.19999981,0.00000000,-1,-1,15); //Faggio
    AddStaticVehicleEx(462,1245.50000000,-1728.69995117,13.19999981,0.00000000,-1,-1,15); //Faggio
    AddStaticVehicleEx(462,1243.90002441,-1728.59997559,13.19999981,0.00000000,-1,-1,15); //Faggio
    AddStaticVehicleEx(462,1242.50000000,-1728.59997559,13.19999981,0.00000000,-1,-1,15); //Faggio
    AddStaticVehicleEx(462,1241.00000000,-1728.59997559,13.19999981,0.00000000,-1,-1,15); //Faggio
    AddStaticVehicleEx(462,1239.50000000,-1728.59997559,13.19999981,0.00000000,-1,-1,15); //Faggio
    AddStaticVehicleEx(462,1238.00000000,-1728.59997559,13.19999981,0.00000000,-1,-1,15); //Faggio
    AddStaticVehicleEx(462,1236.59997559,-1728.59997559,13.19999981,0.00000000,-1,-1,15); //Faggio
    AddStaticVehicleEx(462,1235.19995117,-1728.69995117,13.19999981,0.00000000,-1,-1,15); //Faggio
//FIM motos comesso_____________________________________________________________________
//HQ dos Groove Street
    AddStaticVehicleEx(405,2486.50000000,-1682.69995117,13.30000019,270.00000000,16,16,15); //Sentinel
    AddStaticVehicleEx(536,2492.59960938,-1682.50000000,13.19999981,270.00000000,16,16,15); //Blade
    AddStaticVehicleEx(461,2501.89990234,-1680.90002441,13.10000038,34.00000000,16,16,15); //PCJ-600
    AddStaticVehicleEx(468,2502.89990234,-1680.50000000,13.10000038,38.00000000,16,16,15); //Sanchez
    AddStaticVehicleEx(521,2503.69995117,-1679.69995117,13.00000000,44.00000000,16,16,15); //FCR-900
    AddStaticVehicleEx(522,2504.30004883,-1678.90002441,13.00000000,42.00000000,16,16,15); //NRG-500
    AddStaticVehicleEx(536,2506.60009766,-1675.90002441,13.19999981,326.00000000,16,16,15); //Blade
    AddStaticVehicleEx(536,2508.19995117,-1666.09997559,13.30000019,9.99731445,16,16,15); //Blade
    AddStaticVehicleEx(536,2502.39990234,-1657.40002441,13.30000019,54.00000000,16,16,15); //Blade
    AddStaticVehicleEx(603,2499.89941406,-1684.89941406,13.39999962,21.99462891,16,86,15); //Phoenix
    AddStaticVehicleEx(487,2506.30004883,-1694.59997559,18.20000076,48.00000000,86,16,15); //Maverick
    AddStaticVehicleEx(548,2530.10009766,-1677.50000000,21.79999924,90.00000000,16,86,15); //Cargobob
    CreateObject(12950,2524.39990234,-1666.59997559,16.20000076,0.00000000,0.00000000,178.00000000); //Escada)
    CreateObject(14407,2507.19995117,-1701.69995117,14.19999981,0.00000000,0.00000000,184.00000000); //Escada
//Fim HQ GS_____________________________________________________________________________
//HQ Vagos
    AddStaticVehicleEx(474,2814.10009766,-1187.59997559,25.20000076,270.00000000,6,6,15); //Hermes
    AddStaticVehicleEx(474,2821.50000000,-1187.90002441,25.10000038,270.00000000,6,6,15); //Hermes
    AddStaticVehicleEx(474,2821.89990234,-1178.40002441,25.10000038,270.00000000,6,6,15); //Hermes
    AddStaticVehicleEx(474,2814.50000000,-1178.50000000,25.20000076,270.00000000,6,6,15); //Hermes
    AddStaticVehicleEx(551,2827.10009766,-1193.50000000,24.89999962,340.00000000,6,6,15); //Merit
    AddStaticVehicleEx(551,2827.39990234,-1171.90002441,24.89999962,221.99633789,6,6,15); //Merit
    AddStaticVehicleEx(474,2827.60009766,-1165.80004883,25.00000000,232.00000000,6,6,15); //Hermes
    AddStaticVehicleEx(603,2827.60009766,-1200.50000000,24.89999962,336.00000000,6,57,15); //Phoenix
    AddStaticVehicleEx(461,2804.19995117,-1186.00000000,25.10000038,274.00000000,6,6,15); //PCJ-600
    AddStaticVehicleEx(468,2803.89990234,-1184.40002441,25.20000076,282.00000000,6,6,15); //Sanchez
    AddStaticVehicleEx(521,2804.00000000,-1182.80004883,25.10000038,274.00000000,6,6,15); //FCR-900
    AddStaticVehicleEx(522,2804.10009766,-1181.30004883,25.10000038,278.00000000,6,6,15); //NRG-500
    AddStaticVehicleEx(563,2818.89990234,-1197.09997559,33.59999847,270.00000000,6,65,15); //Raindance
    AddStaticVehicleEx(487,2817.00000000,-1168.09997559,32.90000153,272.00000000,6,6,15); //Maverick
    CreateObject(12950,2818.69995117,-1205.30004883,28.39999962,0.00000000,0.00000000,90.00000000); //Escada
    CreateObject(14394,2819.89990234,-1202.09997559,26.89999962,0.00000000,0.00000000,180.00000000); //Escada
    CreateObject(14394,2822.19995117,-1202.09997559,25.39999962,0.00000000,0.00000000,179.99450684); //Escada
    CreateObject(14394,2823.30004883,-1202.09997559,24.70000076,0.00000000,0.00000000,179.99450684); //Escada
    CreateObject(14411,2816.89990234,-1162.30004883,27.39999962,0.00000000,0.00000000,90.00000000); //Escada
//Fim HQ Vagos___________________________________________________________________________
//HQ Balas
    AddStaticVehicleEx(405,1086.19995117,-1191.90002441,18.20000076,270.00000000,115,81,15); //Sentinel
    AddStaticVehicleEx(405,1086.09997559,-1196.00000000,18.10000038,270.00000000,115,81,15); //Sentinel
    AddStaticVehicleEx(405,1086.09997559,-1200.19995117,17.89999962,270.00000000,115,81,15); //Sentinel
    AddStaticVehicleEx(461,1107.09997559,-1191.50000000,17.89999962,180.00000000,115,1,15); //PCJ-600
    AddStaticVehicleEx(521,1108.80004883,-1191.59997559,17.79999924,180.00000000,115,1,15); //FCR-900
    AddStaticVehicleEx(522,1110.30004883,-1191.90002441,17.79999924,180.00000000,115,1,15); //NRG-500
    AddStaticVehicleEx(581,1111.80004883,-1191.90002441,17.79999924,180.00000000,115,1,15); //BF-400
    AddStaticVehicleEx(405,1119.69995117,-1194.69995117,17.50000000,89.99987793,115,81,15); //Sentinel
    AddStaticVehicleEx(405,1119.40002441,-1198.80004883,17.50000000,89.99450684,115,81,15); //Sentinel
    AddStaticVehicleEx(405,1118.00000000,-1214.69995117,17.89999962,89.99450684,115,81,15); //Sentinel
    AddStaticVehicleEx(405,1117.90002441,-1218.80004883,18.00000000,89.99450684,115,81,15); //Sentinel
    AddStaticVehicleEx(603,1096.90002441,-1182.50000000,18.39999962,180.00000000,115,42,15); //Phoenix
    AddStaticVehicleEx(487,1120.90002441,-1261.30004883,21.79999924,272.00000000,115,117,15); //Maverick
    AddStaticVehicleEx(417,1129.69995117,-1238.09997559,25.50000000,180.00000000,115,115,15); //Leviathan
    CreateObject(3605,1141.50000000,-1179.19995117,37.09999847,0.00000000,0.00000000,90.00000000); //Casarгo
    CreateObject(5130,1133.09997559,-1259.09997559,21.29999924,0.00000000,0.00000000,226.00000000); //Escada
    //FIM HQ Balas_________________________________________________________________________
    //HQ Aztecas
    AddStaticVehicleEx(405,311.79998779,-1808.69995117,4.50000000,0.00000000,106,1,15); //Sentinel
    AddStaticVehicleEx(405,314.70001221,-1808.59997559,4.50000000,0.00000000,106,1,15); //Sentinel
    AddStaticVehicleEx(405,318.00000000,-1808.69995117,4.50000000,0.00000000,106,1,15); //Sentinel
    AddStaticVehicleEx(405,321.29998779,-1808.59997559,4.50000000,0.00000000,106,1,15); //Sentinel
    AddStaticVehicleEx(405,324.29998779,-1808.50000000,4.50000000,0.00000000,106,1,15); //Sentinel
    AddStaticVehicleEx(405,327.79998779,-1808.69995117,4.50000000,0.00000000,106,1,15); //Sentinel
    AddStaticVehicleEx(461,312.00000000,-1788.50000000,4.30000019,180.00000000,7,1,15); //PCJ-600
    AddStaticVehicleEx(521,315.20001221,-1788.50000000,4.30000019,180.00000000,2,1,15); //FCR-900
    AddStaticVehicleEx(522,318.29998779,-1788.40002441,4.30000019,180.00000000,2,1,15); //NRG-500
    AddStaticVehicleEx(468,321.50000000,-1788.40002441,4.50000000,180.00000000,7,1,15); //Sanchez
    AddStaticVehicleEx(487,317.89999390,-1765.00000000,13.00000000,180.00000000,7,54,15); //Maverick
    AddStaticVehicleEx(548,305.39999390,-1759.80004883,9.60000038,180.00000000,-1,-1,15); //Cargobob
    CreateObject(8614,301.29998779,-1763.59997559,5.30000019,0.00000000,0.00000000,272.00000000); //Escada
    CreateObject(12839,326.89999390,-1762.90002441,7.40000010,0.00000000,0.00000000,180.00000000); //Escada
        //Fim HQ Aztecas_______________________________________________________________________
    //HQ Comando Vermelho
    AddStaticVehicleEx(585,2228.10009766,-1162.69995117,25.50000000,90.00000000,3,1,15); //Emperor
    AddStaticVehicleEx(585,2228.10009766,-1169.90002441,25.39999962,90.00000000,3,1,15); //Emperor
    AddStaticVehicleEx(585,2228.10009766,-1166.40002441,25.39999962,90.00000000,3,1,15); //Emperor
    AddStaticVehicleEx(585,2228.19995117,-1159.69995117,25.50000000,90.00000000,3,1,15); //Emperor
    AddStaticVehicleEx(585,2206.19995117,-1160.69995117,25.39999962,270.00000000,3,1,15); //Emperor
    AddStaticVehicleEx(585,2206.10009766,-1165.00000000,25.39999962,270.00000000,3,1,15); //Emperor
    AddStaticVehicleEx(585,2206.10009766,-1168.80004883,25.39999962,270.00000000,3,1,15); //Emperor
    AddStaticVehicleEx(585,2206.00000000,-1172.50000000,25.39999962,270.00000000,3,1,15); //Emperor
    AddStaticVehicleEx(461,2217.30004883,-1170.50000000,25.39999962,90.00000000,3,1,15); //PCJ-600
    AddStaticVehicleEx(521,2217.19995117,-1165.80004883,25.39999962,90.00000000,3,1,15); //FCR-900
    AddStaticVehicleEx(522,2217.39990234,-1161.50000000,25.39999962,90.00000000,3,1,15); //NRG-500
    AddStaticVehicleEx(581,2217.39990234,-1156.69995117,25.39999962,90.00000000,3,1,15); //BF-400
    AddStaticVehicleEx(563,2194.89990234,-1173.50000000,34.70000076,180.00000000,3,117,15); //Raindance
    AddStaticVehicleEx(487,2241.60009766,-1174.30004883,33.79999924,180.00000000,3,115,15); //Maverick
    CreateObject(12985,2201.69995117,-1176.50000000,30.70000076,0.00000000,0.00000000,0.00000000); //Escada
    CreateObject(12985,2232.60009766,-1177.30004883,30.79999924,0.00000000,0.00000000,0.00000000); //Escada
    //Fim HQ Comando Vermelhor________________________________________________________________________

     //HQ Policia Militar
    AddStaticVehicleEx(596,1577.19995117,-1610.69995117,13.19999981,180.00000000,-1,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(596,1571.19995117,-1610.69995117,13.19999981,180.00000000,-1,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(596,1583.69995117,-1610.69995117,13.19999981,180.00000000,-1,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(596,1589.40002441,-1610.69995117,13.19999981,180.00000000,-1,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(596,1595.09997559,-1610.69995117,13.19999981,180.00000000,-1,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(596,1584.90002441,-1671.69995117,5.69999981,270.00000000,-1,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(596,1584.90002441,-1668.00000000,5.69999981,270.00000000,-1,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(596,1601.09997559,-1684.09997559,5.69999981,90.00000000,-1,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(596,1601.09997559,-1688.00000000,5.69999981,90.00000000,-1,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(596,1601.09997559,-1692.19995117,5.69999981,90.00000000,-1,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(596,1601.09997559,-1696.40002441,5.69999981,90.00000000,-1,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(596,1601.09997559,-1700.09997559,5.69999981,90.00000000,-1,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(596,1601.09997559,-1704.30004883,5.69999981,90.00000000,-1,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(596,1595.19995117,-1709.90002441,5.69999981,0.00000000,-1,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(596,1591.40002441,-1709.90002441,5.69999981,0.00000000,-1,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(596,1587.09997559,-1709.90002441,5.69999981,0.00000000,-1,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(596,1583.09997559,-1709.90002441,5.69999981,0.00000000,-1,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(596,1577.90002441,-1709.90002441,5.69999981,0.00000000,-1,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(596,1574.19995117,-1709.90002441,5.69999981,0.00000000,-1,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(596,1570.30004883,-1709.90002441,5.69999981,0.00000000,-1,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(599,1529.00000000,-1688.09997559,6.30000019,270.00000000,-1,1,15); //Police Ranger
    AddStaticVehicleEx(599,1529.00000000,-1684.00000000,6.30000019,270.00000000,-1,1,15); //Police Ranger
    AddStaticVehicleEx(599,1545.00000000,-1684.19995117,6.30000019,90.00000000,-1,1,15); //Police Ranger
    AddStaticVehicleEx(599,1545.00000000,-1680.40002441,6.30000019,90.00000000,-1,1,15); //Police Ranger
    AddStaticVehicleEx(599,1545.00000000,-1676.09997559,6.30000019,90.00000000,-1,1,15); //Police Ranger
    AddStaticVehicleEx(523,1544.40002441,-1668.19995117,5.59999990,90.00000000,-1,1,15); //HPV1000
    AddStaticVehicleEx(523,1544.40002441,-1672.00000000,5.59999990,90.00000000,-1,1,15); //HPV1000
    AddStaticVehicleEx(523,1565.00000000,-1610.69995117,13.00000000,180.00000000,-1,1,15); //HPV1000
    AddStaticVehicleEx(523,1563.30004883,-1610.69995117,13.00000000,180.00000000,-1,1,15); //HPV1000
    AddStaticVehicleEx(523,1561.59997559,-1610.69995117,13.00000000,180.00000000,-1,1,15); //HPV1000
    AddStaticVehicleEx(523,1559.90002441,-1610.69995117,13.00000000,180.00000000,-1,1,15); //HPV1000
    AddStaticVehicleEx(523,1558.30004883,-1610.69995117,13.00000000,180.00000000,-1,1,15); //HPV1000
    AddStaticVehicleEx(523,1556.69995117,-1610.69995117,13.00000000,180.00000000,-1,1,15); //HPV1000
    AddStaticVehicleEx(523,1554.80004883,-1610.69995117,13.00000000,180.00000000,-1,1,15); //HPV1000
    AddStaticVehicleEx(497,1572.30004883,-1645.50000000,28.70000076,180.00000000,-1,1,15); //Police Maverick
    AddStaticVehicleEx(497,1560.40002441,-1645.50000000,28.70000076,180.00000000,-1,1,15); //Police Maverick
    AddStaticVehicleEx(497,1548.59997559,-1645.50000000,28.70000076,180.00000000,-1,1,15); //Police Maverick
    CreateObject(11547,1521.09997559,-1677.50000000,15.50000000,0.00000000,0.00000000,0.00000000); //object(desn_tscanopy) (1)
    CreateObject(16088,1547.09997559,-1625.69995117,11.60000038,0.00000000,0.00000000,0.00000000); //object(des_pipestrut01) (1)
    CreateObject(16089,1546.90002441,-1641.40002441,5.59999990,0.00000000,0.00000000,0.00000000); //object(des_pipestrut02) (1)
    CreateObject(16089,1547.19995117,-1641.09997559,7.00000000,0.00000000,0.00000000,0.00000000); //object(des_pipestrut02) (2)
    CreateObject(16089,1547.80004883,-1639.59997559,8.19999981,0.00000000,0.00000000,0.00000000); //object(des_pipestrut02) (3)
    CreateObject(16089,1547.19995117,-1639.59997559,10.10000038,0.00000000,0.00000000,0.00000000); //object(des_pipestrut02) (4)
    CreateObject(16089,1547.19995117,-1639.90002441,11.60000038,0.00000000,0.00000000,0.00000000); //object(des_pipestrut02) (5)
    CreateObject(3530,1547.00000000,-1619.80004883,12.10000038,0.00000000,0.00000000,0.00000000); //object(vgsn_constrbeam2) (1)
    CreateObject(10828,1555.69995117,-1602.30004883,16.50000000,0.00000000,0.00000000,0.00000000); //object(drydock1_sfse) (2)
    CreateObject(10828,1591.09997559,-1603.00000000,16.39999962,0.00000000,0.00000000,0.00000000); //object(drydock1_sfse) (3)
    CreateObject(10828,1607.40002441,-1619.59997559,16.29999924,0.00000000,0.00000000,90.00000000); //object(drydock1_sfse) (4)
    CreateObject(970,1539.59997559,-1605.19995117,16.60000038,0.00000000,0.00000000,90.00000000); //object(fencesmallb) (1)
    CreateObject(970,1539.59997559,-1609.30004883,16.50000000,0.00000000,0.00000000,90.00000000); //object(fencesmallb) (2)
    CreateObject(970,1539.59997559,-1613.40002441,16.50000000,0.00000000,0.00000000,90.00000000); //object(fencesmallb) (3)
    CreateObject(970,1539.90002441,-1615.69995117,16.39999962,0.00000000,0.00000000,90.00000000); //object(fencesmallb) (4)
    CreateObject(970,1541.69995117,-1617.90002441,16.39999962,0.00000000,0.00000000,0.00000000); //object(fencesmallb) (5)
    CreateObject(970,1545.40002441,-1617.90002441,16.50000000,0.00000000,0.00000000,0.00000000); //object(fencesmallb) (6)
    CreateObject(970,1605.90002441,-1638.09997559,16.50000000,0.00000000,0.00000000,0.00000000); //object(fencesmallb) (7)
    CreateObject(970,1608.00000000,-1636.00000000,16.50000000,0.00000000,0.00000000,90.00000000); //object(fencesmallb) (8)
    CreateObject(16362,1586.09997559,-1609.69995117,15.50000000,0.00000000,0.00000000,90.00000000); //object(desn2_tscanopy) (1)

     //Fim HQ Policia Militar_________________________________________________________________________
    //HQ Taxistas
    AddStaticVehicleEx(603,2508.30004883,-1666.80004883,13.39999962,16.00000000,-1,18,15); //Phoenix
    AddStaticVehicleEx(420,1792.09997559,-1691.59997559,13.39999962,180.00000000,-1,1,15); //Taxi
    AddStaticVehicleEx(420,1798.00000000,-1691.59997559,13.39999962,180.00000000,-1,1,15); //Taxi
    AddStaticVehicleEx(420,1786.00000000,-1691.59997559,13.30000019,180.00000000,1,1,15); //Taxi
    AddStaticVehicleEx(420,1779.90002441,-1691.59997559,13.30000019,180.00000000,1,1,15); //Taxi
    AddStaticVehicleEx(420,1773.90002441,-1691.59997559,13.30000019,180.00000000,6,1,15); //Taxi
    AddStaticVehicleEx(420,1768.09997559,-1691.59997559,13.30000019,180.00000000,6,1,15); //Taxi
    AddStaticVehicleEx(420,1807.00000000,-1698.90002441,13.39999962,90.00000000,6,1,15); //Taxi
    AddStaticVehicleEx(420,1807.00000000,-1702.90002441,13.39999962,90.00000000,6,1,15); //Taxi
    AddStaticVehicleEx(420,1807.00000000,-1707.19921875,13.39999962,90.00000000,6,1,15); //Taxi
    AddStaticVehicleEx(586,1808.80004883,-1712.50000000,13.10000038,90.00000000,6,1,15); //Wayfarer
    AddStaticVehicleEx(586,1808.80004883,-1714.59997559,13.10000038,90.00000000,6,1,15); //Wayfarer
    AddStaticVehicleEx(586,1808.80004883,-1716.90002441,13.10000038,90.00000000,6,1,15); //Wayfarer
    AddStaticVehicleEx(586,1808.80004883,-1719.19995117,13.10000038,90.00000000,6,1,15); //Wayfarer
    AddStaticVehicleEx(586,1808.80004883,-1710.80004883,13.10000038,90.00000000,6,1,15); //Wayfarer
    AddStaticVehicleEx(487,1790.69995117,-1692.50000000,19.20000076,180.00000000,6,6,15); //Maverick
    AddStaticVehicleEx(487,1776.69921875,-1692.19921875,19.20000076,180.00000000,6,6,15); //Maverick
    CreateObject(16362,1783.00000000,-1692.09997559,15.60000038,0.00000000,0.00000000,90.00000000); //object(desn2_tscanopy) (1)
    CreateObject(12985,1803.69995117,-1692.40002441,16.20000076,0.00000000,0.00000000,180.00000000); //object(cos_sbanksteps05) (1)
    CreateObject(2990,1761.09997559,-1692.30004883,13.80000019,0.00000000,0.00000000,270.00000000); //object(wongs_gate) (1)
    CreateObject(2990,1766.30004883,-1686.40002441,13.69999981,0.00000000,0.00000000,0.00000000); //object(wongs_gate) (2)
    CreateObject(2990,1776.00000000,-1686.30004883,13.69999981,0.00000000,0.00000000,0.00000000); //object(wongs_gate) (3)
    CreateObject(2990,1786.00000000,-1686.40002441,13.80000019,0.00000000,0.00000000,0.00000000); //object(wongs_gate) (4)
    CreateObject(2990,1795.09997559,-1686.59997559,13.69999981,0.00000000,0.00000000,0.00000000); //object(wongs_gate) (5)
    CreateObject(2990,1805.19995117,-1686.59997559,13.69999981,0.00000000,0.00000000,0.00000000); //object(wongs_gate) (6)
    CreateObject(2990,1806.30004883,-1686.59997559,13.69999981,0.00000000,0.00000000,0.00000000); //object(wongs_gate) (7)
    CreateObject(2990,1811.19995117,-1691.59997559,13.69999981,0.00000000,0.00000000,90.00000000); //object(wongs_gate) (8)
    CreateObject(2990,1811.09997559,-1701.50000000,13.69999981,0.00000000,0.00000000,90.00000000); //object(wongs_gate) (9)
    CreateObject(2990,1811.09997559,-1711.40002441,13.69999981,0.00000000,0.00000000,90.00000000); //object(wongs_gate) (10)
    CreateObject(2990,1811.19995117,-1717.30004883,13.69999981,0.00000000,0.00000000,90.00000000); //object(wongs_gate) (11)
    CreateObject(2945,1809.59997559,-1722.09997559,15.39999962,0.00000000,0.00000000,0.00000000); //object(kmb_netting) (1)
    CreateObject(2945,1761.50000000,-1705.00000000,15.10000038,0.00000000,0.00000000,90.00000000); //object(kmb_netting) (2)
    CreateObject(971,1803.3000488281,-1721.5,13.60000038147,0.00000000,0.00000000,352.00000000); //object(kmb_netting) (2)
    //Portгo taxistas
        #include <a_sampdb>
PortaoBasehq = CreateObject(980, 1761.5, -1700.8000488281, 14, 0.0000, 0.0000, 90.0000);
PortaoBasePm = CreateObject(980, 1546.5, -1626.1999511719, 15.5, 0.0000, 0.0000, 90.0000);
}



public OnPlayerCommandText(playerid, cmdtext[])
{
    if(strcmp(cmdtext, "/abrirpp", true) == 0)
    {
        MoveObject(PortaoBasehq, 1761.5, -1700.8000488281, 14, 3.0);
        SendClientMessage(playerid, 0x9E3EFFAA, "[INFO] Abrindo PORTAO da PM...");
        return 1;
    }
    if(strcmp(cmdtext, "/fecharpp", true) == 0)
    {
        MoveObject(PortaoBasehq, 1761.5, -1700.8000488281, 14, 3.0);
        SendClientMessage(playerid, 0x9E3EFFAA, "[INFO] Fechando PORTAO da PM...");
        return 1;
    }

//Fim HQ Taxistas
//_________________________________PORTХES______________________________________
//Portгo PM Externo

    if(strcmp(cmdtext, "/abrirpp", true) == 0)
    {
        MoveObject(PortaoBasePm,1546.5, -1626.1999511719, 9, 3.0);
        SendClientMessage(playerid, 0x9E3EFFAA, "[INFO] Abrindo PORTAO da HQ...");
        return 1;
    }
    if(strcmp(cmdtext, "/fecharpp", true) == 0)
    {
        MoveObject(PortaoBasePm,1546.5, -1626.1999511719, 15.5, 3.0);
        SendClientMessage(playerid, 0x9E3EFFAA, "[INFO] Fechando PORTAO da HQ...");
        return 1;
    }
    return 1;
}
    //Fim Portгo PM Externo
    //Portгo Interno PM
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)