Brain::addScriptToRandomPed: Difference between revisions
(yay) |
(yay) |
||
| Line 1: | Line 1: | ||
BRAIN::ADD_SCRIPT_TO_RANDOM_PED('pb_prostitute', ${s_f_y_hooker_01}, 100, 0);<br><br>- Nacorpio | BRAIN::ADD_SCRIPT_TO_RANDOM_PED('pb_prostitute', ${s_f_y_hooker_01}, 100, 0);<br><br>- Nacorpio | ||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="javascript">brain.addScriptToRandomPed(name, model, p2, p3);</syntaxhighlight> | <syntaxhighlight lang="javascript">mp.game.brain.addScriptToRandomPed(name, model, p2, p3);</syntaxhighlight> | ||
=== Required Arguments === | === Required Arguments === | ||
*'''name:''' String | *'''name:''' String | ||
Revision as of 21:04, 6 May 2017
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