23/04/2021 11:49
Código PHP:
new EntradaMercadoNegro;
new SaidaMercadoNegro;
new EntradaPrefeituraLS;
new SaidaPrefeituraLS;
new EntradaPoliciaMilitar;
new SaidaPoliciaMilitar;
new EntradaPoliciaFederal;
new SaidaPoliciaFederal;
new EntradaPRF;
new SaidaPRF;
new EntradaPoliciaBope;
new SaidaPoliciaBope;
new EntradaEscolaDeLicencasLS;
new SaidaEscolaDeLicencasLS;
new EntradaLoteriaDowntownLS;
new SaidaLoteriaDowntownLS;
new EntradaBancoSulLS;
new SaidaBancoSulLS;
new EntradaBancoLesteLS;
new SaidaBancoLesteLS;
new EntradaBancoOesteLS;
new SaidaBancoOesteLS;
public OnGameModeInit()
{
EntradaMercadoNegro = CreatePickup(1318, 1, 1420.7308,-1849.0535,13.9688);//[ENTRADA = MERCADO NEGRO]
SaidaMercadoNegro = CreatePickup(1318, 1, 965.1273,2108.0007,1011.0303);//[SAIDA = PREFEITURA LS]
EntradaPrefeituraLS = CreatePickup(1318, 1, 1480.9438,-1771.2585,18.7958);//[ENTRADA = PREFEITURA LS]
SaidaPrefeituraLS = CreatePickup(1318, 1, 389.9741,173.8266,1008.3828);//[SAIDA = PREFEITURA LS]
EntradaPoliciaMilitar = CreatePickup(1318, 1, 1555.0052,-1675.6299,16.1953);//[ENTRADA = POLICIA MILITAR]
SaidaPoliciaMilitar = CreatePickup(1318, 1, 246.6895,62.6177,1003.6406);//[SAIDA = POLICIA MILITAR]
EntradaPoliciaFederal = CreatePickup(1318, 1, 2793.4915,-1087.5383,30.7188);//[ENTRADA = POLICIA FEDERAL]
SaidaPoliciaFederal = CreatePickup(1318, 1, 288.8136,167.3451,1007.1719);//[SAIDA = POLICIA FEDERAL]
EntradaPRF = CreatePickup(1318, 1, -93.4661,-1576.8896,3.0755);//[ENTRADA = POLICIA RODOVIARIA FEDERAL]
SaidaPRF = CreatePickup(1318, 1, 2215.0239,-1150.5393,1025.7969);//[SAIDA = POLICIA RODOVIARIA FEDERAL]
EntradaPoliciaBope = CreatePickup(1318, 1, 328.4875,-1512.6652,36.0391);//[ENTRADA = POLICIA BOPE]
SaidaPoliciaBope = CreatePickup(1318, 1, 322.2091,302.7661,999.1484);//[SAIDA = POLICIA BOPE]
EntradaPoliciaBope = CreatePickup(1318, 1, 328.4875,-1512.6652,36.0391);//[ENTRADA = POLICIA BOPE]
SaidaPoliciaBope = CreatePickup(1318, 1, 322.2091,302.7661,999.1484);//[SAIDA = POLICIA BOPE]
EntradaEscolaDeLicencasLS = CreatePickup(1318, 1, 1411.7230,-1699.7758,13.5395);//[ENTRADA = ESCOLA DE LICEN�AS LS]
SaidaEscolaDeLicencasLS = CreatePickup(1318, 1, -2027.1364,-104.1583,1035.1719);//[SAIDA = ESCOLA DE LICEN�AS LS]
EntradaLoteriaDowntownLS = CreatePickup(1318, 1, 1631.8282,-1172.6462,24.0843);//[ENTRADA = LOTERIA DOWNTOWN LS]
SaidaLoteriaDowntownLS = CreatePickup(1318, 1, 389.9741,173.8266,1008.3828);//[SAIDA = LOTERIA DOWNTOWN LS]
EntradaBancoSulLS = CreatePickup(1318, 1, 940.9291,-1717.6973,13.9582);//[ENTRADA = BANCO SUL LS]
SaidaBancoSulLS = CreatePickup(1318, 1, 389.9741,173.8266,1008.3828);//[SAIDA = BANCO SUL LS]
EntradaBancoLesteLS = CreatePickup(1318, 1, 593.5140,-1250.5427,18.2385);//[ENTRADA = BANCO LESTE LS]
SaidaBancoLesteLS = CreatePickup(1318, 1, 389.9741,173.8266,1008.3828);//[SAIDA = BANCO LESTE LS]
EntradaBancoOesteLS = CreatePickup(1318, 1, 1457.0880,-1010.7911,26.8438);//[ENTRADA = BANCO OESTE LS]
SaidaBancoOesteLS = CreatePickup(1318, 1, 389.9741,173.8266,1008.3828);//[SAIDA = BANCO OESTE LS]
return 1;
}
Dá para melhorar esse sistema? acho q usando enum dá mas n estou sabendo fazer!
+d 1 ano de conhecimento em pawno!