[ Dodano: 2017-04-05, 22:42 ]
Teraz to tak wygl?da:
addCommandHandler("polozr1",function(plr,cmd)
local veh = getPedOccupiedVehicle(plr)
if veh then return end
local torba = torby[plr]
exports["LR-notyfikacje"]:addNotification(plr,"* K?adziesz/Podnosisz torb? R-1.")
setPedAnimation(plr, "BOMBER", "BOM_Plant",3000 )
if exports["bone_attach"]:isElementAttachedToBone(torba) then
exports["bone_attach"]:detachElementFromBone(torba)
setElementCollisionsEnabled (torba, false)
local x,y,z = getElementPosition(plr)
setElementPosition(torba,x+0.80,y-0.03,z-0.82)
local rz = getElementRotation(torba)
setElementRotation(torba,0,0,rz-90)
end
end)
Nie możesz pisać nowych tematów Nie możesz odpowiadać w tematach Nie możesz zmieniać swoich postów Nie możesz usuwać swoich postów Nie możesz głosować w ankietach