29.07.2012, 13:34
pawn Код:
stock strreplace(string[], find, replace)
{
for(new i=0; string[i]; i++)
{
if(string[i] == find)
{
string[i] = replace;
}
}
}
pawn Код:
C:\Documents and Settings\Dimitar\Desktop\samp03e_svr_win32\gamemodes\EsRp.pwn(97) : error 025: function heading differs from prototype
C:\Documents and Settings\Dimitar\Desktop\samp03e_svr_win32\gamemodes\EsRp.pwn(98) : error 021: symbol already defined: "strreplace"
C:\Documents and Settings\Dimitar\Desktop\samp03e_svr_win32\gamemodes\EsRp.pwn(106) : warning 209: function "strreplace" should return a value
C:\Documents and Settings\Dimitar\Desktop\samp03e_svr_win32\gamemodes\EsRp.pwn(113) : error 035: argument type mismatch (argument 2)