Jump to content

greentumbleweed

Members
  • Content Count

    62
  • Joined

  • Last visited

Community Reputation

0 Neutral

1 Follower

About greentumbleweed

  • Rank
    Snitch

Details

  • Gang
    none

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. local weap = {shot=false,timer=false} addEventHandler("onClientPlayerWeaponFire", localPlayer, function() local rot = getPedCameraRotation(localPlayer) if (isTimer(weap.timer)) then killTimer(weap.timer); end if (not weap.shot) then setPedCameraRotation(localPlayer, -(rot-0.9)) weap.shot = true weap.timer = setTimer(setPedCameraRotation, 100, 1, localPlayer, -(rot+0.09)) else setPedCameraRotation(localPlayer, -(rot+0.9)) weap.shot = false weap.timer = setTimer(setPedCameraRotation, 100, 1, localPlayer, -(rot-0.09)) end end)
  2. i dont understand when i export the repositioned original ped and import it back it loses its Envelop weights and everything is jacked
  3. the sun is making my custom objects dark when i can see it
  4. well that function is fine it would have to be my showInventory function but idk ive been trying this for a week now and i cant get it to work correctly do you have any idea about the first* error? function getMySlots() getPlayerCurrentSlots() getPlayerMaxAviableSlots() end function refreshNewInventory() if not getElementData ( localPlayer, "dayz:new_inv") then return end myInventory = exports.dayz:getMyInventory() lootInventory = exports.dayz:getLootInventory() mySlots = exports.dayz:getMySlots() lootSlots = exports.dayz:getLootSlots() if myInvOffset+itemQuant > #
  5. <export function="setMiddleVisible" type="client" /> <export function="getRadioButtonsCoords" type="client" /> <export function="showNewInventory" type="client" /> <export function="hideNewInventory" type="client" /> <export function="refreshNewInventory" type="client" />
  6. this gave me the exact same error exports.new_inv: works fine in other gm somewhere there is a string not being found and im not very good with exporting functions and strings tbh
  7. line 30: attemt to index upvalue 'myslots' (a nil value) line 15: failed to call 'new_inv:showNewInventory' [string"?"] these are my errors, im trying to merge this dx inventory to my own heres the rest of the code, if anyone could help i would be so thankful because im lost 1st error.......... function getMySlots() getPlayerCurrentSlots() getPlayerMaxAviableSlots() end function refreshNewInventory() if not getElementData ( localPlayer, "dayz:new_inv") then return end myInventory = exports.dayz:getMyInventory() lootInventory = exports.dayz:getLootInventory() mySlots =
  8. my black and white screen shader is overlapping my Dx inventory is there a way to fix this?
  9. This is client side. and no errors at all in debug. I've seen this work in the PUBG inventory but i can not get it to work with my DayZ inventory
  10. so.. i have this figured out but still.. the animations are not synced ive tried a few things and i feel like im close but no cigar --Test "Client" addEvent ("onClientCustomAnimationSyncRequest2",true) addEventHandler("onClientCustomAnimationSyncRequest2", resourceRoot, aSTart) function aSTart(playerAnimations) for player, anims in pairs ( playerAnimations ) do if isElement ( player ) then if anims.replacedPedBlock then ReplacePedBlockAnimations ( player, anims.replacedPedBlock ) end end end startingAnimations() e
×
×
  • Create New...