Swagy

Members
  • Content Count

    87
  • Joined

  • Last visited

Community Reputation

10 Decent

1 Follower

About Swagy

  • Rank
    Transformer

Recent Profile Visitors

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

  1. I'm trying to make the player able to move while using an animation, I don't know how because setPedAnimation freezes the ped automatically
  2. It's a promising project that I myself been working on, definitely worth talking a look, join our discord and forums falks!
  3. If you are using GUI then you can use this bit of code guiSetInputMode("no_binds_when_editing")
  4. Oh okay thanks buddy, appreciate your help
  5. So basically, all I want to do is to Apply a vehicle mod to a certain vehicle. For example I use: local vehicle = createVehicel(id, x,y,z) and then I want that vehicle mod to be replaced, but not all the vehicles with same Vehicle ID would be modded. I don't want to use shaders, because I'm willing to change the DFF file so. I don't really know how to express it but I hope you got what I meant
  6. Actually, setPedStat wouldn't help, I'm trying to make custom properties for each player, but I think it's impossible.
  7. Oh right thanks alot Zango, Is this what am I looking for tho ? function getMatrixLeft(m) return m[1][1], m[1][2], m[1][3] end function getMatrixForward(m) return m[2][1], m[2][2], m[2][3] end function getMatrixUp(m) return m[3][1], m[3][2], m[3][3] end function getMatrixPosition(m) return m[4][1], m[4][2], m[4][3] end local mat = getElementMatrix(element) -- Get the matrix x,y,z = getMatrixLeft(mat) -- Get the matrix left direction x,y,z = getMatrixForward(mat) -- Get the matrix forward direction x,y,z = getMatrixUp(mat) -- Get the matrix up direction
  8. So hello guys, I want to know which axis controls the movement in directions. For example: I want to move an obejct forwards, how to check which axis to modify to move the object forwards ?
  9. I want to use setWeaponProperty for specific player only not for the whole server. Although, I was thinking of triggerClientEvent but setWeaponProperty client-side works only for client created weapons. Any ideas?
  10. So as the title says, I'm trying to make a gallery script and I'm trying to figure out a way to access Client's screenshots (MTA files from his computer) if there is anyway to do that please mention it or if you have any alternative idea I'm glad to hear it
  11. I have always wondered if it's possible to add a new vehicle id or object id to my server ?
  12. You can make your own Friendlyfire code tho which is going to be client sided. function friendlyFire (attacker) if (isElement(source)) and (isElement(attacker)) and (getElementType(attacker) == "player") and (getElementType(source) == "player") then local aTeam = getPlayerTeam(attacker) local sTeam = getPlayerTeam(source) if (aTeam == sTeam) then cancelEvent() end end end addEventHandler("onClientPlayerDamage", root, friendlyFire)
  13. Actually this resource uses Slothbot, while I want to create my personal Ped Moving syste...