Plugin for developers, helps you define new script commands/opcodes.
Compatible only with GTA3 1.0
#include "ScmExtenderAPI.h"
#include "CRunningScript.h"
// ...
// Example of a custom script command.
// Command id should be an unused one, see script commands list for current game,
// eventually it's also possible to replace an already existing one.
const int32_t NEW_COMMAND_ID = 1475;
ScmExtender::AddOneCommand(NEW_COMMAND_ID, [](int32_t* params) -> int8_t {
// ...
return 0;
});
// ...
Grab latest archive.
Move ScriptCommandExtenderIII.asi in the root or "scripts" folder of your GTA3 directory.
Enjoy