Jump to content

2013martin1212

Members
  • Posts

    130
  • Joined

  • Last visited

Everything posted by 2013martin1212

  1. If the server was find the network trouble faster than normal and kick the player like if i remove my internet cable i still can play around 10 15 seconds and that what i want to disable
  2. 2013martin1212

    Help

    Hello all i have a dayz szerver and i want to block the dumpin at the server its can be do it some way like if the player was remove the internet cable then the server was automatically kick ? and not just give a network trouble
  3. Like this : function openPanel() if (open_tick and getTickCount() - open_tick > 300000) then open_tick = getTickCount() function vip() triggerServerEvent ( "ClientHaveLevel", getLocalPlayer() ) end addCommandHandler ("vip", vip) function armavip () showCursor (true) triggerServerEvent ( "onGreeting", getLocalPlayer() ) end --Fegyók function equipvip () showCursor (true) triggerServerEvent ( "Fegyverek", getLocalPlayer() ) end function equipvipmedic () showCursor (true) triggerServerEvent ( "Medic", getLocalPlayer() ) end function equipvipkaja () showCursor (true) triggerServerEvent ( "Kaja", getLocalPlayer() ) end function equipviptoolbelt () showCursor (true) triggerServerEvent ( "toolbelt", getLocalPlayer() ) end function Coyote () showCursor (true) triggerServerEvent ( "CoyoteBackp", getLocalPlayer() ) end function equipviplegendary () showCursor (true) triggerServerEvent ( "Legendary", getLocalPlayer() ) end function equipvipacu () showCursor (true) triggerServerEvent ( "Survival_ACU", getLocalPlayer() ) end function vipveh () showCursor (true) triggerServerEvent ( "kocsiafaxfejeknek", getLocalPlayer() ) end function slotvip () showCursor (true) triggerServerEvent ( "onGreeting3", getLocalPlayer() ) end function vip2() painel = guiCreateWindow(189, 81, 1106, 655, "V.I.P Panel!", false) guiWindowSetSizable(painel, false) showCursor ( true ) guiSetAlpha(painel, 0.65) guiSetProperty(painel, "CaptionColour", "FF6AE419") equip = guiCreateButton(40, 72, 212, 29, "Weapon kit", false, painel) fegyokep = guiCreateStaticImage(129, 26, 36, 36, "kepek/stuki.png", false, painel) close = guiCreateButton(906, 47, 214, 37, "Close", false, painel) kocsikep = guiCreateStaticImage(439, 398, 36, 36, "kepek/tire.png", false, painel) kocsikgomb = guiCreateButton(353, 444, 212, 29, "Vehicle kit", false, painel) survivalacgomb = guiCreateButton(353, 321, 212, 29, "Survival ACU", false, painel) suvivalackep = guiCreateStaticImage(439, 275, 36, 36, "kepek/survivalacu.png", false, painel) kocsigombok = guiCreateButton(796, 384, 130, 60, "Vehicles(Coming soon)", false, painel) legendarygomb = guiCreateButton(353, 189, 212, 29, "Legendary Backpack(Coming soon)", false, painel) legendarykep = guiCreateStaticImage(439, 143, 36, 36, "kepek/gunbag.png", false, painel) coyote = guiCreateButton(353, 72, 212, 29, "Coyote Backpack", false, painel) coyotekep = guiCreateStaticImage(439, 26, 36, 36, "kepek/Item_Backpack_Coyote.png", false, painel) toolbeltgomb = guiCreateButton(40, 444, 212, 29, "Toolbelt items", false, painel) toolbeltkep = guiCreateStaticImage(129, 398, 36, 36, "kepek/toolbelt.png", false, painel) kajakep = guiCreateStaticImage(129, 275, 36, 36, "kepek/can.png", false, painel) kajagomb = guiCreateButton(40, 321, 212, 29, "Food&Drink pack", false, painel) medickep = guiCreateStaticImage(129, 143, 36, 36, "kepek/medic.png", false, painel) medicgomb = guiCreateButton(40, 189, 212, 29, "Medic kit", false, painel) memo = guiCreateMemo(697, 99, 319, 100, "Köszönjük, hogy megvásároltad a VIP Csomagot. ..Jó szórakozást a tételekkel... !", false, painel) guiMemoSetReadOnly(memo, true) addEvent( "showvip",true ) addEventHandler ( "onClientGUIClick", arma, armavip, false ) addEventHandler ( "onClientGUIClick", equip, equipvip, false ) addEventHandler ( "onClientGUIClick", slot, slotvip, false ) addEventHandler ( "onClientGUIClick", survivalacgomb, equipvipacu, false ) addEventHandler ( "onClientGUIClick", kocsikgomb, vipveh, false ) addEventHandler ( "onClientGUIClick", legendarygomb, equipviplegendary, false ) addEventHandler ( "onClientGUIClick", coyote, Coyote, false ) addEventHandler ( "onClientGUIClick", toolbeltgomb, equipviptoolbelt, false ) addEventHandler ( "onClientGUIClick", kajagomb, equipvipkaja, false ) addEventHandler ( "onClientGUIClick", medicgomb, equipvipmedic, false ) addEventHandler ( "onClientGUIClick", close, function() guiSetVisible(painel, false) showCursor(false) end, false ) end addEvent( "ShowVipPanel", true ) addEventHandler( "ShowVipPanel", getRootElement(), vip2)
  4. I have a server side script, but when i load it up at the server doesnt give any errors, but still not work please someone can help me about it there is my script: And yes i am new in the sql world local dbConnection = dbConnect( "mysql", "dbname=mta-szerver;host=localhost","root" "" ) if dbConnection then OutputConsole ( "The database has failed to connect") else OutputConsole ( "Database has been connected") end function dbConnectionQuery(player, block, var) if (player and isElement(player)) then local query = dbQuery(dbConnection, "UPDATE 'accountdata' SET '" ..block.."' = '" ..var.."' WHERE Username ='" ..getPlayerName(player).."'"); if query then return true end outputDebugString("Error"..query.."|"); end end function dbConnectionGetQuery(player, block) if (player and isElement(player)) then local query = dbQuery(dbConnection,"SELECT ?? FROM accountdata WHERE Username = ?",block, getPlayerName(player)) local result = dbPoll(query, -1); if (result == nil ) then dbFree(query) return false; else return result; end end end addCommandHandler("cmd", function(player) local money = dbConnectGetQuery(player, "money"); if money then outputChatBox("Valami"..tonumber(money).."|",player); end dbConnectSetQuery(player, "Money", 100); end ) --[[ function saveAccounts () local serial = getPlayerSerial ( source ) local money = getPlayerMoney ( source ) local q = dbQuery(database,"SELECT * FROM accounts WHERE serial = ?", serial) local poll, rows = dbPoll(q, -1) if(rows == 0) then dbExec( database, "INSERT INTO accounts ( serial , money ) VALUES ( ?, ?)", serial, money ) else dbExec ( database, "UPDATE accounts SET money = ? WHERE serial = ?", money, serial) end end function loadAccounts () local serial = getPlayerSerial ( source ) local result = dbQuery ( database ,"SELECT * FROM accounts WHERE serial = ?", serial) local poll, rows = dbPoll(result, -1) if rows == 1 then setPlayerMoney ( source, poll[1]["money"] ) end end addEventHandler ( "onPlayerJoin", getRootElement(), loadAccounts ) addEventHandler ( "onPlayerQuit", getRootElement(), saveAccounts ) ]]
  5. and this is for the server side ?
  6. I have a panel and i want to delay f player open the panel then he can open in 5 minutes again there is my codes server file function greeting2Handler () setElementData(source, "M4A1 CCO", 1) setElementData(source, "DMR", 1) setElementData(source, "Hatchet", 1) setElementData(source, "STANAG Mag", 100) setElementData(source, "DMR Mag", 100) end addEvent( "Fegyverek", true ) addEventHandler( "Fegyverek", getRootElement(), greeting2Handler ) function PlayerHaveLevel( ) local accName = getAccountName ( getPlayerAccount ( source ) ) if ( isObjectInACLGroup ("user."..accName, aclGetGroup ( "VIP" ) ) ) then triggerClientEvent(source, "ShowVipPanel", source ) else outputChatBox("Nem vagy V.I.P rangos!",source) end end addEvent( "ClientHaveLevel", true ) addEventHandler( "ClientHaveLevel", getRootElement(), PlayerHaveLevel ) function Medicgombos () setElementData(source, "Bandage", 1) setElementData(source, "Morphine", 1) setElementData(source, "Medic Kit", 1) setElementData(source, "Painkiller", 1) setElementData(source, "Heat Pack", 1) end addEvent( "Medic", true ) addEventHandler( "Medic", getRootElement(), Medicgombos ) function Kajas () setElementData(source, "Water Bottle", 2) setElementData(source, "Pasta Can", 2) setElementData(source, "Beans Can", 2) setElementData(source, "Milk", 2) setElementData(source, "Soda Bottle", 2) end addEvent( "Kaja", true ) addEventHandler( "Kaja", getRootElement(), Kajas ) function toolbeltes () setElementData(source, "Night Vision Goggles", 1) setElementData(source, "Map", 1) setElementData(source, "GPS", 1) setElementData(source, "Toolbox", 1) setElementData(source, "Watch", 1) end addEvent( "toolbelt", true ) addEventHandler( "toolbelt", getRootElement(), toolbeltes ) function Coyote () setElementData(source, "MAX_Slots", 60) end addEvent( "CoyoteBackp", true ) addEventHandler( "CoyoteBackp", getRootElement(), Coyote ) function ACUU () setElementData(source, "MAX_Slots", 16) end addEvent( "Survival_ACU", true ) addEventHandler( "Survival_ACU", getRootElement(), ACUU ) function vipveh () setElementData(source, "Tire", 4) setElementData(source, "Engine", 1) setElementData(source, "Tank Parts", 1) end addEvent( "kocsiafaxfejeknek", true ) addEventHandler( "kocsiafaxfejeknek", getRootElement(), vipveh ) client function vip() triggerServerEvent ( "ClientHaveLevel", getLocalPlayer() ) end addCommandHandler ("vip", vip) function armavip () showCursor (true) triggerServerEvent ( "onGreeting", getLocalPlayer() ) end --Fegyók function equipvip () showCursor (true) triggerServerEvent ( "Fegyverek", getLocalPlayer() ) end function equipvipmedic () showCursor (true) triggerServerEvent ( "Medic", getLocalPlayer() ) end function equipvipkaja () showCursor (true) triggerServerEvent ( "Kaja", getLocalPlayer() ) end function equipviptoolbelt () showCursor (true) triggerServerEvent ( "toolbelt", getLocalPlayer() ) end function Coyote () showCursor (true) triggerServerEvent ( "CoyoteBackp", getLocalPlayer() ) end function equipviplegendary () showCursor (true) triggerServerEvent ( "Legendary", getLocalPlayer() ) end function equipvipacu () showCursor (true) triggerServerEvent ( "Survival_ACU", getLocalPlayer() ) end function vipveh () showCursor (true) triggerServerEvent ( "kocsiafaxfejeknek", getLocalPlayer() ) end function slotvip () showCursor (true) triggerServerEvent ( "onGreeting3", getLocalPlayer() ) end function vip2() painel = guiCreateWindow(189, 81, 1106, 655, "V.I.P Panel!", false) guiWindowSetSizable(painel, false) showCursor ( true ) guiSetAlpha(painel, 0.65) guiSetProperty(painel, "CaptionColour", "FF6AE419") equip = guiCreateButton(40, 72, 212, 29, "Weapon kit", false, painel) fegyokep = guiCreateStaticImage(129, 26, 36, 36, "kepek/stuki.png", false, painel) close = guiCreateButton(906, 47, 214, 37, "Close", false, painel) kocsikep = guiCreateStaticImage(439, 398, 36, 36, "kepek/tire.png", false, painel) kocsikgomb = guiCreateButton(353, 444, 212, 29, "Vehicle kit", false, painel) survivalacgomb = guiCreateButton(353, 321, 212, 29, "Survival ACU", false, painel) suvivalackep = guiCreateStaticImage(439, 275, 36, 36, "kepek/survivalacu.png", false, painel) kocsigombok = guiCreateButton(796, 384, 130, 60, "Vehicles(Coming soon)", false, painel) legendarygomb = guiCreateButton(353, 189, 212, 29, "Legendary Backpack(Coming soon)", false, painel) legendarykep = guiCreateStaticImage(439, 143, 36, 36, "kepek/gunbag.png", false, painel) coyote = guiCreateButton(353, 72, 212, 29, "Coyote Backpack", false, painel) coyotekep = guiCreateStaticImage(439, 26, 36, 36, "kepek/Item_Backpack_Coyote.png", false, painel) toolbeltgomb = guiCreateButton(40, 444, 212, 29, "Toolbelt items", false, painel) toolbeltkep = guiCreateStaticImage(129, 398, 36, 36, "kepek/toolbelt.png", false, painel) kajakep = guiCreateStaticImage(129, 275, 36, 36, "kepek/can.png", false, painel) kajagomb = guiCreateButton(40, 321, 212, 29, "Food&Drink pack", false, painel) medickep = guiCreateStaticImage(129, 143, 36, 36, "kepek/medic.png", false, painel) medicgomb = guiCreateButton(40, 189, 212, 29, "Medic kit", false, painel) memo = guiCreateMemo(697, 99, 319, 100, "Köszönjük, hogy megvásároltad a VIP Csomagot. ..Jó szórakozást a tételekkel... !", false, painel) guiMemoSetReadOnly(memo, true) addEvent( "showvip",true ) addEventHandler ( "onClientGUIClick", arma, armavip, false ) addEventHandler ( "onClientGUIClick", equip, equipvip, false ) addEventHandler ( "onClientGUIClick", slot, slotvip, false ) addEventHandler ( "onClientGUIClick", survivalacgomb, equipvipacu, false ) addEventHandler ( "onClientGUIClick", kocsikgomb, vipveh, false ) addEventHandler ( "onClientGUIClick", legendarygomb, equipviplegendary, false ) addEventHandler ( "onClientGUIClick", coyote, Coyote, false ) addEventHandler ( "onClientGUIClick", toolbeltgomb, equipviptoolbelt, false ) addEventHandler ( "onClientGUIClick", kajagomb, equipvipkaja, false ) addEventHandler ( "onClientGUIClick", medicgomb, equipvipmedic, false ) addEventHandler ( "onClientGUIClick", close, function() guiSetVisible(painel, false) showCursor(false) end, false ) end addEvent( "ShowVipPanel", true ) addEventHandler( "ShowVipPanel", getRootElement(), vip2)
  7. 2013martin1212

    Help

    Hello all i make a hud for the money with dx, but the system was doesnt shows the player money, just if i am restart the resource . Please help me my resource is local x,y = guiGetScreenSize() local money = getPlayerMoney ( localPlayer ) local myFont = nil function drawStuff() dxDrawRectangle ( x/1.2, y/5, x/7, y/25, tocolor ( 0, 0, 0, 150 ) ) dxDrawText ( "Game Points:" ..money, x/1.2, y/5, x, y, tocolor (255, 255, 255, 255), 1, "bankgothic" ) end addEventHandler("onClientRender", root, drawStuff)
  8. Can u please give me the example how i am not that good in lua
  9. The player gets money when the admin gives them its like a donetor can use only and they can buy extra items on the server with points , and with the money cant
  10. Its ok i can make a hud with this, but i still dont no how to make the another points system Like i want to make a Money hud which is done, but i need the another system wich is the other way i think i need to do setElementData but i dont no
  11. I try it that, but the most community resource are in luac version
  12. Yes i want to make a hud and a script which working similar like the money,
  13. KariiiM are you understand what i want ?
  14. I get that way, but i dont no how to make a point system like on the image there has money and Z-Pont
  15. Hello all i just have a question about how to make a hud like this ? A képet a Képfeltöltés.hu tárolja. http://www.kepfeltoltes.hu
  16. 2013martin1212

    Help!

    I want to create a script like when a player was moved on the x,y rectangle then the chatbox was show some chat and when he was leave the rectangele then the chatbox was show he was leaved , but only client side
  17. Thanks MADEX finaly now its works , but i dont no when i remove this function
  18. The ban is works, but still i cant mute or unmute and kick the player it says in the debug Access denied to onPlayerMute
  19. Hello i use the admin panel in the long time , but now for some reason dont want to work like if i pres ban or mute the player then the chat was show but doesnt kick the player and doesnt mute it down whats can be the problem ? and yes i am in the acl group admin there is my acl list "Everyone"> "Default"> "user.*"> "resource.*"> "Moderator"> "SuperModerator"> "SuperModerator"> "Admin"> "SuperModerator"> "Admin"> "RPC"> "Moderator"> "resource.admin"> "resource.webadmin"> "resource.DayZ"> "resource.login"> "resource.slothbot"> "user.Martin"> "user.zokesz"> "Console"> "SuperModerator"> "Admin"> "RPC"> "user.Martin"> "RPC"> "RPC"> "MapEditor"> "Default"> "MapEditor"> "resource.editor_main"> "resource.edf"> "raceACLGroup"> "Default"> "raceACL"> "resource.race"> "DevGroup"> "DevACL"> "user.Martin"> "autoGroup_acpanel"> "autoACL_acpanel"> "resource.acpanel"> "autoGroup_guieditor"> "autoACL_guieditor"> "resource.guieditor"> "VIP"> "user.ss"> "Default"> "general.ModifyOtherObjects" access="false"> "general.http" access="false"> "command.start" access="false"> "command.stop" access="false"> "command.stopall" access="false"> "command.gamemode" access="false"> "command.changemode" access="false"> "command.changemap" access="false"> "command.stopmode" access="false"> "command.stopmap" access="false"> "command.skipmap" access="false"> "command.restart" access="false"> "command.refresh" access="false"> "command.refreshall" access="false"> "command.addaccount" access="false"> "command.delaccount" access="false"> "command.debugscript" access="false"> "command.chgpass" access="false"> "command.loadmodule" access="false"> "command.upgrade" access="false"> "command.mute" access="false"> "command.crun" access="false"> "command.srun" access="false"> "command.run" access="false"> "command.unmute" access="false"> "command.kick" access="false"> "command.ban" access="false"> "command.banip" access="false"> "command.unbanip" access="false"> "command.reloadbans" access="false"> "command.shutdown" access="false"> "command.install" access="false"> "command.aexec" access="false"> "command.whois" access="false"> "command.whowas" access="false"> "function.executeCommandHandler" access="false"> "function.setPlayerMuted" access="false"> "function.addAccount" access="false"> "function.addBan" access="false"> "function.setUnbanTime" access="false"> "function.setBanAdmin" access="false"> "function.setBanReason" access="false"> "function.removeBan" access="false"> "function.removeAccount" access="false"> "function.setAccountPassword" access="false"> "function.kickPlayer" access="false"> "function.banIP" access="false"> "function.banPlayer" access="false"> "function.banSerial" access="false"> "function.getBansXML" access="false"> "function.unbanIP" access="false"> "function.unbanSerial" access="false"> "function.reloadBans" access="false"> "function.setServerPassword" access="false"> "function.getServerPassword" access="false"> "function.callRemote" access="false"> "function.fetchRemote" access="false"> "function.startResource" access="false"> "function.stopResource" access="false"> "function.restartResource" access="false"> "function.createResource" access="false"> "function.copyResource" access="false"> "function.addResourceMap" access="false"> "function.addResourceConfig" access="false"> "function.removeResourceFile" access="false"> "function.setResourceDefaultSetting" access="false"> "function.removeResourceDefaultSetting" access="false"> "function.redirectPlayer" access="false"> "function.aclReload" access="false"> "function.aclSave" access="false"> "function.aclCreate" access="false"> "function.aclDestroy" access="false"> "function.aclSetRight" access="false"> "function.aclRemoveRight" access="false"> "function.aclCreateGroup" access="false"> "function.aclDestroyGroup" access="false"> "function.aclGroupAddACL" access="false"> "function.aclGroupRemoveACL" access="false"> "function.aclGroupAddObject" access="false"> "function.aclGroupRemoveObject" access="false"> "function.refreshResources" access="false"> "function.setServerConfigSetting" access="false"> "function.updateResourceACLRequest" access="false"> "command.aclrequest" access="false"> "general.adminpanel" access="false"> "general.tab_players" access="false"> "general.tab_resources" access="false"> "general.tab_maps" access="false"> "general.tab_server" access="false"> "general.tab_bans" access="false"> "general.tab_adminchat" access="false"> "command.freeze" access="false"> "command.setnick" access="false"> "command.shout" access="false"> "command.spectate" access="false"> "command.slap" access="false"> "command.setgroup" access="false"> "command.sethealth" access="false"> "command.setarmour" access="false"> "command.setmoney" access="false"> "command.setskin" access="false"> "command.setteam" access="false"> "command.giveweapon" access="false"> "command.setstat" access="false"> "command.jetpack" access="false"> "command.warp" access="false"> "command.setdimension" access="false"> "command.setinterior" access="false"> "command.givevehicle" access="false"> "command.repair" access="false"> "command.blow" access="false"> "command.destroy" access="false"> "command.customize" access="false"> "command.setcolor" access="false"> "command.setpaintjob" access="false"> "command.listmessages" access="false"> "command.readmessage" access="false"> "command.listresources" access="false"> "command.execute" access="false"> "command.delete" access="false"> "command.setpassword" access="false"> "command.setwelcome" access="false"> "command.setgame" access="false"> "command.setmap" access="false"> "command.setweather" access="false"> "command.blendweather" access="false"> "command.setblurlevel" access="false"> "command.setwaveheight" access="false"> "command.setskygradient" access="false"> "command.setgamespeed" access="false"> "command.setgravity" access="false"> "command.settime" access="false"> "function.shutdown" access="false"> "command.setfpslimit" access="false"> "command.fetchRemote" access="false"> "command.unban" access="false"> "command.banserial" access="false"> "command.unbanserial" access="false"> "command.listbans" access="false"> "SuperModerator"> "general.ModifyOtherObjects" access="false"> "command.start" access="true"> "command.stop" access="true"> "command.restart" access="true"> "command.kick" access="true"> "command.ban" access="true"> "command.banip" access="true"> "command.unbanip" access="true"> "command.reloadbans" access="true"> "command.refresh" access="true"> "command.refreshall" access="true"> "command.loadmodule" access="true"> "command.addaccount" access="true"> "command.delaccount" access="true"> "command.chgpass" access="true"> "function.addAccount" access="true"> "function.removeAccount" access="true"> "function.setAccountPassword" access="true"> "general.adminpanel" access="true"> "general.tab_players" access="true"> "general.tab_resources" access="true"> "general.tab_maps" access="true"> "general.tab_server" access="true"> "general.tab_bans" access="true"> "general.tab_adminchat" access="true"> "command.freeze" access="true"> "command.mute" access="true"> "command.setnick" access="true"> "command.shout" access="true"> "command.spectate" access="true"> "command.slap" access="false"> "command.setgroup" access="false"> "command.sethealth" access="false"> "command.setarmour" access="false"> "command.setmoney" access="true"> "command.setskin" access="false"> "command.setteam" access="false"> "command.giveweapon" access="false"> "command.setstat" access="false"> "command.jetpack" access="false"> "command.warp" access="true"> "command.setdimension" access="false"> "command.setinterior" access="false"> "command.createteam" access="false"> "command.destroyteam" access="true"> "command.givevehicle" access="false"> "command.repair" access="true"> "command.blowvehicle" access="false"> "command.destroyvehicle" access="true"> "command.customize" access="false"> "command.setcolor" access="false"> "command.setpaintjob" access="false"> "command.listmessages" access="false"> "command.readmessage" access="true"> "command.listresources" access="true"> "command.stopall" access="false"> "command.execute" access="false"> "command.setpassword" access="false"> "command.setwelcome" access="false"> "command.setgame" access="false"> "command.setmap" access="false"> "command.setweather" access="true"> "command.blendweather" access="false"> "command.setblurlevel" access="false"> "command.setwaveheight" access="false"> "command.setskygradient" access="false"> "command.setgamespeed" access="false"> "command.setgravity" access="false"> "command.settime" access="true"> "command.unban" access="true"> "command.banserial" access="true"> "command.unbanserial" access="true"> "command.listbans" access="true"> "Admin"> "general.ModifyOtherObjects" access="true"> "general.http" access="true"> "command.shutdown" access="true"> "command.install" access="true"> "command.aexec" access="true"> "command.debugscript" access="true"> "command.upgrade" access="true"> "command.crun" access="true"> "command.srun" access="true"> "command.run" access="true"> "function.addBan" access="true"> "function.setUnbanTime" access="true"> "function.setBanAdmin" access="true"> "function.setBanReason" access="true"> "function.removeBan" access="true"> "function.reloadBans" access="true"> "function.executeCommandHandler" access="true"> "function.setServerPassword" access="true"> "function.getServerPassword" access="true"> "function.createResource" access="true"> "function.copyResource" access="true"> "function.addResourceMap" access="true"> "function.addResourceConfig" access="true"> "function.removeResourceFile" access="true"> "function.setResourceDefaultSetting" access="true"> "function.removeResourceDefaultSetting" access="true"> "function.aclReload" access="true"> "function.aclSave" access="true"> "function.aclCreate" access="true"> "function.aclDestroy" access="true"> "function.aclSetRight" access="true"> "function.aclRemoveRight" access="true"> "function.aclCreateGroup" access="true"> "function.aclDestroyGroup" access="true"> "function.aclGroupAddACL" access="true"> "function.aclGroupRemoveACL" access="true"> "function.aclGroupAddObject" access="true"> "function.aclGroupRemoveObject" access="true"> "function.refreshResources" access="true"> "function.setServerConfigSetting" access="true"> "function.updateResourceACLRequest" access="true"> "command.aclrequest" access="true"> "general.adminpanel" access="true"> "general.tab_players" access="true"> "general.tab_resources" access="true"> "general.tab_server" access="true"> "general.tab_maps" access="true"> "general.tab_bans" access="true"> "general.tab_adminchat" access="true"> "command.kick" access="true"> "command.freeze" access="true"> "command.mute" access="true"> "command.setnick" access="true"> "command.shout" access="true"> "command.spectate" access="true"> "command.slap" access="false"> "command.setgroup" access="true"> "command.sethealth" access="false"> "command.setarmour" access="false"> "command.setmoney" access="true"> "command.setskin" access="false"> "command.setteam" access="true"> "command.giveweapon" access="true"> "command.setstat" access="true"> "command.jetpack" access="false"> "command.warp" access="true"> "command.setdimension" access="false"> "command.setinterior" access="true"> "command.createteam" access="true"> "command.destroyteam" access="true"> "command.givevehicle" access="true"> "command.repair" access="true"> "command.blowvehicle" access="false"> "command.destroyvehicle" access="true"> "command.customize" access="true"> "command.setcolor" access="false"> "command.setpaintjob" access="true"> "command.listmessages" access="true"> "command.readmessage" access="true"> "command.listresources" access="true"> "command.start" access="true"> "command.stop" access="true"> "command.stopall" access="true"> "command.delete" access="true"> "command.restart" access="true"> "command.execute" access="true"> "command.setpassword" access="true"> "command.setwelcome" access="true"> "command.setgame" access="true"> "command.setmap" access="true"> "command.setweather" access="true"> "command.blendweather" access="true"> "command.setblurlevel" access="true"> "command.setwaveheight" access="true"> "command.setskygradient" access="true"> "command.setgamespeed" access="true"> "command.setgravity" access="true"> "command.settime" access="true"> "command.setfpslimit" access="true"> "function.shutdown" access="true"> "command.ban" access="true"> "command.unban" access="true"> "command.banip" access="true"> "command.unbanip" access="true"> "command.banserial" access="true"> "command.unbanserial" access="true"> "command.listbans" access="true"> "command.givevelichle" access="true"> "function.banPlayer" access="true"> "RPC"> "function.callRemote" access="true"> "function.fetchRemote" access="true"> "general.adminpanel" access="false"> "general.tab_players" access="false"> "general.tab_resources" access="false"> "general.tab_maps" access="false"> "general.tab_server" access="false"> "general.tab_bans" access="false"> "general.tab_adminchat" access="false"> "command.kick" access="false"> "command.freeze" access="false"> "command.mute" access="false"> "command.setnick" access="false"> "command.shout" access="false"> "command.spectate" access="false"> "command.slap" access="false"> "command.setgroup" access="false"> "command.sethealth" access="false"> "command.setarmour" access="false"> "command.setmoney" access="false"> "command.setskin" access="false"> "command.setteam" access="false"> "command.giveweapon" access="false"> "command.setstat" access="false"> "command.jetpack" access="false"> "command.warp" access="false"> "command.setdimension" access="false"> "command.setinterior" access="false"> "command.givevehicle" access="false"> "command.repair" access="false"> "command.blow" access="false"> "command.destroy" access="false"> "command.customize" access="false"> "command.setcolor" access="false"> "command.setpaintjob" access="false"> "command.listmessages" access="false"> "command.readmessage" access="false"> "command.listresources" access="false"> "command.start" access="false"> "command.stop" access="false"> "command.stopall" access="false"> "command.restart" access="false"> "command.execute" access="false"> "command.delete" access="false"> "command.setpassword" access="false"> "command.setwelcome" access="false"> "command.setgame" access="false"> "command.setmap" access="false"> "command.setweather" access="false"> "command.blendweather" access="false"> "command.setblurlevel" access="false"> "command.setwaveheight" access="false"> "command.setskygradient" access="false"> "command.setgamespeed" access="false"> "command.setgravity" access="false"> "command.settime" access="false"> "function.shutdown" access="false"> "command.setfpslimit" access="false"> "command.fetchRemote" access="false"> "command.ban" access="false"> "command.unban" access="false"> "command.banip" access="false"> "command.unbanip" access="false"> "command.banserial" access="false"> "command.unbanserial" access="false"> "command.listbans" access="false"> "MapEditor"> "general.ModifyOtherObjects" access="true"> "function.startResource" access="true"> "function.stopResource" access="true"> "function.restartResource" access="true"> "function.createResource" access="true"> "function.copyResource" access="true"> "function.renameResource" access="true"> "function.deleteResource" access="true"> "function.addResourceMap" access="true"> "function.addResourceConfig" access="true"> "function.removeResourceFile" access="true"> "function.setResourceDefaultSetting" access="true"> "function.removeResourceDefaultSetting" access="true"> "function.xmlLoadFile" access="true"> "general.adminpanel" access="false"> "general.tab_players" access="false"> "general.tab_resources" access="false"> "general.tab_maps" access="false"> "general.tab_server" access="false"> "general.tab_bans" access="false"> "general.tab_adminchat" access="false"> "command.kick" access="false"> "command.freeze" access="false"> "command.mute" access="false"> "command.setnick" access="false"> "command.shout" access="false"> "command.spectate" access="false"> "command.slap" access="false"> "command.setgroup" access="false"> "command.sethealth" access="false"> "command.setarmour" access="false"> "command.setmoney" access="false"> "command.setskin" access="false"> "command.setteam" access="false"> "command.giveweapon" access="false"> "command.setstat" access="false"> "command.jetpack" access="false"> "command.warp" access="false"> "command.setdimension" access="false"> "command.setinterior" access="false"> "command.givevehicle" access="false"> "command.repair" access="false"> "command.blow" access="false"> "command.destroy" access="false"> "command.customize" access="false"> "command.setcolor" access="false"> "command.setpaintjob" access="false"> "command.listmessages" access="false"> "command.readmessage" access="false"> "command.listresources" access="false"> "command.start" access="false"> "command.stop" access="false"> "command.stopall" access="false"> "command.restart" access="false"> "command.execute" access="false"> "command.delete" access="false"> "command.setpassword" access="false"> "command.setwelcome" access="false"> "command.setgame" access="false"> "command.setmap" access="false"> "command.setweather" access="false"> "command.blendweather" access="false"> "command.setblurlevel" access="false"> "command.setwaveheight" access="false"> "command.setskygradient" access="false"> "command.setgamespeed" access="false"> "command.setgravity" access="false"> "command.settime" access="false"> "function.shutdown" access="false"> "command.setfpslimit" access="false"> "command.fetchRemote" access="false"> "command.ban" access="false"> "command.unban" access="false"> "command.banip" access="false"> "command.unbanip" access="false"> "command.banserial" access="false"> "command.unbanserial" access="false"> "command.listbans" access="false"> "raceACL"> "general.ModifyOtherObjects" access="true"> "function.xmlLoadFile" access="true"> "function.startResource" access="true"> "function.stopResource" access="true"> "function.restartResource" access="true"> "general.adminpanel" access="false"> "general.tab_players" access="false"> "general.tab_resources" access="false"> "general.tab_maps" access="false"> "general.tab_server" access="false"> "general.tab_bans" access="false"> "general.tab_adminchat" access="false"> "command.kick" access="false"> "command.freeze" access="false"> "command.mute" access="false"> "command.setnick" access="false"> "command.shout" access="false"> "command.spectate" access="false"> "command.slap" access="false"> "command.setgroup" access="false"> "command.sethealth" access="false"> "command.setarmour" access="false"> "command.setmoney" access="false"> "command.setskin" access="false"> "command.setteam" access="false"> "command.giveweapon" access="false"> "command.setstat" access="false"> "command.jetpack" access="false"> "command.warp" access="false"> "command.setdimension" access="false"> "command.setinterior" access="false"> "command.givevehicle" access="false"> "command.repair" access="false"> "command.blow" access="false"> "command.destroy" access="false"> "command.customize" access="false"> "command.setcolor" access="false"> "command.setpaintjob" access="false"> "command.listmessages" access="false"> "command.readmessage" access="false"> "command.listresources" access="false"> "command.start" access="false"> "command.stop" access="false"> "command.stopall" access="false"> "command.restart" access="false"> "command.execute" access="false"> "command.delete" access="false"> "command.setpassword" access="false"> "command.setwelcome" access="false"> "command.setgame" access="false"> "command.setmap" access="false"> "command.setweather" access="false"> "command.blendweather" access="false"> "command.setblurlevel" access="false"> "command.setwaveheight" access="false"> "command.setskygradient" access="false"> "command.setgamespeed" access="false"> "command.setgravity" access="false"> "command.settime" access="false"> "function.shutdown" access="false"> "command.setfpslimit" access="false"> "command.fetchRemote" access="false"> "command.ban" access="false"> "command.unban" access="false"> "command.banip" access="false"> "command.unbanip" access="false"> "command.banserial" access="false"> "command.unbanserial" access="false"> "command.listbans" access="false"> "DevACL"> "resource.performancebrowser.http" access="true"> "resource.ajax.http" access="true"> "general.adminpanel" access="false"> "general.tab_players" access="false"> "general.tab_resources" access="false"> "general.tab_maps" access="false"> "general.tab_server" access="false"> "general.tab_bans" access="false"> "general.tab_adminchat" access="false"> "command.kick" access="false"> "command.freeze" access="false"> "command.mute" access="false"> "command.setnick" access="false"> "command.shout" access="false"> "command.spectate" access="false"> "command.slap" access="false"> "command.setgroup" access="false"> "command.sethealth" access="false"> "command.setarmour" access="false"> "command.setmoney" access="false"> "command.setskin" access="false"> "command.setteam" access="false"> "command.giveweapon" access="false"> "command.setstat" access="false"> "command.jetpack" access="false"> "command.warp" access="false"> "command.setdimension" access="false"> "command.setinterior" access="false"> "command.givevehicle" access="false"> "command.repair" access="false"> "command.blow" access="false"> "command.destroy" access="false"> "command.customize" access="false"> "command.setcolor" access="false"> "command.setpaintjob" access="false"> "command.listmessages" access="false"> "command.readmessage" access="false"> "command.listresources" access="false"> "command.start" access="false"> "command.stop" access="false"> "command.stopall" access="false"> "command.restart" access="false"> "command.execute" access="false"> "command.delete" access="false"> "command.setpassword" access="false"> "command.setwelcome" access="false"> "command.setgame" access="false"> "command.setmap" access="false"> "command.setweather" access="false"> "command.blendweather" access="false"> "command.setblurlevel" access="false"> "command.setwaveheight" access="false"> "command.setskygradient" access="false"> "command.setgamespeed" access="false"> "command.setgravity" access="false"> "command.settime" access="false"> "function.shutdown" access="false"> "command.setfpslimit" access="false"> "command.fetchRemote" access="false"> "command.ban" access="false"> "command.unban" access="false"> "command.banip" access="false"> "command.unbanip" access="false"> "command.banserial" access="false"> "command.unbanserial" access="false"> "command.listbans" access="false"> "autoACL_acpanel"> "function.setServerConfigSetting" access="true" who="Core(Martin)" pending="false" date="15-06-30 21:31:01"> "function.kickPlayer" access="true" who="Core(Martin)" pending="false" date="15-06-30 21:31:01"> "function.fetchRemote" access="true" who="Core(Martin)" pending="false" date="15-06-30 21:31:01"> "autoACL_guieditor"> "general.ModifyOtherObjects" access="false" who="" pending="true" date=""> "function.callRemote" access="false" who="" pending="true" date=""> "Moderator"> "command.mute" access="true"> "general.adminpanel" access="true"> "general.tab_players" access="true"> "general.tab_resources" access="false"> "general.tab_maps" access="false"> "general.tab_server" access="true"> "general.tab_bans" access="false"> "general.tab_adminchat" access="true"> "command.kick" access="false"> "command.freeze" access="true"> "command.setnick" access="true"> "command.shout" access="true"> "command.spectate" access="true"> "command.slap" access="true"> "command.setgroup" access="false"> "command.sethealth" access="true"> "command.setarmour" access="true"> "command.setmoney" access="false"> "command.setskin" access="true"> "command.setteam" access="true"> "command.giveweapon" access="true"> "command.setstat" access="true"> "command.jetpack" access="true"> "command.warp" access="true"> "command.setdimension" access="true"> "command.setinterior" access="true"> "command.createteam" access="false"> "command.destroyteam" access="false"> "command.givevehicle" access="true"> "command.repair" access="true"> "command.blowvehicle" access="true"> "command.destroyvehicle" access="true"> "command.customize" access="true"> "command.setcolor" access="true"> "command.setpaintjob" access="true"> "command.listmessages" access="true"> "command.readmessage" access="true"> "command.listresources" access="true"> "command.start" access="false"> "command.stop" access="false"> "command.stopall" access="false"> "command.restart" access="false"> "command.execute" access="false"> "command.setpassword" access="false"> "command.setwelcome" access="false"> "command.setgame" access="false"> "command.setmap" access="false"> "command.setweather" access="true"> "command.blendweather" access="true"> "command.setblurlevel" access="true"> "command.setwaveheight" access="true"> "command.setskygradient" access="true"> "command.setgamespeed" access="true"> "command.setgravity" access="true"> "command.settime" access="true"> "command.ban" access="false"> "command.unban" access="false"> "command.banip" access="false"> "command.unbanip" access="false"> "command.banserial" access="false"> "command.unbanserial" access="false"> "command.listbans" access="false">
  20. 2013martin1212

    Help

    Hello all i just have a question how i can make a pickup in the interior ? i try this, but dont want to work no error code or anything like that pickup2 = createPickup (2324.44971 -1147.79822, 1050.71008,3, 20) setElementInterior(pickup2, 12)
  21. So if i want to make it with set timer then i need to make it like this ? money = { [1]={31, -16, 4}, [2]={14, 7, 4}, [3]={19, 1, 3} } local pos = money[math.random(#money)] local x,y,z = unpack ( pos ) local randomra = createPickup (x,y,z, 3, 1274,20) local myBlip = createBlipAttachedTo (randomra,52) function pickupUse ( player ) givePlayerMoney ( player, 1000 ) end addEventHandler ( "onPickupUse", randomra, pickupUse) setTimer( randomra, 30000, 1)
  22. its works,but alway put in the same cordinates, and when i restart the resource then change the cordinates
  23. I cant figure out what i make wrong please help money = { {31, -16, 4 }, {14, 7, 4 }, {19, 1, 3 } } local randomra = createPickup (math.random (#money) , 3, 1274, 20 ) function pickupUse ( player ) givePlayerMoney ( player, 1000 ) end addEventHandler ( "onPickupUse", randomra, pickupUse )
  24. 2013martin1212

    Help

    I try to make a car shop with the spawn points and i want the car was froze when spawn and if the player was sit in the one panel was pop up and tell the price about the car and if he buy it then the car was defrozed please help x, y, z = -424.4,586.15,17.35 function SpawnDayZPatriot() veh = createVehicle(470, x +5, y, z) vehCol = createColSphere(x +5, y, z, 2.5) attachElements(vehCol, veh, 0, 0, 0) setElementData(vehCol, "parent", veh) setElementData(veh, "parent", vehCol) setElementData(vehCol, "vehicle", true) setElementData(vehCol, "MAX_Slots", 10) local tires, engine, parts = getVehicleAddonInfos(getElementModel(veh)) setElementData(vehCol, "Tire_inVehicle", 4) setElementData(vehCol, "Engine_inVehicle", 1) setElementData(vehCol, "Parts_inVehicle", 1) setElementData(vehCol, "spawn", { 470, x, y, z }) setElementData(vehCol, "fuel", 100) -- setTimer(outputChatBox, 50, 1, "#6002B1[Core3]#FFFFFF-Patriot has been spawned!", thePlayer, 171, 205, 239, true) end end end setTimer ( SpawnDayZPatriot, 30 * 1000, 0 ) vehicleAddonsInfo = { { 470, 4, 1, 1 } }
×
×
  • Create New...