mirror of
https://github.com/fedddddd/iw5-gsc-utils.git
synced 2025-07-09 04:31:53 +00:00
Fix getting arguments
This commit is contained in:
@ -145,7 +145,7 @@ namespace scripting
|
||||
push_value(*i);
|
||||
}
|
||||
|
||||
game::AddReftoObject(id);
|
||||
game::AddRefToObject(id);
|
||||
|
||||
const auto local_id = game::AllocThread(id);
|
||||
const auto result = game::VM_Execute(local_id, pos, arguments.size());
|
||||
|
@ -7,10 +7,11 @@ namespace game
|
||||
// Functions
|
||||
|
||||
WEAK symbol<void(int type, VariableUnion u)> AddRefToValue{0x5656E0};
|
||||
WEAK symbol<void(unsigned int id)> AddReftoObject{0x5655F0};
|
||||
WEAK symbol<void(unsigned int id)> AddRefToObject{0x5655F0};
|
||||
WEAK symbol<unsigned int(unsigned int id)> AllocThread{0x565580};
|
||||
WEAK symbol<unsigned int()> AllocObject{0x565530};
|
||||
WEAK symbol<void(int type, VariableUnion u)> RemoveRefToValue{0x565730};
|
||||
WEAK symbol<void(unsigned int id)> RemoveRefToObject{0x5681E0};
|
||||
|
||||
WEAK symbol<void(unsigned int weapon, bool isAlternate, char* output, unsigned int maxStringLen)> BG_GetWeaponNameComplete{0x42F760};
|
||||
|
||||
|
Reference in New Issue
Block a user