[Ajuda] Erros Na GameMode Como Resolvo ?
#1

Boa Noite a Todos Estou aqui procurando uma Ajuda Pois estou criando uma GameMode Do 0 Sei que quando Cria GameMode do 0 Tem que saber Tudo Mas Tive um Problema aqui
que Nгo Consegui Resolver
PHP код:
Codigo:\pawno\include\SAMsites0.4.inc(360) : error 004: function "OnSamSiteRestarted" is not implemented 
Como Resolvo Isso?
Reply
#2

PHP код:
public OnSamSiteRestarted(/* veja se tem algum parametro aqui */)
{
    return 
1;

Reply
#3

Nгo Tem Isso Na GameMode
й uma Include que esta dando Erro
eu abri a include mas da erro ao copilar
Reply
#4

mostre os erros!
Reply
#5

Provavelmente й a versгo da include [INC] SA:MP Surface-to-Air-Missile - SAM desatualizada.

Essa й a callback:
Код:
public OnSamSiteRestarted()
{
    AddStaticSAM(237.5797,1698.6908,23.8673);
	AddStaticSAM(15.3281,1720.9646,23.8673);
	AddStaticSAM(188.2694,2083.4644,23.9063);
	AddStaticSAM(354.5453,2030.3062,23.8750);
	SAM_start();

    return 1;
}
Reply
#6

PHP код:
[RPG]\pawno\include\SAMsites0.4.inc(204) : error 017undefined symbol "MAX_PLAYERS"
C:\Users\user\Desktop\[SSGAMES]Play Connect [RPG]\pawno\include\SAMsites0.4.inc(206) : error 017undefined symbol "IsPlayerConnected"
C:\Users\user\Desktop\[SSGAMES]Play Connect [RPG]\pawno\include\SAMsites0.4.inc(210) : error 017undefined symbol "IsPlayerInAnyVehicle"
C:\Users\user\Desktop\[SSGAMES]Play Connect [RPG]\pawno\include\SAMsites0.4.inc(212) : error 017undefined symbol "GetPlayerVehicleID"
C:\Users\user\Desktop\[SSGAMES]Play Connect [RPG]\pawno\include\SAMsites0.4.inc(215) : error 017undefined symbol "GetVehiclePos"
C:\Users\user\Desktop\[SSGAMES]Play Connect [RPG]\pawno\include\SAMsites0.4.inc(216) : warning 217loose indentation
C
:\Users\user\Desktop\[SSGAMES]Play Connect [RPG]\pawno\include\SAMsites0.4.inc(222) : error 004: function "OnSamSiteUpdate" is not implemented
C
:\Users\user\Desktop\[SSGAMES]Play Connect [RPG]\pawno\include\SAMsites0.4.inc(228) : error 017undefined symbol "CreateObject"
C:\Users\user\Desktop\[SSGAMES]Play Connect [RPG]\pawno\include\SAMsites0.4.inc(236) : warning 213tag mismatch
C
:\Users\user\Desktop\[SSGAMES]Play Connect [RPG]\pawno\include\SAMsites0.4.inc(238) : error 004: function "OnSamSiteUpdate" is not implemented
C
:\Users\user\Desktop\[SSGAMES]Play Connect [RPG]\pawno\include\SAMsites0.4.inc(244) : warning 217loose indentation
C
:\Users\user\Desktop\[SSGAMES]Play Connect [RPG]\pawno\include\SAMsites0.4.inc(244) : error 017undefined symbol "CreateObject"
C:\Users\user\Desktop\[SSGAMES]Play Connect [RPG]\pawno\include\SAMsites0.4.inc(247) : warning 217loose indentation
C
:\Users\user\Desktop\[SSGAMES]Play Connect [RPG]\pawno\include\SAMsites0.4.inc(263) : error 017undefined symbol "SetTimerEx"
C:\Users\user\Desktop\[SSGAMES]Play Connect [RPG]\pawno\include\SAMsites0.4.inc(264) : error 017undefined symbol "SetTimerEx"
C:\Users\user\Desktop\[SSGAMES]Play Connect [RPG]\pawno\include\SAMsites0.4.inc(265) : error 017undefined symbol "SetTimerEx"
C:\Users\user\Desktop\[SSGAMES]Play Connect [RPG]\pawno\include\SAMsites0.4.inc(272) : error 017undefined symbol "IsPlayerConnected"
C:\Users\user\Desktop\[SSGAMES]Play Connect [RPG]\pawno\include\SAMsites0.4.inc(274) : error 017undefined symbol "KillTimer"
C:\Users\user\Desktop\[SSGAMES]Play Connect [RPG]\pawno\include\SAMsites0.4.inc(275) : error 017undefined symbol "KillTimer"
C:\Users\user\Desktop\[SSGAMES]Play Connect [RPG]\pawno\include\SAMsites0.4.inc(276) : error 017undefined symbol "KillTimer"
C:\Users\user\Desktop\[SSGAMES]Play Connect [RPG]\pawno\include\SAMsites0.4.inc(285) : warning 217loose indentation
C
:\Users\user\Desktop\[SSGAMES]Play Connect [RPG]\pawno\include\SAMsites0.4.inc(285) : error 017undefined symbol "GetVehiclePos"
C:\Users\user\Desktop\[SSGAMES]Play Connect [RPG]\pawno\include\SAMsites0.4.inc(288) : error 017undefined symbol "StopObject"
C:\Users\user\Desktop\[SSGAMES]Play Connect [RPG]\pawno\include\SAMsites0.4.inc(289) : error 017undefined symbol "MoveObject"
C:\Users\user\Desktop\[SSGAMES]Play Connect [RPG]\pawno\include\SAMsites0.4.inc(293) : error 017undefined symbol "StopObject"
C:\Users\user\Desktop\[SSGAMES]Play Connect [RPG]\pawno\include\SAMsites0.4.inc(294) : error 017undefined symbol "MoveObject"
C:\Users\user\Desktop\[SSGAMES]Play Connect [RPG]\pawno\include\SAMsites0.4.inc(284) : warning 203symbol is never used"Z"
C:\Users\user\Desktop\[SSGAMES]Play Connect [RPG]\pawno\include\SAMsites0.4.inc(283) : warning 203symbol is never used"Y"
C:\Users\user\Desktop\[SSGAMES]Play Connect [RPG]\pawno\include\SAMsites0.4.inc(282) : warning 203symbol is never used"X"
C:\Users\user\Desktop\[SSGAMES]Play Connect [RPG]\pawno\include\SAMsites0.4.inc(306) : error 017undefined symbol "GetObjectPos"
C:\Users\user\Desktop\[SSGAMES]Play Connect [RPG]\pawno\include\SAMsites0.4.inc(307) : warning 213tag mismatch
C
:\Users\user\Desktop\[SSGAMES]Play Connect [RPG]\pawno\include\SAMsites0.4.inc(309) : error 017undefined symbol "CreateExplosion"
C:\Users\user\Desktop\[SSGAMES]Play Connect [RPG]\pawno\include\SAMsites0.4.inc(310) : error 017undefined symbol "CreateExplosion"
C:\Users\user\Desktop\[SSGAMES]Play Connect [RPG]\pawno\include\SAMsites0.4.inc(311) : error 017undefined symbol "CreateExplosion"
C:\Users\user\Desktop\[SSGAMES]Play PLAY [RPG]\pawno\include\SAMsites0.4.inc(312) : warning 217loose indentation
C
:\Users\user\Desktop\[SSGAMES]Play Connect [RPG]\pawno\include\SAMsites0.4.inc(312) : error 017undefined symbol "KillTimer"
Compilation aborted.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
26 Errors

Reply
#7

Quote:
Originally Posted by MediaScripter
Посмотреть сообщение
PHP код:
[..] 
26 erros, na maioria das vezes, й brackets abertos (ou chaves, como preferir {}) que nгo foram fechados. Avalie seu cуdigo, caso nгo encontre um destes, jogue no tabulador do IpsBruno.
Reply
#8

Como assim nгo entendi ?
Me adiciona no Skype Por Favor
[BPP]Media_Scripter
Reply
#9

Quote:
Originally Posted by MediaScripter
Посмотреть сообщение
Como assim nгo entendi ?
Me adiciona no Skype Por Favor
[BPP]Media_Scripter
Ele ta falando das chaves,tipo assim...

Quote:

bla bla bla
Return 1;
}
Return 0;
}
Essas "}" sгo as chaves,vocк deve ter esquecido de colocar alguma,ae deu tantos erros
Reply
#10

Quote:
Originally Posted by MediaScripter
Посмотреть сообщение
Como assim nгo entendi ?
Me adiciona no Skype Por Favor
[BPP]Media_Scripter
Estб adicionado.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)