Ajuda, objetos invisнveis no meu server -
xxxPEDROxxx_Killers - 05.08.2011
Bem eu baixei um gm da net, ai quando abri ele como meu sever alguns objetos ficam invisнveis, sгo poucos + isso atrapalha mt, peзo ajuda de vcs pq ja tentei mts coisas e nada.
OBS: aparece tb ums avisos no gm:
C:\Documents and Settings\Usuбrio\Desktop\Melhor Server\gamemodes\cronostuntBR.pwn(582) : warning 217: loose indentation
C:\Documents and Settings\Usuбrio\Desktop\Melhor Server\gamemodes\cronostuntBR.pwn(585) : warning 217: loose indentation
C:\Documents and Settings\Usuбrio\Desktop\Melhor Server\gamemodes\cronostuntBR.pwn(622) : warning 217: loose indentation
C:\Documents and Settings\Usuбrio\Desktop\Melhor Server\gamemodes\cronostuntBR.pwn(650) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")
C:\Documents and Settings\Usuбrio\Desktop\Melhor Server\gamemodes\cronostuntBR.pwn(686) : warning 217: loose indentation
C:\Documents and Settings\Usuбrio\Desktop\Melhor Server\gamemodes\cronostuntBR.pwn(689) : warning 217: loose indentation
C:\Documents and Settings\Usuбrio\Desktop\Melhor Server\gamemodes\cronostuntBR.pwn(706) : warning 217: loose indentation
C:\Documents and Settings\Usuбrio\Desktop\Melhor Server\gamemodes\cronostuntBR.pwn(717) : warning 217: loose indentation
C:\Documents and Settings\Usuбrio\Desktop\Melhor Server\gamemodes\cronostuntBR.pwn(732) : warning 217: loose indentation
C:\Documents and Settings\Usuбrio\Desktop\Melhor Server\gamemodes\cronostuntBR.pwn(735) : warning 217: loose indentation
C:\Documents and Settings\Usuбrio\Desktop\Melhor Server\gamemodes\cronostuntBR.pwn(756) : warning 217: loose indentation
C:\Documents and Settings\Usuбrio\Desktop\Melhor Server\gamemodes\cronostuntBR.pwn(780) : warning 217: loose indentation
C:\Documents and Settings\Usuбrio\Desktop\Melhor Server\gamemodes\cronostuntBR.pwn(783) : warning 217: loose indentation
C:\Documents and Settings\Usuбrio\Desktop\Melhor Server\gamemodes\cronostuntBR.pwn(791) : warning 217: loose indentation
C:\Documents and Settings\Usuбrio\Desktop\Melhor Server\gamemodes\cronostuntBR.pwn(806) : warning 217: loose indentation
C:\Documents and Settings\Usuбrio\Desktop\Melhor Server\gamemodes\cronostuntBR.pwn(815) : warning 217: loose indentation
C:\Documents and Settings\Usuбrio\Desktop\Melhor Server\gamemodes\cronostuntBR.pwn(831) : warning 217: loose indentation
C:\Documents and Settings\Usuбrio\Desktop\Melhor Server\gamemodes\cronostuntBR.pwn(840) : warning 217: loose indentation
C:\Documents and Settings\Usuбrio\Desktop\Melhor Server\gamemodes\cronostuntBR.pwn(844) : warning 217: loose indentation
C:\Documents and Settings\Usuбrio\Desktop\Melhor Server\gamemodes\cronostuntBR.pwn(895) : warning 217: loose indentation
C:\Documents and Settings\Usuбrio\Desktop\Melhor Server\gamemodes\cronostuntBR.pwn(916) : warning 217: loose indentation
C:\Documents and Settings\Usuбrio\Desktop\Melhor Server\gamemodes\cronostuntBR.pwn(919) : warning 217: loose indentation
C:\Documents and Settings\Usuбrio\Desktop\Melhor Server\gamemodes\cronostuntBR.pwn(929) : warning 217: loose indentation
C:\Documents and Settings\Usuбrio\Desktop\Melhor Server\gamemodes\cronostuntBR.pwn(942) : warning 217: loose indentation
C:\Documents and Settings\Usuбrio\Desktop\Melhor Server\gamemodes\cronostuntBR.pwn(962) : warning 217: loose indentation
C:\Documents and Settings\Usuбrio\Desktop\Melhor Server\gamemodes\cronostuntBR.pwn(965) : warning 217: loose indentation
C:\Documents and Settings\Usuбrio\Desktop\Melhor Server\gamemodes\cronostuntBR.pwn(993) : warning 217: loose indentation
C:\Documents and Settings\Usuбrio\Desktop\Melhor Server\gamemodes\cronostuntBR.pwn(995) : warning 217: loose indentation
C:\Documents and Settings\Usuбrio\Desktop\Melhor Server\gamemodes\cronostuntBR.pwn(99
: warning 217: loose indentation
C:\Documents and Settings\Usuбrio\Desktop\Melhor Server\gamemodes\cronostuntBR.pwn(1001) : warning 217: loose indentation
C:\Documents and Settings\Usuбrio\Desktop\Melhor Server\gamemodes\cronostuntBR.pwn(1079) : warning 235: public function lacks forward declaration (symbol "OnPlayerInfoChange")
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
31 Warnings.
me ajuda galera!
Re: Ajuda, objetos invisнveis no meu server -
Lipe_Stronda - 05.08.2011
Alinha os objetos e aumente o limite de objeto,
seus objetos estгo tudo encostado,
Createobject ....
Createobject ....
___________
Alinhados:
deixe sempre uns espaзos
pawn Код:
CreateObject
CreateObject
Re: Ajuda, objetos invisнveis no meu server -
ViniBorn - 05.08.2011
loose indentation й apenas um alerta de cуdigo desorganizado.
Leia esses tutoriais.
http://forum.sa-mp.com/showthread.ph...ose+identation
http://forum.sa-mp.com/showthread.ph...ose+identation
Re: Ajuda, objetos invisнveis no meu server -
FireCat - 05.08.2011
Mete por cima de OnGameModeInit ou se for um filterscript OnFilterScriptInit:
#pragma tabsize 0
Re: Ajuda, objetos invisнveis no meu server -
xxxPEDROxxx_Killers - 05.08.2011
TIPO FIX TUDO QUE VCS FALARAM OS loose indentation SUMIRAM MAS OS OBJETOS AINDA ESTГO INVISНVEIS E AINDA TEM 2 ERROS:
C:\Documents and Settings\Usuбrio\Desktop\Melhor Server\gamemodes\cronostuntBR.pwn(651) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")
C:\Documents and Settings\Usuбrio\Desktop\Melhor Server\gamemodes\cronostuntBR.pwn(1080) : warning 235: public function lacks forward declaration (symbol "OnPlayerInfoChange")
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Warnings.
ME AJUDA
Re: Ajuda, objetos invisнveis no meu server -
JonathanFeitosa - 05.08.2011
Basta Apagar As duas Callbacks por completo. vб na linha: 651 & 651 й apague elas. boa sorte.
Re: Ajuda, objetos invisнveis no meu server -
xxxPEDROxxx_Killers - 05.08.2011
jonathan oq vc falo с deu certo с concerto os erros.
entгo pf alguma outra pessoa sabe como resolver o problema dos erros e dos objetos invisiveis?
Re: Ajuda, objetos invisнveis no meu server -
MaGnO_357 - 05.08.2011
Quote:
Originally Posted by xxxPEDROxxx_Killers
jonathan oq vc falo с deu certo с concerto os erros.
entгo pf alguma outra pessoa sabe como resolver o problema dos erros e dos objetos invisiveis?
|
bom sobre os Objetos estarem invesiveis te a conselho a usar a include <Streamer>
No Topo Do seu GM ou FS
No OnGameModeInit Mude CreateObject para CreateDynamicObject Exemplo:
Код:
CreateObject(2921,303.27285767,-86.78906250,1004.23681641,0.00000000,0.00000000,344.00000000);
//Mude para
CreateDynamicObject(2921,303.27285767,-86.78906250,1004.23681641,0.00000000,0.00000000,344.00000000);
OU
Caso Use FS No OnFilterScriptInit Mude CreateObject para CreateDynamicObject Exemplo:
Код:
CreateObject(2921,303.27285767,-86.78906250,1004.23681641,0.00000000,0.00000000,344.00000000);
//Mude para
CreateDynamicObject(2921,303.27285767,-86.78906250,1004.23681641,0.00000000,0.00000000,344.00000000);
Re: Ajuda, objetos invisнveis no meu server -
Shadoww5 - 05.08.2011
Estes erros indicam que nгo hб nenhuma forward correspondente а estas publics:
Код:
C:\Documents and Settings\Usuбrio\Desktop\Melhor Server\gamemodes\cronostuntBR.pwn(651) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")
C:\Documents and Settings\Usuбrio\Desktop\Melhor Server\gamemodes\cronostuntBR.pwn(1080) : warning 235: public function lacks forward declaration (symbol "OnPlayerInfoChange")
Com as atualizaзхes que o SA:MP sofreu, estas publics foram retiradas, logo atualize seu GM usando as novas funзхes.
Re: Ajuda, objetos invisнveis no meu server -
xxxPEDROxxx_Killers - 05.08.2011
a merda do caralho da porra dos objetos ainda tгo invisiveis