Hey
the whole code is in Code Box [just a little
]
I made an easy to use Weapons-Editor:
Script Name: Weapons-Editor
Script Description: let u edit the Weapons.ini IN-GAME !
Original Author(s): [TTD] LORD KILLA
Core Version: 2.6.3
Code: var ini: TINIFile;
if (GetPiece(Text, ' ',1) = '/editwep') then begin
iniSetValue(ini, GetPiece (Text,' ',3), GetPiece (Text,' ',4), GetPiece (Text,' ',5));
iniSave(GetPiece (Text,' ',2), ini); // must call to save changes
end;
Example:
/editwep weapons.ini Minigun Damge 900Will set in "Weapons.ini" the "Minigun" settings (Damge) to 900