23.06.2014, 13:30
Код:
new File:f, templine[256], TBuilder[MAX_PLAYER_NAME], TempLapper[MAX_PLAYER_NAME], TempLap; idx=0; f = fopen(temprace, io_read); fread(f,templine,sizeof(templine)); if(templine[0] == 'Y') { new fileversion; strtok(templine,idx); fileversion = strval(strtok(templine,idx)); if(fileversion > VERSION) { format(stringagara,sizeof(stringagara),"Race \'%s\' is created with a newer version of YRACE, unable to load.",tmp); SendClientMessage(playerid,RED,stringagara); return 1; } TBuilder=strtok(templine,idx); <------ERROR LINE!!!!
Thanks for the help!