13.06.2009, 19:07
salvation;
Can you help me get to code in yrace? I think that only the user yrace can help!
infact its not change the variable in my fs
thx
Can you help me get to code in yrace? I think that only the user yrace can help!
infact its not change the variable in my fs
Код:
public LoadRace(tmp[]) { new string[256]; new race_name[50]; format(race_name, sizeof(race_name), "%s.type", tmp); new File:gfile = fopen(race_name, io_read); fread(gfile, string, model = strval(string)); model = string[100]; fclose(gfile); if(model == 0) { format(ystring,128,"[INFO]: une course a pied se prйpare!"); return 1; } else if(model == 1) { format(ystring,128,"[INFO]: une course de voiture se prйpare!"); return 1; } else if(model == 2) { format(ystring,128,"[INFO]: une course de moto se prйpare!"); return 1; } SendClientMessageToAll(COLOR_YELLOW,ystring);
thx