deleted account Posted June 26, 2018 Share Posted June 26, 2018 Trying to make a CLEO mod and when I try to put the Freeway and the Shotguns models into the script instead of compiling the mod Sanny Builder whines "Compiled file has no header, so the model name #SHOTGUN can not be used. Use number ID instead." This has never happened before, what is this? Link to comment Share on other sites More sharing options...
gts. Posted June 26, 2018 Share Posted June 26, 2018 Use weapon ID instead of weapon name. The message box is literally explain this to you itself. Link to comment Share on other sites More sharing options...
deleted account Posted June 26, 2018 Author Share Posted June 26, 2018 I'm using the weapon id, #SHOTGUN, thats how it's always worked, I want to know how to get rid of this sudden change 12 minutes ago, gts. said: Use weapon ID instead of weapon name. The message box is literally explain this to you itself. I'm using the weapon id, #SHOTGUN, thats how it's always worked, I want to know how to get rid of this sudden change Link to comment Share on other sites More sharing options...
gts. Posted June 26, 2018 Share Posted June 26, 2018 Try to link your default.ide (if I'm not wrong) from your game installation to Sanny. Link to comment Share on other sites More sharing options...
ZAZ Posted June 26, 2018 Share Posted June 26, 2018 SHOTGUN don't exist in gta sa just have a look in Sanny Builder Help> SCM Documentation> GTA SA>Weapon numbers in you need info about weapon for your script Spoiler default.ide # shotguns 349, chromegun, chromegun, shotgun, 1, 50, 0 350, sawnoff, sawnoff, colt45, 1, 30, 0 351, shotgspa, shotgspa, buddy, 1, 50, 0 CLEO MODS CLEO Script Tutorial Link to comment Share on other sites More sharing options...
OrionSR Posted June 26, 2018 Share Posted June 26, 2018 Yeah, but... I would expect Sanny to find the standard IDE definitions as long as the proper program directory is set for SA. If it was working before but doesn't now, then perhaps the edit mode was changed in Sanny (bottom right). Each edit mode needs to have the program folder set individually. I think the other reason for problems is related to a lack of header. Something like, you are editing a main.scm instead of a cleo script because you don't have the proper cleo directive at the top of the script. Or, you intend to create a main.scm and didn't create a header. It's been a while so I forget the details but I spent some time working on custom Sanny modes and had a lot of success getting IDE definitions working for mobile and PS2. You might find some useful reference here. Link to comment Share on other sites More sharing options...
deleted account Posted June 27, 2018 Author Share Posted June 27, 2018 3 hours ago, OrionSR said: I think the other reason for problems is related to a lack of header. Something like, you are editing a main.scm instead of a cleo script because you don't have the proper cleo directive at the top of the script. Or, you intend to create a main.scm and didn't create a header. Thanks, something happened to {CLEO .CS} at the top without me knowing Link to comment Share on other sites More sharing options...