1LoL1
Members-
Posts
944 -
Joined
-
Last visited
Everything posted by 1LoL1
-
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?
-
OMG I'm an idiot .............................. I then wrote another password-_-I'm sorry and thank you.
-
I know .. I have a long time ago .............
-
However, I'm writing that no error does not write ..
-
there had to be attributed to the end I rewrote it. But even shows error and does not open or close ..
-
Script is turned on but the gate does not show up
-
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)
-
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.
-
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)
-
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)
-
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)
-
So there I find that the script Kicks now there are all those that warn .. but I do not want ..
-
Could someone make a ping kicker that's just not even notice it now at Kicks 200 ping? please
-
But I do not know what to do I do what you wrote ..
-
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
-
however I wanted to edit what is in the spoilers ..
-
But I want to remove hexes .. in those spoilers .. that's all ..