Replies: 1 comment
-
Scripts stuff is very easy. So, this command would look like this: // 0x48C12E - COMMAND_GET_CHAR_ARMOUR
void SetCharArmour(CPed& ped, float value) { // NOTE: Taking a reference here instead of a pointer, as it must always be valid!
ped->m_fArmour = value;
} So, in the comment above the function add the address of the code it's based on (inside the |
Beta Was this translation helpful? Give feedback.
-
There are a lot things that have to be reversed.
The easiest way to find them is to search for
plugin::Call
in all files insource/
.But if you really lack inspiration, check this out.
Beta Was this translation helpful? Give feedback.
All reactions