blob: b638e92bb7a1505766ae2c4cb888890f72277a29 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
global function GruntChatter_MP_Init
global function PlayGruntChatterMPLine
void function GruntChatter_MP_Init()
{
//ShGruntChatter_MP_Init()
}
void function PlayGruntChatterMPLine( entity grunt, string conversationType )
{
#if !GRUNT_CHATTER_MP_ENABLED
return
#endif
foreach ( entity player in GetPlayerArray() )
if ( ShouldPlayGruntChatterMPLine( conversationType, player, grunt ) )
Remote_CallFunction_NonReplay( player, "ServerCallback_PlayGruntChatterMP", GetConversationIndex( conversationType ), grunt.GetEncodedEHandle() )
}
|