| Tematy otagowane jako: powoduje |
| 1. Co powoduje bicie PYS/OGRPG |
| Witam mam problem a mianowicie chodzi o to co blokuje blokade bicia na serwerze GM PYS/OGRPG |
| 2. Co powoduje spadki FPS. |
Mam 60 fps w??czam to i nagle 27-30fps
[code]createBlip(-1624.73, 690.99, 7.19, 30,2,0,0,0,0,0,275)
function getPointFrontOfElement(element,distance)
if not element then return end
local x, y, z = getElementPosition ( element )
local rx, ry, rz = getElementRotation ( element )
x = x + (distance * (math.sin(math.rad(-rz))) )
y = y + (distance * (math.cos(math.rad(-rz))) )
return x,y,z
end
function getPositionFromElementAtOffset(element,x,y,z)
if not element then return end
if not x or not y or not z then
return x, y, z
end
local matrix = getElementMatrix ( element )
local offX = x * matrix[1][1] + y * matrix[2][1] + z * matrix[3][1] + matrix[4][1]
local offY = x * matrix[1][2] + y * matrix[2][2] + z * matrix[3][2] + matrix[4][2]
local offZ = x * matrix[1][3] + y * matrix[2][3] + z * matrix[3][3] + matrix[4][3]
return offX, offY, offZ
end
function getVehicleWheelPosition(vehicle,wheel)
local x, y, z = 0, 0, 0
local minX, minY, minZ, maxX, maxY, maxZ = getElementBoundingBox(vehicle)
if wheel == 1 then
x, y, z = getPositionFromElementAtOffset(vehicle, minX, maxY, minZ)
elseif wheel == 2 then
x, y, z = getPositionFromElementAtOffset(vehicle, minX, -maxY, minZ)
elseif wheel == 3 then
x, y, z = getPositionFromElementAtOffset(vehicle, maxX, maxY, minZ)
elseif wheel == 4 then
x, y, z = getPositionFromElementAtOffset(vehicle, maxX, -maxY, minZ)
end
return x, y, z
end
fun... |
| 3. [GTASA] Model powoduje zacięcie gr |
Witajcie, ostatnio edytowa?em sobi? model samochodu. A konkretnie dodawa?em r??ne dodatki w programie ZModeler, i mod nie dzia?a, zosta? prawid?owo wyexportowany a tekstury s? w TXD w... a model jak by nigdy nic. Gra si? laguje i nie idzie dalej gra?, trzeba zamyka? za pomoc? menad?era zada?.
Macie mo?e jakie? rady?
Wybaczcie, je?li napisa?em w z?ym dziale. |
|