Jump to content

Search the Community

Showing results for tags 'help me to fix it.'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Multi Theft Auto: San Andreas 1.x
    • Support for MTA:SA 1.x
    • User Guides
    • Open Source Contributors
    • Suggestions
    • Ban appeals
  • General MTA
    • News
    • Media
    • Site/Forum/Discord/Mantis/Wiki related
    • MTA Chat
    • Other languages
  • MTA Community
    • Scripting
    • Maps
    • Resources
    • Other Creations & GTA modding
    • Competitive gameplay
    • Servers
  • Other
    • General
    • Multi Theft Auto 0.5r2
    • Third party GTA mods
  • Archive
    • Archived Items
    • Trash

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Gang


Location


Occupation


Interests

Found 1 result

  1. WARNING: [gamemode]/weapon/backpack/server.lua:43: Bad argument @ 'setPedAnimation' [Expected number at argument 8, got boolean] < Console Log. Script is : addEvent("backpackGroundOpen",true) addEventHandler("backpackGroundOpen",getRootElement(),function() if isPedInVehicle(source) then return end if isElementInWater(source) then return end --setPedAnimation (source,"BOMBER","BOM_Plant_Loop",nil,false,false,false,false) setPedAnimation(source,"BOMBER","BOM_Plant_Loop",nil,true,false,false,false) local x,y,z = getElementPosition(source) prot = getPedRotation(source) local offsetRot = math.rad(prot+90) local vx = x + 0.75 * math.cos(offsetRot) local vy = y + 0.75 * math.sin(offsetRot) local vrot = prot+180 local backpackSlots = getElementData(source,"MAX_Slots") if (backpackSlots == 12 or backpackSlots == 16) then backpackGround[source] = createObject(1866,vx,vy,z-0.8,100,180,vrot) elseif (backpackSlots == 13 or backpackSlots == 17) then backpackGround[source] = createObject(1867,vx,vy,z-0.8,100,180,vrot) elseif (backpackSlots == 20 or backpackSlots == 24) then backpackGround[source] = createObject(1868,vx,vy,z-0.8,100,180,vrot) elseif (backpackSlots == 25 or backpackSlots == 29) then backpackGround[source] = createObject(1869,vx,vy,z-0.9,100,180,vrot) elseif (backpackSlots == 30 or backpackSlots == 34) then backpackGround[source] = createObject(1870,vx,vy,z-0.8,100,180,vrot) elseif (backpackSlots == 35 or backpackSlots == 39) then backpackGround[source] = createObject(1871,vx,vy,z-0.75,-70,0,vrot) end if elementBackpack[source] and isElement(elementBackpack[source]) then setElementAlpha(elementBackpack[source],0) end end)
×
×
  • Create New...