General > Bug Reports
.sk file doesn't get deleted [Fixed]
(1/1)
[MAF]falky:
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.
[MAF]Rac3r:
Using the new admin menu should delete the SK file.
--- Code: --- 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);
--- End code ---
falco355:
that's why some admins tell to no remake sk races already delete.
Navigation
[0] Message Index
Go to full version