[Ajuda] GM Bugada!
#1

Historia:

Um belo dia eu coloquei uma fs de mapa. mais o mapa nao funcionou e ningem conseguia entrar no serve ae eu fui e tirei o mapa. Mais minha gm apareзeu isso:
Quote:

C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(1624) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(1625) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(1627) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(162 : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(1629) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(1630) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(1631) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(1632) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(1633) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(1634) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(1636) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(1637) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(163 : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(1639) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(1640) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(1641) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(1642) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(1643) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(1649) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(1651) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(1652) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(1653) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(1654) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(1657) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(165 : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(1660) : error 017: undefined symbol "CPS_AddCheckpoint"

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


26 Errors.

Linhas:

pawn Код:
//Checks====================================================================
FaculdadeLS = CPS_AddCheckpoint(1081.0103,-1697.9812,13.5469, 3.0, 50);
ammuls = CPS_AddCheckpoint(313.8173,-133.7504,999.6016, 3.0, 50);
//checkacademials = CPS_AddCheckpoint(677.7252,-2019.4349,1.4100, 3.0, 50);
caixaeletronico1 = CPS_AddCheckpoint(1285.5574,-1329.1753,13.5494, 3.0, 50);
caixaeletronico2 = CPS_AddCheckpoint(1242.8236,-1704.6500,13.5469, 3.0, 50);
caixaeletronico3 = CPS_AddCheckpoint(1477.3513,-1710.3250,14.3525, 3.0, 50);
caixaeletronico4 = CPS_AddCheckpoint(1722.3969,-1718.2037,13.5305, 3.0, 50);
caixaeletronico5 = CPS_AddCheckpoint(2140.6582,-1168.6848,23.9922, 3.0, 50);
caixaeletronico6 = CPS_AddCheckpoint(537.4147,-1761.8303,14.3161, 3.0, 50);
caixaeletronico7 = CPS_AddCheckpoint(940.8690,-1651.7668,13.5427, 3.0, 50);
caixaeletronico8 = CPS_AddCheckpoint(1046.5620,-1664.0647,13.5469, 3.0, 50);
//PCs lan
pc1 = CPS_AddCheckpoint(1418.8312,-1484.0288,125.3672, 1.5, 50);
pc2 = CPS_AddCheckpoint(1423.7415,-1479.0685,125.3672, 1.5, 50);
pc3 = CPS_AddCheckpoint(1428.6809,-1474.1244,125.3672, 1.5, 50);
pc4 = CPS_AddCheckpoint(1433.0868,-1468.7441,125.3672, 1.5, 50);
pc5 = CPS_AddCheckpoint(1425.5532,-1462.6206,125.3672, 1.5, 50);
pc6 = CPS_AddCheckpoint(1420.7190,-1467.5155,125.3672, 1.5, 50);
pc7 = CPS_AddCheckpoint(1415.1466,-1472.3024,125.3672, 1.5, 50);
pc8 = CPS_AddCheckpoint(1410.7584,-1477.3362,125.3672, 1.5, 50);
//bancos
/*bancoDPLS = CPS_AddCheckpoint(243.7813,67.8846,1003.6406, 1.5, 40);
bancoDPSF = CPS_AddCheckpoint(251.1998,111.5211,1003.2188, 1.5, 40);
bancoDPLV = CPS_AddCheckpoint(300.7042,170.8883,1007.1719, 1.5, 40);
bancoDPFC = CPS_AddCheckpoint(697.9947,-494.6935,16.3359, 1.5, 40);*/

bancoPref = CPS_AddCheckpoint(369.4976,187.8609,1008.3893, 1.5, 40);
//lavajatos
lavajato1 = CPS_AddCheckpoint(1911.3218,-1775.3804,13.3828, 4.0, 40);
lavajato2 = CPS_AddCheckpoint(2458.9067,-1460.9100,24.0000, 4.0, 40);
lavajato3 = CPS_AddCheckpoint(1017.6859,-917.2276,42.1797, 4.0, 40);
lavajato4 = CPS_AddCheckpoint(-111.0689,1130.1112,19.7422, 4.0, 40);
//oficina1 = CPS_AddCheckpoint(1363.4012,-1649.7007,13.3828, 6.0, 40);
//menudp = CPS_AddCheckpoint(2319.0212,-7.3895,26.7496, 2.0, 40);
menudp = CPS_AddCheckpoint(248.1671,67.0585,1003.6406, 2.0, 40);
oficinals = CPS_AddCheckpoint(1363.4012,-1649.7007,13.3828, 2.0, 40);
//VIP LS
barvipls = CPS_AddCheckpoint(1568.0254,-1896.3612,13.5605, 2.0, 40);
barviplsdentro = CPS_AddCheckpoint(455.1761,-20.7207,1000.7344, 2.0, 40);
armasvipls = CPS_AddCheckpoint(451.9336,-10.9036,1000.7344, 2.0, 40);
//VIP SF
/*barvipsf = CPS_AddCheckpoint(-2155.2612,645.3902,52.3672, 2.0, 40);
barvipsfdentro = CPS_AddCheckpoint(1212.2075,-27.4090,1000.9531, 2.0, 40);
armasvipsf = CPS_AddCheckpoint(1207.6324,-40.8146,1000.9531, 2.0, 40);
//VIP LV
barviplv = CPS_AddCheckpoint(2489.9238,2063.7310,10.8203, 2.0, 40);
barviplvdentro = CPS_AddCheckpoint(965.2394,-53.1904,1001.1246, 2.0, 40);
armasviplv = CPS_AddCheckpoint(957.9706,-48.7545,1001.1172, 2.0, 40);*/
Resumo da historia: ME AJUDE!!!
Reply
#2

ta faltando a include cpstream
Reply
#3

Coloca no inicio do seu gm em baixo do

pawn Код:
#include <a_samp>
ai vc coloca em baixo o codigo

pawn Код:
#include <cpstream>
Reply
#4

Quote:
Originally Posted by N3XTMapper
Посмотреть сообщение
Coloca no inicio do seu gm em baixo do

pawn Код:
#include <a_samp>
ai vc coloca em baixo o codigo

pawn Код:
#include <cpstream>
Piorou minha vida. Novos erros:
Quote:

C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(16) : warning 201: redefinition of constant/macro (symbol "MAX_CHECKPOINTS")
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(385) : warning 201: redefinition of constant/macro (symbol "cpinfo")
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(386) : error 021: symbol already defined: "cpX"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(392) : error 021: symbol already defined: "CPSERVICE_active"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(393) : error 021: symbol already defined: "Checkpoints"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(394) : error 021: symbol already defined: "UsedCPSlot"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(395) : error 021: symbol already defined: "CPSERVICE_actualcp"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(271 : error 017: undefined symbol "PlayerName"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(2730) : error 017: undefined symbol "ResetPlayerGrana"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(2759) : error 017: undefined symbol "PlayerName"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(2767) : error 017: undefined symbol "PlayerName"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(2871) : error 017: undefined symbol "function218"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(2930) : error 017: undefined symbol "GetPlayerGrana"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(2956) : error 017: undefined symbol "GetName"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(2964) : error 017: undefined symbol "GetName"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(3045) : error 004: function "Logarprof" is not implemented
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(3182) : error 017: undefined symbol "PlayerName"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(3192) : error 017: undefined symbol "PlayerName"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(3202) : error 017: undefined symbol "PlayerName"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(3212) : error 017: undefined symbol "PlayerName"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(3222) : error 017: undefined symbol "PlayerName"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(3231) : error 017: undefined symbol "PlayerName"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(3263) : error 017: undefined symbol "GetName"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(3265) : error 017: undefined symbol "GetName"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(3319) : error 079: inconsistent return types (array & non-array)
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(3324) : error 079: inconsistent return types (array & non-array)
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(3332) : error 079: inconsistent return types (array & non-array)
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(3342) : error 079: inconsistent return types (array & non-array)

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


26 Errors.

Reply
#5

voce colocou certinho ? tem que ir no topo do GM OU FS onde ta escrito #include <a_samp>

Dps vc vai embaixo de onde ta #include <a_samp> e colocar #include <cpstream>
Reply
#6

Talvez alguma chave vocк fechou errado.

Use DeBug pra ve
Reply
#7

Saquei, seu GM tem a include embutida no GM, entao faz o seguinte tira
pawn Код:
#include <cpstream>
e copia o codigo abaixo e coloca no final do seu gm
pawn Код:
stock CPS_AddCheckpoint(Float:X,Float:Y,Float:Z,Float:size,spawn_dist)
{
    new cpid=1;
    while(UsedCPSlot[cpid] == 1) cpid++;
    if(CPSERVICE_active == 0){
        SetTimer("CPSERVICE_Handler",500,true);
        CPSERVICE_active=1;
    }
    UsedCPSlot[cpid]=1;
    Checkpoints[cpid][cpX]=X;
    Checkpoints[cpid][cpY]=Y;
    Checkpoints[cpid][cpZ]=Z;
    Checkpoints[cpid][cpsz]=size;
    Checkpoints[cpid][cpsd]=spawn_dist;
    return cpid;
}
Reply
#8

Quote:
Originally Posted by O_KoDi
Посмотреть сообщение
Saquei, seu GM tem a include embutida no GM, entao faz o seguinte tira
pawn Код:
#include <cpstream>
e copia o codigo abaixo e coloca no final do seu gm
pawn Код:
stock CPS_AddCheckpoint(Float:X,Float:Y,Float:Z,Float:size,spawn_dist)
{
    new cpid=1;
    while(UsedCPSlot[cpid] == 1) cpid++;
    if(CPSERVICE_active == 0){
        SetTimer("CPSERVICE_Handler",500,true);
        CPSERVICE_active=1;
    }
    UsedCPSlot[cpid]=1;
    Checkpoints[cpid][cpX]=X;
    Checkpoints[cpid][cpY]=Y;
    Checkpoints[cpid][cpZ]=Z;
    Checkpoints[cpid][cpsz]=size;
    Checkpoints[cpid][cpsd]=spawn_dist;
    return cpid;
}
Nгo funcionou.

Quote:
Originally Posted by TheKoDaK
Посмотреть сообщение
Talvez alguma chave vocк fechou errado.

Use DeBug pra ve
DeBug e um programa?

Quote:
Originally Posted by N3XTMapper
Посмотреть сообщение
voce colocou certinho ? tem que ir no topo do GM OU FS onde ta escrito #include <a_samp>

Dps vc vai embaixo de onde ta #include <a_samp> e colocar #include <cpstream>
Minha include com a que voce me falou:

pawn Код:
#include <a_samp>
#include <cpstream>
#include <dini>
#include <c_vehicleinfo>
#include <string>
#include <a_players>
#include <a_vehicles>
#include <core>
#include <float>
#include <streamer>
#pragma tabsize 0
Ainda nao funciona! Me ajude. PFFF
Reply
#9

como nгo ? vocк removeu a definiзгo da include cpstream ? e add no final do codigo a stock que mandei ?
se sim que erro q deu ae ?
Reply
#10

Quote:
Originally Posted by O_KoDi
Посмотреть сообщение
como nгo ? vocк removeu a definiзгo da include cpstream ? e add no final do codigo a stock que mandei ?
se sim que erro q deu ae ?
Eu removi e pus o seu codigo Stock mais continuou com os erro:
Код:
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(1624) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(1625) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(1627) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(162 : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(1629) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(1630) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(1631) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(1632) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(1633) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(1634) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(1636) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(1637) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(163 : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(1639) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(1640) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(1641) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(1642) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(1643) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(1649) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(1651) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(1652) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(1653) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(1654) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(1657) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(165 : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Arquivos de programas\Rockstar Games\GTA San Andreas\Server\gamemodes\BNV.pwn(1660) : error 017: undefined symbol "CPS_AddCheckpoint"

Compilation aborted.Pawn compiler 3.2.3664	 Copyright © 1997-2006, ITB CompuPhase


26 Errors.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)