
30.04.2023, 17:26
|
|
Флудер
Регистрация: 02.02.2019
Сообщений: 5,070
С нами:
3831395
Репутация:
183
|
|
Сообщение от Yancode
я про сф апи. Для 3д текстов что то типо такого, для объектов похожее найти не могу:
с++:
Код:
for
(
int
i
=
0
;
i
getSAMP
(
)
->
getNetGame
(
)
->
pools
->
textLabelPool
->
iIsListed
[
i
]
!=
1
)
continue
;
std
::
string
strdialogText
(
SF
->
getSAMP
(
)
->
getNetGame
(
)
->
pools
->
textLabelPool
->
textLabel
[
i
]
.
text
)
;
if
(
strdialogText
.
find
(
"НАШ ТЕКСТ"
)
!=
std
::
string
::
npos
)
{
float
labelposX
=
SF
->
getSAMP
(
)
->
getNetGame
(
)
->
pools
->
textLabelPool
->
textLabel
[
i
]
.
position
[
0
]
;
float
labelposY
=
SF
->
getSAMP
(
)
->
getNetGame
(
)
->
pools
->
textLabelPool
->
textLabel
[
i
]
.
position
[
1
]
;
}
}
object:
Код:
for
(
int
i
=
0
;
i
getSAMP
(
)
->
getNetGame
(
)
->
pools
->
objectPool
->
isListed
[
i
]
!=
1
)
continue
;
}
C++:
Код:
SF
->
getSAMP
(
)
->
getNetGame
(
)
->
pools
->
objectPool
->
object
[
i
]
->
position
[
0
]
;
Попробуй. Я не шарю в ваших SF'ах
|
|
|