AdrenalineX Forums

General => AdrenalineX Development => Bug Reports => Topic started by: [MAF]falky on November 26, 2009, 10:25:30 am

Title: .sk file doesn't get deleted [Fixed]
Post by: [MAF]falky on November 26, 2009, 10:25:30 am
Picture this:

I make a race called Race-SK.

Deb tests Race-SK.

Deb deletes Race-SK for some reason.

I recreate Race-SK.

Deb tests the new Race-SK.

The new Race-SK loads the vehicles from the older Race-SK as well.


This means the .sk file doesn't get deleted. Cheers.
Title: Re: .sk file doesn't get deleted
Post by: [MAF]Rac3r on November 28, 2009, 02:24:37 pm
Using the new admin menu should delete the SK file.

Code: [Select]
format(str,sizeof(str),"ukadrenalinex/classic/%s.sk",gTrackName);
if(fexist(str))fremove(str);
format(str,sizeof(str),"ukadrenalinex/mtaspecial/%s.mapX",gTrackName);
if(fexist(str))fremove(str);
fremove(gTrackDir);
Title: Re: .sk file doesn't get deleted [Fixed]
Post by: falco355 on December 06, 2009, 08:28:38 pm
that's why some admins tell to no remake sk races already delete.