SA-MP Forums Archive
[Ajuda] pequeno erro irritante. (Rep ++) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] pequeno erro irritante. (Rep ++) (/showthread.php?tid=379134)



pequeno erro irritante. (Rep ++) - Duduloch - 20.09.2012

Quero saber como arrumar esses erros. To fazendo meu gm do 0 e me deparei com isso:


Erros:
Код:
C:\Users\Usuario\Desktop\Server\gamemodes\BCCinicio.pwn(605) : warning 235: public function lacks forward declaration (symbol "Portaorecfec")
C:\Users\Usuario\Desktop\Server\gamemodes\BCCinicio.pwn(609) : warning 202: number of arguments does not match definition
C:\Users\Usuario\Desktop\Server\gamemodes\BCCinicio.pwn(609) : warning 202: number of arguments does not match definition
C:\Users\Usuario\Desktop\Server\gamemodes\BCCinicio.pwn(609) : warning 202: number of arguments does not match definition
Linhas:

Код:
609 MoveObject(portaorec,250.5,61.400001525879,1005.200012207,0,0,0,3.0);
605 public Portaorecfec(portaorecdpid)
Agradeзo dкs de jб!


Re: pequeno erro irritante. (Rep ++) - Duduloch - 20.09.2012

Serб que alguйm poderia me ajudar?


Re: pequeno erro irritante. (Rep ++) - .FuneraL. - 20.09.2012

pawn Код:
//Object
MoveObject(portaorec, 250.5,61.400001525879,1005.200012207, 0.0, 0.0 ,0.0,3.0)

//Topo do GM

forward Portaorecfec(portaorecdpid);
Tenta Aн


Re: pequeno erro irritante. (Rep ++) - Duduloch - 20.09.2012

Quote:
Originally Posted by .FuneraL.
Посмотреть сообщение
pawn Код:
//Object
MoveObject(portaorec, 250.5,61.400001525879,1005.200012207, 0.0, 0.0 ,0.0,3.0)

//Topo do GM

forward Portaorecfec(portaorecdpid);
Tenta Aн
Код:
C:\Users\Usuario\Desktop\Server\gamemodes\BCCinicio.pwn(597) : warning 235: public function lacks forward declaration (symbol "Portaorecfec")
C:\Users\Usuario\Desktop\Server\gamemodes\BCCinicio.pwn(601) : warning 202: number of arguments does not match definition
C:\Users\Usuario\Desktop\Server\gamemodes\BCCinicio.pwn(601) : warning 202: number of arguments does not match definition
C:\Users\Usuario\Desktop\Server\gamemodes\BCCinicio.pwn(601) : warning 202: number of arguments does not match definition
Vlw pela tentativa, espero que possa me ajudar '-'


Re: pequeno erro irritante. (Rep ++) - CaioMiglioli - 20.09.2012

pawn Код:
forward Portaorecfec(portaorecdpid);



Re: pequeno erro irritante. (Rep ++) - Duduloch - 20.09.2012

Quote:
Originally Posted by .FuneraL.
Посмотреть сообщение
pawn Код:
//Object
MoveObject(portaorec, 250.5,61.400001525879,1005.200012207, 0.0, 0.0 ,0.0,3.0)

//Topo do GM

forward Portaorecfec(portaorecdpid);
Tenta Aн
Serб que nao pode tб faltando alguma include?


Re: pequeno erro irritante. (Rep ++) - Duduloch - 20.09.2012

Quote:
Originally Posted by CaioMiglioli
Посмотреть сообщение
pawn Код:
forward Portaorecfec(portaorecdpid);
jб tinha essa forward, mas nao adiantou nada '-'

Код:
//=================--//Inicio forward's//--============================//

forward TempoPreso(playerid);
forward VerificarPreso(playerid);
forward NomeCarro(playerid);
forward Portaorecfec(portaorecdpid);

//================--//Fim forward's//--==============================//
Obs: poucas forward pke comecei o gm ontem.


Re: pequeno erro irritante. (Rep ++) - focaximubh - 20.09.2012

Quote:
Originally Posted by Duduloch
Посмотреть сообщение
jб tinha essa forward, mas nao adiantou nada '-'

Код:
//=================--//Inicio forward's//--============================//

forward TempoPreso(playerid);
forward VerificarPreso(playerid);
forward NomeCarro(playerid);
forward Portaorecfec(portaorecdpid);

//================--//Fim forward's//--==============================//
Obs: poucas forward pke comecei o gm ontem.
Includes.


Re: pequeno erro irritante. (Rep ++) - Duduloch - 20.09.2012

Quote:
Originally Posted by focaximubh
Посмотреть сообщение
Includes.
Poderia me passar os nomes delas? Senгo ficarei perdido. Agradeзo a preucupaзгo


Re: pequeno erro irritante. (Rep ++) - steeldark - 20.09.2012

Quote:
Originally Posted by Duduloch
Посмотреть сообщение
jб tinha essa forward, mas nao adiantou nada '-'

Код:
//=================--//Inicio forward's//--============================//

forward TempoPreso(playerid);
forward VerificarPreso(playerid);
forward NomeCarro(playerid);
forward Portaorecfec(portaorecdpid);

//================--//Fim forward's//--==============================//
Obs: poucas forward pke comecei o gm ontem.
possivelmente vc declarou essas fowards dentro do if que verifica se й um filterscript

abaixo dessa linha:
pawn Код:
#if defined FILTERSCRIPT
verifica se nгo foi esse o caso. caso sim, mova a forward para outro local.