Audio::addPedToConversation: Difference between revisions
(yay) |
(yay) |
||
| Line 1: | Line 1: | ||
4 calls in the b617d scripts. The only one with p0 and p2 in clear text:<br><br>AUDIO::ADD_PED_TO_CONVERSATION(5, l_AF, 'DINAPOLI');<br><br>=================================================<br>One of the 2 calls in dialogue_handler.c p0 is in a while-loop, and so is determined to also possibly be 0 - 15.<br>Based on it asking if does_entity_exist for the global I have determined that p1 is, in fact, the ped, but could be wrong.==Syntax==<syntaxhighlight lang="javascript">audio.addPedToConversation(p0, p1, p2);</syntaxhighlight>=== Required Arguments ===*'''p0:''' unknown (to be checked)*'''p1:''' unknown (to be checked)*'''p2:''' String===Return value===*'''Undefined'''==Example==<syntaxhighlight lang="javascript">todo</syntaxhighlight>==See also=={{Audio_function_c}}[[Category:Clientside API]][[Category:TODO: Example]] | 4 calls in the b617d scripts. The only one with p0 and p2 in clear text:<br><br>AUDIO::ADD_PED_TO_CONVERSATION(5, l_AF, 'DINAPOLI');<br><br>=================================================<br>One of the 2 calls in dialogue_handler.c p0 is in a while-loop, and so is determined to also possibly be 0 - 15.<br>Based on it asking if does_entity_exist for the global I have determined that p1 is, in fact, the ped, but could be wrong. | ||
==Syntax== | |||
<syntaxhighlight lang="javascript">audio.addPedToConversation(p0, p1, p2);</syntaxhighlight> | |||
=== Required Arguments === | |||
*'''p0:''' unknown (to be checked) | |||
*'''p1:''' unknown (to be checked) | |||
*'''p2:''' String | |||
===Return value=== | |||
*'''Undefined''' | |||
==Example== | |||
<syntaxhighlight lang="javascript"> | |||
todo | |||
</syntaxhighlight> | |||
==See also== | |||
{{Audio_function_c}} | |||
[[Category:Clientside API]] | |||
[[Category:TODO: Example]] | |||
Revision as of 20:19, 6 May 2017
4 calls in the b617d scripts. The only one with p0 and p2 in clear text:
AUDIO::ADD_PED_TO_CONVERSATION(5, l_AF, 'DINAPOLI');
=================================================
One of the 2 calls in dialogue_handler.c p0 is in a while-loop, and so is determined to also possibly be 0 - 15.
Based on it asking if does_entity_exist for the global I have determined that p1 is, in fact, the ped, but could be wrong.
Syntax
audio.addPedToConversation(p0, p1, p2);
Required Arguments
- p0: unknown (to be checked)
- p1: unknown (to be checked)
- p2: String
Return value
- Undefined
Example
todo