Brain::addScriptToRandomPed

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

BRAIN::ADD_SCRIPT_TO_RANDOM_PED('pb_prostitute', ${s_f_y_hooker_01}, 100, 0);

- Nacorpio

Syntax

mp.game.brain.addScriptToRandomPed(name, model, p2, p3);

Required Arguments

  • name: String
  • model: Model hash or name
  • p2: float
  • p3: float

Return value

  • Undefined

Example

// todo

See also

Template:Brain s function c