Jump to content

1LoL1

Members
  • Posts

    944
  • Joined

  • Last visited

Everything posted by 1LoL1

  1. 1LoL1

    [HELP] Script

    Work but all can carkill
  2. 1LoL1

    [HELP] Script

    Thanks. !!! work
  3. 1LoL1

    [HELP] Script

    player cant kill player not work and i can kill admins / players with car.
  4. 1LoL1

    [HELP] Script

    Please anyone can help me with this script? not work Admins can kill players = not work Admins cant kill admins = work Players cant kill players = work Players cant kill admins = not work And i want this: Admins can kill players = work Admins cant kill admins = work Players cant kill players = work Players cant kill admins = work Please help Client: addEventHandler("onClientPlayerDamage",root,function(a) if a then if getElementData(source,"k:ranga")=="admin" and getElementData(a,"k:ranga")=="cywil" then else cancelEvent () return end end) Server: addEventHandler("onPlayerLogin",root,function(_,konto) if konto then if isObjectInACLGroup("user."..getAccountName(konto),aclGetGroup("Admin")) then setElementData(source,"k:ranga","admin") else setElementData(source,"k:ranga","cywil") end end)
  5. 1LoL1

    [HELP] Script

    Thx work and when anyone dont have $?
  6. 1LoL1

    [HELP] Script

    Hello, i created script but not work.. please anyone can help me? error: i think "end" is expected.. and outputChatBox said 2x.. And i want "Car fixed for withvip 100$ novip 200$ in chatbox and when i dont have $ i going to -$$$ function fix (playerSource) local theVehicle = getPedOccupiedVehicle (playerSource) if theVehicle and getVehicleController ( theVehicle ) == playerSource then fixVehicle (theVehicle) local withvip = 100 local novip = 200 outputChatBox ("#FF0000[!] #FFFFFFCar fixed for #00FF00" .. withvip .." #FF0000[!]", thePlayer, 255, 255, 255, true) if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(playerSource)),aclGetGroup("VIP")) then takePlayerMoney ( playerSource, withvip ) else outputChatBox ("#FF0000[!] #FFFFFFCar fixed for #00FF00" .. novip .." #FF0000[!]", thePlayer, 255, 255, 255, true) takePlayerMoney ( playerSource, novip ) end end end addCommandHandler ("repair" , fix)
  7. ok someone help me please?
  8. oh sorry.. Line: 986.
  9. Error again.. this error in my image.
  10. Yes and compiled too.
  11. I using default scoreboard.
  12. 1LoL1

    [HELP] Not Work

    lol.. thx i forgot this change .
  13. So what I do, or how do I fix it?
  14. 1LoL1

    [HELP] Not Work

    Yes, i am sure.. I am in "VIP" but this is easy.. 0 Errors. Normal = 50$. With VIP = 100$.
  15. I deleted.. but errors its again
  16. Why this not work? Script: call ( getResourceFromName ( "scoreboard" ), "scoreboardAddColumn", "VIP", root, 25 ) function funcion ( ) local Deadusergroup = getAccountName(getPlayerAccount(source)) if isObjectInACLGroup("user."..Deadusergroup, aclGetGroup("VIP")) then setElementData ( source, "VIP", "Yes" ) else setElementData ( source, "VIP", "No" ) end end addEventHandler ( "onPlayerLogin", getRootElement(), funcion ) addEventHandler ( "onResourceStart", getRootElement(), funcion ) addEventHandler ( "onResourceRestart", getRootElement(), funcion ) addEventHandler ( "onPlayerChangeNick", getRootElement(), funcion ) Error:
  17. 1LoL1

    [HELP] Not Work

    addEvent("onZombieWasted",true) addEventHandler("onZombieWasted",root, function (killer) if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(killer)),aclGetGroup("Vip")) then givePlayerMoney(killer, 100 ) else givePlayerMoney(killer, 50 ) end end ) Was that really so hard? But not work :(.
  18. Hi, I question? why this is not working? 1x kill zombies, and when Iam in acl.xml in the "Vip" so I get 50$ instead of 100$ Please help. addEvent("onZombieWasted",true) addEventHandler("onZombieWasted",root, function (killer) if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(killer)),aclGet("Vip")) then givePlayerMoney(killer, 100 ) else givePlayerMoney(killer, 50 ) end end)
×
×
  • Create New...