Detaljan opis problema:Kako da resim ove erore:
C:\Documents and Settings\Daniel\My Documents\Downloads\samp03e_svr_R2_win324\gamemodes\ASP.pwn(2525) : error 017: undefined symbol "GetPlayerVersion"
C:\Documents and Settings\Daniel\My Documents\Downloads\samp03e_svr_R2_win324\gamemodes\ASP.pwn(2525) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Daniel\My Documents\Downloads\samp03e_svr_R2_win324\gamemodes\ASP.pwn(8220) : error 025: function heading differs from prototype
C:\Documents and Settings\Daniel\My Documents\Downloads\samp03e_svr_R2_win324\gamemodes\ASP.pwn(8221) : error 021: symbol already defined: "StripNewLine"
C:\Documents and Settings\Daniel\My Documents\Downloads\samp03e_svr_R2_win324\gamemodes\ASP.pwn(8227) : error 021: symbol already defined: "strtok"
C:\Documents and Settings\Daniel\My Documents\Downloads\samp03e_svr_R2_win324\gamemodes\ASP.pwn(8241) : error 047: array sizes do not match, or destination array is too small
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
5 Errors.
Dio skripte:
PRVI I DRUGI EROR:
public OnPlayerConnect(playerid)
{
new str, ip, str2, v;
GetPlayerVersion(playerid, v, sizeof(v)); //OVO JE TA LINIJA
TRECI I CETVRTI EROR:
stock StripNewLine(str[]) //OVO JE TA LINIJA
{
new l = strlen(str); //I OVO JE TA LINIJA
while (l-- && str <= ' ') str = '\0';
}
PETI EROR:
stock strtok(const string[], &index)
{ // OVO JE TA LINIJA ALI NE RAZUMEM STA OVDE IMA OSIM ZAGRADE :S
new length = strlen(string);
SESTI EROR:
}
result[index - offset] = EOS;
return result; //OVO JE TA LINIJA
}
Neke slike/video za lakse dobivanje pomoci(neobavezno): //
