Fist Posted February 22, 2017 Share Posted February 22, 2017 Handy tool for DayZ servers, very easy to use and neatlooking DayZ Admin Panel. It's completly open sourcefeel free to edit it to your likings but please do notremove original author (me) also credit goes to Supermanaddon creator Ryden, without him this handy tool wouldnot be so cool. Default open bind is OOnce you go in Duty Mod you are invincible and you can fly.==-- To doInventory inspectorSuperAdmin featuresBan List (also unbaning)Report systemSpectate (maybe?)==-- FeaturesDuty Mode, Kick, Ban, Mute, Freeze, Warp,Warp Player To, Set Stats, Change Weather, Kill Player,Spawn Items, Spawn Vehicles, Send Global Message,Fix Car, Destroy Car, Blow Car, See Stats about player. If you find any bug report here or pm me, i'll fix it as soon as possible. Download Link: https://community.multitheftauto.com/index.php?p=resources&s=details&id=14187 Link to comment
Mischief-1 Posted April 14 Share Posted April 14 On 22/02/2017 at 11:44, Fist said: Handy tool for DayZ servers, very easy to use and neat looking DayZ Admin Panel. It's completly open source feel free to edit it to your likings but please do not remove original author (me) also credit goes to Superman addon creator Ryden, without him this handy tool would not be so cool. Default open bind is O Once you go in Duty Mod you are invincible and you can fly. ==-- To do Inventory inspector SuperAdmin features Ban List (also unbaning) Report system Spectate (maybe?) ==-- Features Duty Mode, Kick, Ban, Mute, Freeze, Warp, Warp Player To, Set Stats, Change Weather, Kill Player, Spawn Items, Spawn Vehicles, Send Global Message, Fix Car, Destroy Car, Blow Car, See Stats about player. If you find any bug report here or pm me, i'll fix it as soon as possible. Download Link: https://community.multitheftauto.com/index.php?p=resources&s=details&id=14187 I hate to bump this old script, but I've been trying to modify it to my liking, I would love to share it as well to the community if anyone needs it, but I need a little help. I've been having errors when giving items to someone. If you can still respond to this, can you help me? https://imgur.com/a/6WZ3KjU server function giveEvent(selectedPlayer,item,quantity) setElementData(selectedPlayer,item,getElementData(selectedPlayer,item)+quantity) outputChatBox(prefix.." Admin "..string.gsub(getPlayerName(source), "#%x%x%x%x%x%x", "").." gave you "..quantity.." "..item,selectedPlayer,0,0,0,true) outputChatBox(prefix.." You gave "..quantity.." "..item.." to "..string.gsub(getPlayerName(selectedPlayer), "#%x%x%x%x%x%x", ""),source,0,0,0,true) end addEvent("giveEvent",true) addEventHandler("giveEvent",root,giveEvent) client function give() if (guiGridListGetSelectedItem(giveWindowGridlist) ~= -1) then local item = guiGridListGetItemText(giveWindowGridlist,guiGridListGetSelectedItem(giveWindowGridlist)) local quantity = guiGetText(giveWindowEditboxQuant) local selectedPlayer = getPlayerFromName(guiGridListGetItemText(gridlistPlayers1,item,1)) if selectedPlayer then triggerServerEvent("giveEvent",localPlayer,selectedPlayer,item,quantity) end end end Link to comment
Mischief-1 Posted April 18 Share Posted April 18 On 15/04/2024 at 04:23, Mischief-1 said: I hate to bump this old script, but I've been trying to modify it to my liking, I would love to share it as well to the community if anyone needs it, but I need a little help. I've been having errors when giving items to someone. If you can still respond to this, can you help me? https://imgur.com/a/6WZ3KjU server function giveEvent(selectedPlayer,item,quantity) setElementData(selectedPlayer,item,getElementData(selectedPlayer,item)+quantity) outputChatBox(prefix.." Admin "..string.gsub(getPlayerName(source), "#%x%x%x%x%x%x", "").." gave you "..quantity.." "..item,selectedPlayer,0,0,0,true) outputChatBox(prefix.." You gave "..quantity.." "..item.." to "..string.gsub(getPlayerName(selectedPlayer), "#%x%x%x%x%x%x", ""),source,0,0,0,true) end addEvent("giveEvent",true) addEventHandler("giveEvent",root,giveEvent) client function give() if (guiGridListGetSelectedItem(giveWindowGridlist) ~= -1) then local item = guiGridListGetItemText(giveWindowGridlist,guiGridListGetSelectedItem(giveWindowGridlist)) local quantity = guiGetText(giveWindowEditboxQuant) local selectedPlayer = getPlayerFromName(guiGridListGetItemText(gridlistPlayers1,item,1)) if selectedPlayer then triggerServerEvent("giveEvent",localPlayer,selectedPlayer,item,quantity) end end end I was able to fix this error, I kinda had to rewrite it. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now