Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if esp then
- for i = 0, 128 do
- if i ~= PlayerId(-1) and GetPlayerServerId(i) ~= 0 then
- local a5 = d(1.0)
- local cC = GetPlayerPed(i)
- local cD, cE, cF = table.unpack(GetEntityCoords(PlayerPedId(-1)))
- local x, y, z = table.unpack(GetEntityCoords(cC))
- local cG =
- GetPlayerName(i) ..
- '\nDist: ' .. math.round(GetDistanceBetweenCoords(cD, cE, cF, x, y, z, true), 1)
- if IsPedInAnyVehicle(cC, true) then
- local cH =
- GetLabelText(GetDisplayNameFromVehicleModel(GetEntityModel(GetVehiclePedIsUsing(cC))))
- cG = cG .. '\nVeh: ' .. cH
- end
- if espinfo and esp then
- DrawText3D(x, y, z - 1.0, cG, a5.r, a5.g, a5.b)
- end
- if espbox and esp then
- LineOneBegin = GetOffsetFromEntityInWorldCoords(cC, -0.3, -0.3, -0.9)
- LineOneEnd = GetOffsetFromEntityInWorldCoords(cC, 0.3, -0.3, -0.9)
- LineTwoBegin = GetOffsetFromEntityInWorldCoords(cC, 0.3, -0.3, -0.9)
- LineTwoEnd = GetOffsetFromEntityInWorldCoords(cC, 0.3, 0.3, -0.9)
- LineThreeBegin = GetOffsetFromEntityInWorldCoords(cC, 0.3, 0.3, -0.9)
- LineThreeEnd = GetOffsetFromEntityInWorldCoords(cC, -0.3, 0.3, -0.9)
- LineFourBegin = GetOffsetFromEntityInWorldCoords(cC, -0.3, -0.3, -0.9)
- TLineOneBegin = GetOffsetFromEntityInWorldCoords(cC, -0.3, -0.3, 0.8)
- TLineOneEnd = GetOffsetFromEntityInWorldCoords(cC, 0.3, -0.3, 0.8)
- TLineTwoBegin = GetOffsetFromEntityInWorldCoords(cC, 0.3, -0.3, 0.8)
- TLineTwoEnd = GetOffsetFromEntityInWorldCoords(cC, 0.3, 0.3, 0.8)
- TLineThreeBegin = GetOffsetFromEntityInWorldCoords(cC, 0.3, 0.3, 0.8)
- TLineThreeEnd = GetOffsetFromEntityInWorldCoords(cC, -0.3, 0.3, 0.8)
- TLineFourBegin = GetOffsetFromEntityInWorldCoords(cC, -0.3, -0.3, 0.8)
- ConnectorOneBegin = GetOffsetFromEntityInWorldCoords(cC, -0.3, 0.3, 0.8)
- ConnectorOneEnd = GetOffsetFromEntityInWorldCoords(cC, -0.3, 0.3, -0.9)
- ConnectorTwoBegin = GetOffsetFromEntityInWorldCoords(cC, 0.3, 0.3, 0.8)
- ConnectorTwoEnd = GetOffsetFromEntityInWorldCoords(cC, 0.3, 0.3, -0.9)
- ConnectorThreeBegin = GetOffsetFromEntityInWorldCoords(cC, -0.3, -0.3, 0.8)
- ConnectorThreeEnd = GetOffsetFromEntityInWorldCoords(cC, -0.3, -0.3, -0.9)
- ConnectorFourBegin = GetOffsetFromEntityInWorldCoords(cC, 0.3, -0.3, 0.8)
- ConnectorFourEnd = GetOffsetFromEntityInWorldCoords(cC, 0.3, -0.3, -0.9)
- DrawLine(
- LineOneBegin.x,
- LineOneBegin.y,
- LineOneBegin.z,
- LineOneEnd.x,
- LineOneEnd.y,
- LineOneEnd.z,
- a5.r,
- a5.g,
- a5.b,
- 255
- )
- DrawLine(
- LineTwoBegin.x,
- LineTwoBegin.y,
- LineTwoBegin.z,
- LineTwoEnd.x,
- LineTwoEnd.y,
- LineTwoEnd.z,
- a5.r,
- a5.g,
- a5.b,
- 255
- )
- DrawLine(
- LineThreeBegin.x,
- LineThreeBegin.y,
- LineThreeBegin.z,
- LineThreeEnd.x,
- LineThreeEnd.y,
- LineThreeEnd.z,
- a5.r,
- a5.g,
- a5.b,
- 255
- )
- DrawLine(
- LineThreeEnd.x,
- LineThreeEnd.y,
- LineThreeEnd.z,
- LineFourBegin.x,
- LineFourBegin.y,
- LineFourBegin.z,
- a5.r,
- a5.g,
- a5.b,
- 255
- )
- DrawLine(
- TLineOneBegin.x,
- TLineOneBegin.y,
- TLineOneBegin.z,
- TLineOneEnd.x,
- TLineOneEnd.y,
- TLineOneEnd.z,
- a5.r,
- a5.g,
- a5.b,
- 255
- )
- DrawLine(
- TLineTwoBegin.x,
- TLineTwoBegin.y,
- TLineTwoBegin.z,
- TLineTwoEnd.x,
- TLineTwoEnd.y,
- TLineTwoEnd.z,
- a5.r,
- a5.g,
- a5.b,
- 255
- )
- DrawLine(
- TLineThreeBegin.x,
- TLineThreeBegin.y,
- TLineThreeBegin.z,
- TLineThreeEnd.x,
- TLineThreeEnd.y,
- TLineThreeEnd.z,
- a5.r,
- a5.g,
- a5.b,
- 255
- )
- DrawLine(
- TLineThreeEnd.x,
- TLineThreeEnd.y,
- TLineThreeEnd.z,
- TLineFourBegin.x,
- TLineFourBegin.y,
- TLineFourBegin.z,
- a5.r,
- a5.g,
- a5.b,
- 255
- )
- DrawLine(
- ConnectorOneBegin.x,
- ConnectorOneBegin.y,
- ConnectorOneBegin.z,
- ConnectorOneEnd.x,
- ConnectorOneEnd.y,
- ConnectorOneEnd.z,
- a5.r,
- a5.g,
- a5.b,
- 255
- )
- DrawLine(
- ConnectorTwoBegin.x,
- ConnectorTwoBegin.y,
- ConnectorTwoBegin.z,
- ConnectorTwoEnd.x,
- ConnectorTwoEnd.y,
- ConnectorTwoEnd.z,
- a5.r,
- a5.g,
- a5.b,
- 255
- )
- DrawLine(
- ConnectorThreeBegin.x,
- ConnectorThreeBegin.y,
- ConnectorThreeBegin.z,
- ConnectorThreeEnd.x,
- ConnectorThreeEnd.y,
- ConnectorThreeEnd.z,
- a5.r,
- a5.g,
- a5.b,
- 255
- )
- DrawLine(
- ConnectorFourBegin.x,
- ConnectorFourBegin.y,
- ConnectorFourBegin.z,
- ConnectorFourEnd.x,
- ConnectorFourEnd.y,
- ConnectorFourEnd.z,
- a5.r,
- a5.g,
- a5.b,
- 255
- )
- end
- if esplines and esp then
- DrawLine(cD, cE, cF, x, y, z, a5.r, a5.g, a5.b, 255)
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment