Jump to content

1LoL1

Members
  • Posts

    944
  • Joined

  • Last visited

Everything posted by 1LoL1

  1. 1LoL1

    [HELP] BASE

    Ok it goes like this .. and please if I want to do it at Groupe? I think the name of any group and only th members of the Groupe can open it?
  2. 1LoL1

    [HELP] BASE

    OMG I'm an idiot .............................. I then wrote another password-_-I'm sorry and thank you.
  3. 1LoL1

    [HELP] BASE

    I know .. I have a long time ago .............
  4. 1LoL1

    [HELP] BASE

    However, I'm writing that no error does not write ..
  5. 1LoL1

    [HELP] BASE

    there had to be attributed to the end I rewrote it. But even shows error and does not open or close ..
  6. 1LoL1

    [HELP] BASE

    Script is turned on but the gate does not show up
  7. 1LoL1

    [HELP] BASE

    So that? function createTheGate () myGate1 = createObject ( ID, x, y, z, 0, 0, 0 ) myGate2 = createObject ( ID, x, y, z, 0, 0, 0 ) end addEventHandler ( "onResourceStart", getResourceRootElement ( getThisResource () ), createTheGate ) function openMyGate ( ) accountname = getAccountName (getPlayerAccount(v)) if isObjectInACLGroup ( "user." .. accountname, aclGetGroup ( "Admin" ) ) then moveObject ( myGate1, 4000, x, y, z ) else outputChatBox ("You do not have sufficient rights !", playerSource) end addCommandHandler("open",openMyGate) function movingMyGateBack () accountname = getAccountName (getPlayerAccount(v)) if isObjectInACLGroup ( "user." .. accountname, aclGetGroup ( "Admin" ) ) then moveObject ( myGate1, 4000, x, y, z ) else outputChatBox ("You do not have sufficient rights !", playerSource) end addCommandHandler("close",movingMyGateBack)
  8. 1LoL1

    [HELP] BASE

    So someone please help?
  9. 1LoL1

    [HELP] BASE

    I do not care how many errors there .. especially that works and I thought that I enter the serial player and only the player can open and close BASE .. other people to write it that you do not have the right to open and close this base.
  10. 1LoL1

    [HELP] BASE

    As I have to be careful that you enter the Serial IP and only one can open and close BASE? who does what it can not open it you do not have to write it on the right. function createTheGate () myGate1 = createObject ( "ID", "x", "y", "z", "0", "0", "0" ) myGate2 = createObject ( "ID", "x", "y", "z", "0", "0", "0" ) end addEventHandler ( "onResourceStart", getResourceRootElement ( getThisResource () ), createTheGate ) function openMyGate ( ) moveObject ( myGate1, 4000, "x", "y", "z" ) end addCommandHandler("open",openMyGate) function movingMyGateBack () moveObject ( myGate1, 4000, "x", "y", "z" ) end addCommandHandler("close",movingMyGateBack)
  11. function fixall(tPlayer, tCommand) if (eventName == "startFixAllPlayers") then tPlayer = source end accountname = getAccountName (getPlayerAccount(tPlayer)) if isObjectInACLGroup ( "user." .. accountname, aclGetGroup ("Admin", "SuperModerator") ) then if isPedInVehicle(tPlayer) then for i,player in ipairs(getElementsByType("player")) do fixVehicle(getPedOccupiedVehicle(player)) end setTimer(outputChatBox,50,1,"Bla Bla Bla",getRootElement(),171,205,239,true) end else outputChatBox("Bla Bla Bla",tPlayer, 255, 0, 0, true) end end addCommandHandler("fixall",fixall) addEvent("startFixAllPlayers", true) addEventHandler("startFixAllPlayers", getRootElement(), fixall) function restoreAllBlood_CMD(thePlayer, theCMD) if (eventName == "startBloodAllPlayers") then thePlayer = source end local accountName = getAccountName(getPlayerAccount(thePlayer)) if(accountName) then if(isObjectInACLGroup("user."..accountName, aclGetGroup("Admin", "SuperModerator"))) then local alivePlayers = getAlivePlayers(); if(alivePlayers ~= false) then for key, value in ipairs(alivePlayers) do setElementData(value, "blood", 12000); outputChatBox("Bla Bla Bla", value, 0, 255, 0); end end else outputChatBox("Bla Bla Bla", thePlayer, 255, 0, 0); end end end addCommandHandler("bloodall", restoreAllBlood_CMD, false, false); addEvent("startBloodAllPlayers", true) addEventHandler("startBloodAllPlayers", getRootElement(), restoreAllBlood_CMD)
  12. 1LoL1

    Help me

    Ok I got it. Lock
  13. 1LoL1

    [HELP] Ping Kick

    And to make it even typed into the chat? function kickPing() for i, player in ipairs(getElementsByType("player")) do if (getPlayerPing(player) >= 250) then kickPlayer(player, "Ping over 250!") outputChatBox("..getPlayerName.."" has been kicked for hight ping!") end end end setTimer(kickPing, 5000, 0)
  14. 1LoL1

    [HELP] Ping Kick

    So there I find that the script Kicks now there are all those that warn .. but I do not want ..
  15. Could someone make a ping kicker that's just not even notice it now at Kicks 200 ping? please
  16. 1LoL1

    Hex Color

    But I do not know what to do I do what you wrote ..
  17. 1LoL1

    Dosen't Work

    Try this: local account = getPlayerAccount(thePlayer) if (not account or isGuestAccount(account)) then return end local accountName = getAccountName(account) for _, group in ipairs ( { "ORGANIZADOR", "MODERADOR", "ADMINISTADOR"" } ) do if isObjectInACLGroup ( "user.".. getAccountName ( account ), aclGetGroup ( group ) ) then inGroup = true or: local account = getPlayerAccount(thePlayer) if (not account or isGuestAccount(account)) then return end local accountName = getAccountName(account) for _, group in ipairs ( { "Organizer", "Moderator", "Administrator"" } ) do if isObjectInACLGroup ( "user.".. getAccountName ( account ), aclGetGroup ( group ) ) then inGroup = true
  18. 1LoL1

    Hex Color

    however I wanted to edit what is in the spoilers ..
  19. 1LoL1

    Hex Color

    please help someone?
  20. 1LoL1

    Hex Color

    now it does not work:(
  21. 1LoL1

    Hex Color

    But I want to remove hexes .. in those spoilers .. that's all ..
×
×
  • Create New...