[Ajuda] Ajuda AddStaticPickup (1 ERRO)
#1

pawn Код:
//==============================================================================
//Entradas - Brasil Knight Games
//==============================================================================
AddStaticPickup(1318, 23, 1928.5828,-1776.3160,13.5469); //  27/7 (1)
AddStaticPickup(1247, 23, 919.4675,-1252.2362,16.2109);  //  Policia Civil
AddStaticPickup(1247, 23, 325.5668,-1514.7399,36.0325);  //  Bope
AddStaticPickup(1247, 23, -516.1298,-539.2330,25.5234);  //  Policia Federal
AddStaticPickup(1247, 23, -1366.4832,500.9799,11.1953);  //  Exercito
AddStaticPickup(1318, 23, -1676.1521,432.2154,7.1797);   //  27/7 (2)
AddStaticPickup(1318, 23, -78.3887,-1169.9348,2.1354);   //  27/7 (3)
AddStaticPickup(1247, 23, 1374.1255,404.9712,19.9555);   //  Interpol
AddStaticPickup(1318, 23, 1374.8954,469.2785,20.1810);   //  27/7 (4)
AddStaticPickup(1318, 23, 1481.0358,-1772.3134,18.7958); //  Prefeitura
AddStaticPickup(1318, 23, 1411.5427,-1699.5504,13.5395); //  Centro De Licencas
AddStaticPickup(1318, 23, 1498.3643,-1580.5143,13.5498); //  Restaurante
AddStaticPickup(1318, 23, 952.5464,-909.1096,45.7656);   //  Los Aztecas
AddStaticPickup(1318, 23, 1154.9427,-1180.8513,32.8187); //  Ballas
AddStaticPickup(1318, 23, 2807.9810,-1190.8875,25.3436); //  Los Vagos
AddStaticPickup(1318, 23, 2140.9282,-1801.9103,16.1475); //  Comando Vermelho
AddStaticPickup(1318, 23, 1497.0023,-687.8923,95.5633);  //  Cosa Nostra
AddStaticPickup(1318, 23, 691.5784,-1275.9432,13.5607);  //  Yakuza
AddStaticPickup(1318, 23, 681.6262,-473.3458,16.5363);   //  Sons
AddStaticPickup(1318, 23, 2256.7324,-44.6466,26.8834);   //  Mayans
AddStaticPickup(1318, 23, 1925.5369,170.0411,37.2813);   //  Cativeiro (1)
AddStaticPickup(1318, 23, 1566.8350,23.2496,24.1641);    //  Cativeiro (2)
AddStaticPickup(1318, 23, 1106.5464,-299.7361,74.5391);  //  Al'Qaeda
AddStaticPickup(1318, 23, -49.8359,-269.3634,6.6332);    //  Taliban
AddStaticPickup(1318, 23, 649.3259,-1353.9972,13.5470);  //  Reportes
AddStaticPickup(1318, 23, 031.8668,-1435.2681,13.5546);  //  Mecanicos
AddStaticPickup(1318, 23, 1172.0768,-1323.3262,15.4029); //  Samu
AddStaticPickup(1318, 23, 1791.8473,-1163.1223,23.8281); //  Loja De Arma (1)
AddStaticPickup(1318, 23, 1070.8407,-1868.4528,13.5469); //  Loja De Arma (2)
AddStaticPickup(1318, 23, 1144.0786,-1521.2854,15.7969); //  Loja De Arma (3)
AddStaticPickup(1318, 23, 2324.3596,-1218.8455,27.9766); //  Hitmans



pawn Код:
C:\Users\Allisson\Desktop\[GM] Brasil Knight Games\gamemodes\BKG.pwn(11) : warning 217: loose indentation
C:\Users\Allisson\Desktop\[GM] Brasil Knight Games\gamemodes\BKG.pwn(20) : error 021: symbol already defined: "AddStaticPickup"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Error.


Porque Isso Aconteceu ?
Reply
#2

AddStaticPickup estб definido mas de uma vez !
o outro й a linha 11, qe ta mal identada.
Reply
#3

Poste a linha do erro
Reply
#4

