Добавлено (26.08.2016, 12:03:40)---------------------------------------------
ShowTarget( iClient ) {
decl iObserverMode;
if
( iClient && IsClientInGame( iClient ) && IsFakeClient( iClient ) && !IsPlayerAlive( iClient ) && ( iObserverMode = GetEntProp( iClient, Prop_Send,
"m_iObserverMode"
) ) == SPECMODE_FIRSTPERSON || iObserverMode == SPECMODE_3RDPERSON ) {
iTarget = GetEntPropEnt( iClient, Prop_Send,
"m_hObserverTarget"
);
PrintToChat( iClient,
"Вы наблюдаете за %N"
, iTarget );
}
1
2
3
4
5
6
7