• Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About Gaborboy95

  • Rank

Recent Profile Visitors

223 profile views
  1. Gaborboy95

    Effect fix

    Try setElementDimension(fire[player], 0) After creating it
  2. Gaborboy95

    Give package

    I should not make a script for you, but here it is --[[ Weapon id : 30 - 29 - 32 for acl on group ! command : /package <playername> ]]-- local aclname = "Admin" function isPlayerInACL(player, acl) local accountName = getAccountName( getPlayerAccount(player) ) if accountName ~= "guest" and type( aclGetGroup(acl) ) == "userdata" then return isObjectInACLGroup( "user."..accountName, aclGetGroup(acl) ) end return false end function getPlayerFromPartialName(name) local name = name and name:gsub("#%x%x%x%x%x%x", ""):lower() or nil if name then for _, player in ipairs(getElementsByType("player")) do local name_ = getPlayerName(player):gsub("#%x%x%x%x%x%x", ""):lower() if name_:find(name, 1, true) then return player end end end end function givePackage(thePlayer, cmd, ...) if isPlayerInACL(thePlayer, aclname) then local targetPlayer = table.concat({...}, " ") local weps = {30, 29, 32} --I dont really understand how you want this.. local target = getPlayerFromPartialName(targetPlayer) if target then for _, k in pairs(weps) do givePedWeapon(target, k) end setPedArmor(target, 100) outputChatBox("Successfully given a package to : ".. getPlayetName(target), thePlayer, 255, 255, 255, true) --Admin chat outputChatBox("You have been given a package by : ".. , getPlayerName(thePlayer), target, 255, 255, 255, true) --Player chat end end end addCommandHandler("package", givePackage, false, false) Not 100% sure if this works, found it in one of my old scripts
  3. Ok, will try but its 1 in the morning here
  4. Can you provide me some sort of ecample?
  5. Hi. So I was wondering about how to make a custom currency, so i have the default & the donator coin f.e. Could somebody help me with this? Like how to do it. And if possible, some code. Thanks
  6. I can't get interpolateBetween working.
  7. Okay, got it fully working, but one more question. How do I make the door opening "smooth" ?
  8. Or you can add the command handler on the client side.
  9. addCommandHandler("commandname", function(player, cmd) --trigger some event to client with player variable end ) You can get the player who entered it by using this
  10. Can you make me an example for 1 door?
  11. Hi. I want to make a script that opens the nearest door on the car when right clicking. But i don't know ho to start. My explanation is not very good, i know. If needed i will somehow explain further. But here's a video :