- 76
- 6
- Версия MoonLoader
- .027.0-preview
не выключается
Lua:
while true do
wait(0)
for i = 0, sampGetMaxPlayerId() do
if sampIsPlayerConnected(i) then
local result, cped = sampGetCharHandleBySampPlayerId(i)
local color = sampGetPlayerColor(i)
if result then
if doesCharExist(cped) and isCharOnScreen(cped) then
local t = {3, 4, 5, 51, 52, 41, 42, 31, 32, 33, 21, 22, 23, 2}
for v = 1, #t do
pos1X, pos1Y, pos1Z = getBodyPartCoordinates(t[v], cped)
pos2X, pos2Y, pos2Z = getBodyPartCoordinates(t[v] + 1, cped)
pos1, pos2 = convert3DCoordsToScreen(pos1X, pos1Y, pos1Z)
pos3, pos4 = convert3DCoordsToScreen(pos2X, pos2Y, pos2Z)
renderDrawLine(pos1, pos2, pos3, pos4, 1, 0xFF00FF00)
end
for v = 4, 5 do
pos2X, pos2Y, pos2Z = getBodyPartCoordinates(v * 10 + 1, cped)
pos3, pos4 = convert3DCoordsToScreen(pos2X, pos2Y, pos2Z)
renderDrawLine(pos1, pos2, pos3, pos4, 1, 0xFF00FF00)
end
local t = {53, 43, 24, 34, 6}
for v = 1, #t do
posX, posY, posZ = getBodyPartCoordinates(t[v], cped)
pos1, pos2 = convert3DCoordsToScreen(posX, posY, posZ)
end
end
end
end
end
end
end
end
Последнее редактирование: