
30.04.2023, 17:18
|
|
Новичок
Регистрация: 05.04.2023
Сообщений: 10
С нами:
1637808
Репутация:
3
|
|
Сообщение от ARMOR
Если SAMP то CObject + 0x14
я про сф апи. Для 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
;
}
|
|
|