ALLOCATE_SCRIPT_TO_RANDOM_PED
Usage
Game.AllocateScriptToRandomPed(scriptName, modelHashKey, percentageChance, scenarioPedsOnly)
Associates a script brain with a certain ped model.
Parameters
scriptNamestringchar*modelHashKeyintegerintpercentageChanceintegerintscenarioPedsOnlybooleanbool
Returns
Nothing
Original declaration
// 0x19DB19D8
void ALLOCATE_SCRIPT_TO_RANDOM_PED(char* scriptName, int modelHashKey, int percentageChance, bool scenarioPedsOnly);