- 138
- 164
- Версия MoonLoader
- .027.0-preview
Lua:
function main()
while not isSampAvailable() do wait(100) end
sampRegisterChatCommand('cmd', test)
wait(-1)
end
function test()
for id = 0, 2048 do
local result = sampIs3dTextDefined(id)
if result then
local text, color, posX, posY, posZ, _, _, _, _ = sampGet3dTextInfoById(id)
if text:find('Ромашка') then
setCharCoordinates(PLAYER_PED, posX, posY, posZ)
break
end
end
end
end