
08.01.2016, 23:21
|
|
Участник форума
Регистрация: 23.10.2010
Сообщений: 125
С нами:
8186006
Репутация:
1
|
|
Ну вот, как тут скин игрока проверить, так и не понял...
PHP:
Код:
char text
[
64
]
;
int i
;
int count
=
0
;
for
(
i
=
0
;
i
iIsListed
[
i
]
!=
1
)
continue
;
if
(
g_Players
-
>
pRemotePlayer
[
i
]
==
NULL
)
continue
;
if
(
vect3_near_zero
(
g_stStreamedOutInfo
.
fPlayerPos
[
i
]
)
&&
(
g_Players
-
>
pRemotePlayer
[
i
]
-
>
pPlayerData
==
NULL
||
g_Players
-
>
pRemotePlayer
[
i
]
-
>
pPlayerData
-
>
pSAMP_Actor
==
NULL
)
)
continue
;
color
=
samp_color_get
(
i
)
;
sprintf
(
text
,
"%s[%d]"
,
getPlayerName
(
i
)
,
i
)
;
pD3DFont
-
>
PrintShadow
(
500
,
pPresentParam
.
BackBufferHeight
/
2
+
count
*
20
,
color
,
text
)
;
count
++
;
}
|
|
|