SA-MP Forums Archive
[Ajuda] strlib.inc - 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] strlib.inc (/showthread.php?tid=445401)



strlib.inc - VeNuZ_ - 21.06.2013

Код:
strlib.inc(154) : error 025: function heading differs from prototype
strlib.inc(154) : error 025: function heading differs from prototype
strlib.inc(154) : error 025: function heading differs from prototype
strlib.inc(154) : fatal error 107: too many error messages on one line
Tб a dar este erros pq ?


Re: strlib.inc - VeNuZ_ - 21.06.2013

Linha :
pawn Код:
forward strreplace(string[], const search[], const replacement[], bool:ignorecase = false, pos = 0, limit = -1, maxlength = sizeof(string));



Re: strlib.inc - ProKillerpa - 21.06.2013

Posta o cуdigo inteiro;


Respuesta: strlib.inc - DartakousLien - 21.06.2013

simples cara

a forward tem de estar igual б public

tipo assim
pawn Код:
forward strreplace(string[], const search[], const replacement[], bool:ignorecase = false, pos = 0, limit = -1, maxlength = sizeof(string));
public strreplace(string[], const search[], const replacement[], bool:ignorecase = false, pos = 0, limit = -1, maxlength = sizeof(string)) {
    return 1;
}
e concerteza voce nao tem