oscar-broman / strlib

String functions for SA-MP Pawn scripting.
50 stars 16 forks source link

error 025: function heading differs from prototype #22

Closed Gabriel-CSS closed 3 years ago

Gabriel-CSS commented 3 years ago

strlib.inc(173) : error 025: function heading differs from prototype

line 173: forward strreplace(string[], const search[], const replacement[], bool:ignorecase = false, pos = 0, limit = -1, maxlength = sizeof(string));

Why could this be happening?

oscar-broman commented 3 years ago

You probably have another include that defines strreplace.

Try adding this before you include strlib: #define strreplace strlib_strreplace

Gabriel-CSS commented 3 years ago

SOLVED. Thank you so much!