DaemonHunter

Members
  • Content Count

    23
  • Joined

  • Last visited

Community Reputation

0 Neutral

About DaemonHunter

  • Rank
    Civilian

Details

  • Gang
    ROAD

Recent Profile Visitors

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

  1. good, and also nice mod for your car
  2. client side addEventHandler ( "onClientPlayerDamage",root, function () if getElementData(source,"invincible") then cancelEvent() end end) addEventHandler("onClientPlayerStealthKill",localPlayer, function (targetPlayer) if getElementData(targetPlayer,"invincible") then cancelEvent() end end) server side bstaffteam = createTeam ( "Staff", 255, 255, 255 ) function staff (Player) local account = getPlayerAccount(Player) if (not account or isGuestAccount(account)) then return end local accountName = getAccountName(account) if ( isObjectInACLGroup ( "user.".. accountName, aclGetGroup ( "Admin" ) ) ) then setPlayerTeam (Player, staffteam ) setElementData(Player, "Occupation", "Staff") setElementModel ( Player, 217) end end addCommandHandler("staff",staff) addEvent("staff",true) addEventHandler("staff",getRootElement(),staff) function getPlayersInGroup( accName ) local Table = { } for _,v in pairs( getElementsByType( "player" ) ) do local accName = getAccountName ( getPlayerAccount ( v ) ) if (isObjectInACLGroup ("user." .. accName, aclGetGroup("Admin")) ) then table.insert( Table,v ) end end return Table end if getElementData(thePlayer,"invincible") then setElementData(thePlayer,"invincible",false) else setElementData(thePlayer,"invincible",true) end I found this script on a forum, the question is: does this script make the admins immortal?
  3. what is the problem now? I was only asking if it is correct...
  4. for _, thePlayer in ipairs (getElementsByType("player")) do local gang = exports [ 'ROADgang' ]:getAccountGang ( getAccountName ( getPlayerAccount ( thePlayer ) ) ) if (gang == "SWAT" ) then setPedStat ( onPlayerSpawn , 24, 200 ) end end do you mean something like this?
  5. why dont you just help the guy , if you cant dont post STFU. blazy@ i think he need it with event onPlayerSpawn. what is the difference?
  6. the video has bad quality but the map is pretty good
  7. actually I really don't like the map, the area changes too often, I don't like also the music taht you've chosen for the vidieo but no matter for this particular.
  8. why dont you just help the guy , if you cant dont post He already helped, read before post these type of things. He hlped me a lot. but i didnt understnd the sentence: "because you didn't show the entire code" this is the entire code