07.02.2014, 21:19
Hello I have radar system and I was create one radar on my server and in my scriptfiles/radars/radar_0.ini is also create a file so my question is how can I delete that radar_0.ini using command /moveradar? Thanks
YCMD:moveradar(playerid, params[], help) return fexist("/radars/radar_0.ini") ? (fremove("/radars/radar_0.ini")) : (SendClientMessage(playerid, -1, "File doesn't exist."));
new Radar = 0; while(Radar < MAX_RADARA) { new string[22]; format(string, sizeof string, "/radars/radar_%d.ini", Radar); fremove(string); ++Radar; }