2022-11-21 15:42:12 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
namespace big
|
|
|
|
{
|
|
|
|
namespace am_launcher
|
|
|
|
{
|
2023-12-02 05:48:28 -05:00
|
|
|
static void START_NEW_SCRIPT_WITH_ARGS(rage::scrNativeCallContext* src)
|
|
|
|
{
|
|
|
|
const char* const name = src->get_arg<const char*>(0);
|
2022-11-21 15:42:12 +00:00
|
|
|
|
2023-12-02 05:48:28 -05:00
|
|
|
Any* args = src->get_arg<Any*>(1);
|
|
|
|
const int argc = src->get_arg<int>(2);
|
|
|
|
const int stackSize = src->get_arg<int>(3);
|
|
|
|
|
|
|
|
src->set_return_value<int>(SYSTEM::START_NEW_SCRIPT_WITH_ARGS(name, args, argc, stackSize));
|
|
|
|
}
|
2022-11-21 15:42:12 +00:00
|
|
|
}
|
2024-03-12 09:42:11 +01:00
|
|
|
}
|