pawn Код:
public OnGameModeInit()
{
    UsePlayerPedAnims();
    SetGameModeText("BKG RPG:Brasil");
    AddPlayerClass(23, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
   

     AddStaticVehicleEx(520,2037.3000500,1364.1999500,11.7000000,0.0000000,-1,-1,60000); //Hydra
     AddStaticVehicleEx(520,2037.3000500,1350.0999800,11.7000000,0.0000000,-1,-1,60000); //Hydra
     AddStaticVehicleEx(522,2024.6999500,1338.0999800,10.5000000,0.0000000,6,6,60000); //NRG-500
     AddStaticVehicleEx(522,2026.0999800,1338.1999500,10.5000000,0.0000000,0,0,60000); //NRG-500
     return 1;
}
//==============================================================================
//Entradas - Brasil Knight Games
//==============================================================================
AddStaticPickup(1318, 23, 1928.5828,-1776.3160,13.5469); //  27/7 (1)
AddStaticPickup(1247, 23, 919.4675,-1252.2362,16.2109);  //  Policia Civil
AddStaticPickup(1247, 23, 325.5668,-1514.7399,36.0325);  //  Bope
AddStaticPickup(1247, 23, -516.1298,-539.2330,25.5234);  //  Policia Federal
AddStaticPickup(1247, 23, -1366.4832,500.9799,11.1953);  //  Exercito
AddStaticPickup(1318, 23, -1676.1521,432.2154,7.1797);   //  27/7 (2)
AddStaticPickup(1318, 23, -78.3887,-1169.9348,2.1354);   //  27/7 (3)
AddStaticPickup(1247, 23, 1374.1255,404.9712,19.9555);   //  Interpol
AddStaticPickup(1318, 23, 1374.8954,469.2785,20.1810);   //  27/7 (4)
AddStaticPickup(1318, 23, 1481.0358,-1772.3134,18.7958); //  Prefeitura
AddStaticPickup(1318, 23, 1411.5427,-1699.5504,13.5395); //  Centro De Licencas
AddStaticPickup(1318, 23, 1498.3643,-1580.5143,13.5498); //  Restaurante
AddStaticPickup(1318, 23, 952.5464,-909.1096,45.7656);   //  Los Aztecas
AddStaticPickup(1318, 23, 1154.9427,-1180.8513,32.8187); //  Ballas
AddStaticPickup(1318, 23, 2807.9810,-1190.8875,25.3436); //  Los Vagos
AddStaticPickup(1318, 23, 2140.9282,-1801.9103,16.1475); //  Comando Vermelho
AddStaticPickup(1318, 23, 1497.0023,-687.8923,95.5633);  //  Cosa Nostra
AddStaticPickup(1318, 23, 691.5784,-1275.9432,13.5607);  //  Yakuza
AddStaticPickup(1318, 23, 681.6262,-473.3458,16.5363);   //  Sons
AddStaticPickup(1318, 23, 2256.7324,-44.6466,26.8834);   //  Mayans
AddStaticPickup(1318, 23, 1925.5369,170.0411,37.2813);   //  Cativeiro (1)
AddStaticPickup(1318, 23, 1566.8350,23.2496,24.1641);    //  Cativeiro (2)
AddStaticPickup(1318, 23, 1106.5464,-299.7361,74.5391);  //  Al'Qaeda
AddStaticPickup(1318, 23, -49.8359,-269.3634,6.6332);    //  Taliban
AddStaticPickup(1318, 23, 649.3259,-1353.9972,13.5470);  //  Reportes
AddStaticPickup(1318, 23, 031.8668,-1435.2681,13.5546);  //  Mecanicos
AddStaticPickup(1318, 23, 1172.0768,-1323.3262,15.4029); //  Samu
AddStaticPickup(1318, 23, 1791.8473,-1163.1223,23.8281); //  Loja De Arma (1)
AddStaticPickup(1318, 23, 1070.8407,-1868.4528,13.5469); //  Loja De Arma (2)
AddStaticPickup(1318, 23, 1144.0786,-1521.2854,15.7969); //  Loja De Arma (3)
AddStaticPickup(1318, 23, 2324.3596,-1218.8455,27.9766); //  Hitmans
Reply
#5

Linha : 11
pawn Код:
AddStaticVehicleEx(520,2037.3000500,1364.1999500,11.7000000,0.0000000,-1,-1,60000); //Hydra

Linha : 20
pawn Код:
AddStaticPickup(1318, 23, 1928.5828,-1776.3160,13.5469); //  27/7 (1)
Reply
#6

PHP код:
public OnGameModeInit()
{
    
UsePlayerPedAnims();
    
SetGameModeText("BKG RPG:Brasil");
    
AddPlayerClass(231958.37831343.157215.3746269.1425000000);
    
AddStaticVehicleEx(520,2037.3000500,1364.1999500,11.7000000,0.0000000,-1,-1,60000); //Hydra
    
AddStaticVehicleEx(520,2037.3000500,1350.0999800,11.7000000,0.0000000,-1,-1,60000); //Hydra
    
AddStaticVehicleEx(522,2024.6999500,1338.0999800,10.5000000,0.0000000,6,6,60000); //NRG-500
    
AddStaticVehicleEx(522,2026.0999800,1338.1999500,10.5000000,0.0000000,0,0,60000); //NRG-500
    
AddStaticPickup(1318231928.5828,-1776.3160,13.5469); //  27/7 (1)
    
AddStaticPickup(124723919.4675,-1252.2362,16.2109);  //  Policia Civil
    
AddStaticPickup(124723325.5668,-1514.7399,36.0325);  //  Bope
    
AddStaticPickup(124723, -516.1298,-539.2330,25.5234);  //  Policia Federal
    
AddStaticPickup(124723, -1366.4832,500.9799,11.1953);  //  Exercito
    
AddStaticPickup(131823, -1676.1521,432.2154,7.1797);   //  27/7 (2)
    
AddStaticPickup(131823, -78.3887,-1169.9348,2.1354);   //  27/7 (3)
    
AddStaticPickup(1247231374.1255,404.9712,19.9555);   //  Interpol
    
AddStaticPickup(1318231374.8954,469.2785,20.1810);   //  27/7 (4)
    
AddStaticPickup(1318231481.0358,-1772.3134,18.7958); //  Prefeitura
    
AddStaticPickup(1318231411.5427,-1699.5504,13.5395); //  Centro De Licencas
    
AddStaticPickup(1318231498.3643,-1580.5143,13.5498); //  Restaurante
    
AddStaticPickup(131823952.5464,-909.1096,45.7656);   //  Los Aztecas
    
AddStaticPickup(1318231154.9427,-1180.8513,32.8187); //  Ballas
    
AddStaticPickup(1318232807.9810,-1190.8875,25.3436); //  Los Vagos
    
AddStaticPickup(1318232140.9282,-1801.9103,16.1475); //  Comando Vermelho
    
AddStaticPickup(1318231497.0023,-687.8923,95.5633);  //  Cosa Nostra
    
AddStaticPickup(131823691.5784,-1275.9432,13.5607);  //  Yakuza
    
AddStaticPickup(131823681.6262,-473.3458,16.5363);   //  Sons
    
AddStaticPickup(1318232256.7324,-44.6466,26.8834);   //  Mayans
    
AddStaticPickup(1318231925.5369,170.0411,37.2813);   //  Cativeiro (1)
    
AddStaticPickup(1318231566.8350,23.2496,24.1641);    //  Cativeiro (2)
    
AddStaticPickup(1318231106.5464,-299.7361,74.5391);  //  Al'Qaeda
    
AddStaticPickup(131823, -49.8359,-269.3634,6.6332);    //  Taliban
    
AddStaticPickup(131823649.3259,-1353.9972,13.5470);  //  Reportes
    
AddStaticPickup(131823031.8668,-1435.2681,13.5546);  //  Mecanicos
    
AddStaticPickup(1318231172.0768,-1323.3262,15.4029); //  Samu
    
AddStaticPickup(1318231791.8473,-1163.1223,23.8281); //  Loja De Arma (1)
    
AddStaticPickup(1318231070.8407,-1868.4528,13.5469); //  Loja De Arma (2)
    
AddStaticPickup(1318231144.0786,-1521.2854,15.7969); //  Loja De Arma (3)
    
AddStaticPickup(1318232324.3596,-1218.8455,27.9766); //  Hitmans
    
return 1;

Reply
#7

pawn Код:
public OnGameModeInit()
{
    UsePlayerPedAnims();
    SetGameModeText("BKG RPG:Brasil");
    AddPlayerClass(23, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);

    AddStaticVehicleEx(520,2037.3000500,1364.1999500,11.7000000,0.0000000,-1,-1,60000); //Hydra
    AddStaticVehicleEx(520,2037.3000500,1350.0999800,11.7000000,0.0000000,-1,-1,60000); //Hydra
    AddStaticVehicleEx(522,2024.6999500,1338.0999800,10.5000000,0.0000000,6,6,60000); //NRG-500
    AddStaticVehicleEx(522,2026.0999800,1338.1999500,10.5000000,0.0000000,0,0,60000); //NRG-500

    //==============================================================================
//Entradas - Brasil Knight Games
//==============================================================================


    AddStaticPickup(1318, 23, 1928.5828,-1776.3160,13.5469); //  27/7 (1)
    AddStaticPickup(1247, 23, 919.4675,-1252.2362,16.2109);  //  Policia Civil
    AddStaticPickup(1247, 23, 325.5668,-1514.7399,36.0325);  //  Bope
    AddStaticPickup(1247, 23, -516.1298,-539.2330,25.5234);  //  Policia Federal
    AddStaticPickup(1247, 23, -1366.4832,500.9799,11.1953);  //  Exercito
    AddStaticPickup(1318, 23, -1676.1521,432.2154,7.1797);   //  27/7 (2)
    AddStaticPickup(1318, 23, -78.3887,-1169.9348,2.1354);   //  27/7 (3)
    AddStaticPickup(1247, 23, 1374.1255,404.9712,19.9555);   //  Interpol
    AddStaticPickup(1318, 23, 1374.8954,469.2785,20.1810);   //  27/7 (4)
    AddStaticPickup(1318, 23, 1481.0358,-1772.3134,18.7958); //  Prefeitura
    AddStaticPickup(1318, 23, 1411.5427,-1699.5504,13.5395); //  Centro De Licencas
    AddStaticPickup(1318, 23, 1498.3643,-1580.5143,13.5498); //  Restaurante
    AddStaticPickup(1318, 23, 952.5464,-909.1096,45.7656);   //  Los Aztecas
    AddStaticPickup(1318, 23, 1154.9427,-1180.8513,32.8187); //  Ballas
    AddStaticPickup(1318, 23, 2807.9810,-1190.8875,25.3436); //  Los Vagos
    AddStaticPickup(1318, 23, 2140.9282,-1801.9103,16.1475); //  Comando Vermelho
    AddStaticPickup(1318, 23, 1497.0023,-687.8923,95.5633);  //  Cosa Nostra
    AddStaticPickup(1318, 23, 691.5784,-1275.9432,13.5607);  //  Yakuza
    AddStaticPickup(1318, 23, 681.6262,-473.3458,16.5363);   //  Sons
    AddStaticPickup(1318, 23, 2256.7324,-44.6466,26.8834);   //  Mayans
    AddStaticPickup(1318, 23, 1925.5369,170.0411,37.2813);   //  Cativeiro (1)
    AddStaticPickup(1318, 23, 1566.8350,23.2496,24.1641);    //  Cativeiro (2)
    AddStaticPickup(1318, 23, 1106.5464,-299.7361,74.5391);  //  Al'Qaeda
    AddStaticPickup(1318, 23, -49.8359,-269.3634,6.6332);    //  Taliban
    AddStaticPickup(1318, 23, 649.3259,-1353.9972,13.5470);  //  Reportes
    AddStaticPickup(1318, 23, 031.8668,-1435.2681,13.5546);  //  Mecanicos
    AddStaticPickup(1318, 23, 1172.0768,-1323.3262,15.4029); //  Samu
    AddStaticPickup(1318, 23, 1791.8473,-1163.1223,23.8281); //  Loja De Arma (1)
    AddStaticPickup(1318, 23, 1070.8407,-1868.4528,13.5469); //  Loja De Arma (2)
    AddStaticPickup(1318, 23, 1144.0786,-1521.2854,15.7969); //  Loja De Arma (3)
    AddStaticPickup(1318, 23, 2324.3596,-1218.8455,27.9766); //  Hitmans
    return 1;
}
Reply
#8

Obrigado , delete , Nill.Oliveira ( Me Ajudaram Muito Vlw )
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)