Brain::addScriptToRandomPed: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
Line 11: Line 11:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Brain_function_c}}
{{Brain_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Revision as of 20:59, 6 May 2017

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

- Nacorpio

Syntax

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