-
Posts
17 -
Joined
-
Last visited
Everything posted by Manic69
-
explosing good but fall down not
-
I have this duty : function giveblood (thePlayer) local account = getAccountName ( getPlayerAccount ( thePlayer ) ) if isObjectInACLGroup("user." .. account, aclGetGroup("Admin")) then outputChatBox ("#FC7D01[Owner] #FFFFFF"..getPlayerName(thePlayer).."#00FF00 Is now onduty NO DM !",root,255,255,255,true) setElementData(thePlayer, "blood", 9999999999999999999) end end addCommandHandler("duty", giveblood) function bloodback(thePlayer) local account = getAccountName ( getPlayerAccount ( thePlayer ) ) if isObjectInACLGroup("user." .. account, aclGetGroup("Admin")) then outputChatBox ("#FC7D01[Owner] #FFFFFF"..getPlayerName(thePlayer).."#FF0000 Is now offduty",root,255,255,255,true) setElementData(thePlayer, "blood", 12000) end end addCommandHandler("offduty", bloodback) My problem is If I fall down or Something explosing i die.
-
pls help me write it (sorry my bad eng )
-
Hello! Can someone help me,I have this simple duty script function giveblood (thePlayer) local account = getAccountName ( getPlayerAccount ( thePlayer ) ) if isObjectInACLGroup("user." .. account, aclGetGroup("Admin")) then end outputChatBox ("#6B8E23 [Owner] #FFFFFF"..getPlayerName(thePlayer).."#1AFF00 Is now onduty NO DM !",root,255,255,255,true) setElementData(thePlayer, "blood",999999999) end addCommandHandler("duty", giveblood) function bloodback(thePlayer) local account = getAccountName ( getPlayerAccount ( thePlayer ) ) if isObjectInACLGroup("user." .. account, aclGetGroup("Admin")) then end outputChatBox ("#6B8E23 [Owner] #FFFFFF"..getPlayerName(thePlayer).."#FF0000 Is now offduty",root,255,255,255,true) setElementData(thePlayer, "blood",12000) end addCommandHandler("offduty", bloodback) The problem is that everyone works not only for admin. And if someone know how to add 3D text write me pls TY!
-
I try it but don't work. How to add it ?
-
Help me pls ---------------------------------------------------------------------------------- client: bindKey("b", "down", "chatbox", "global") -------------------------------------------------------------------------------------------------------------------- server function globalMessage(thePlayer, cmd, ...) local message = table.concat ( { ... }, " " ) local name = getPlayerName(thePlayer) outputChatBox("#a22222[Globa]|#F0E68C"..name..": #ffffff"..message, getRootElement(), 255, 255, 255, true) end addCommandHandler("global", globalMessage) ----------------------------------------------------------------------------------------------------------------------------------------- If I mute someone he dont get mute in global chat. Sorry for my bad eng .
-
How to close ?
-
can you know how to add this 2 the sync ?
-
Hello . I have this Dayz shop:https://community.multitheftauto.com/index.php?p=resources&s=details&id=10869 And this money: savemoney addEventHandler("onPlayerLogin", getRootElement(), function() local account = getPlayerAccount(source) if account then local money = getAccountData(account, "stats.money") setPlayerMoney(source, money) else outputChatBox("You are not login ! (/login)", source, 250, 0, 0, true) end end) addEventHandler("onPlayerQuit", getRootElement(), function() local account = getPlayerAccount(source) if account then local cash = getPlayerMoney(source) setAccountData(account, "stats.money", cash) else outputChatBox("You are not login ! (/login)", source, 250, 0, 0, true) end end) showdolars addEventHandler("onClientResourceStart", resourceRoot, function() end ) addEventHandler("onClientRender", root, function() local cash = getPlayerMoney( getLocalPlayer() ) dxDrawText("Money", 855, 22, 688, 128, tocolor(150, 247, 7, 255), 0.50, "bankgothic", "left", "top", false, false, false, false, false) dxDrawText(""..cash, 920,22,796,123, tocolor(255, 255, 255, 255), 0.50, "bankgothic", "left", "top", false, false, false, false, false) end ) zombiekill addEventHandler( "onZombieGetsKilled", getRootElement(), function( killer ) givePlayerMoney( killer, 10 ); end ) Meta <meta> <info author="Name" type="script" name="Moneyhud" version="1.4.0"/> <script src="showdolars.lua" type="client" /> <script src="zombiekill.lua" /> <script src="savemoney.lua" /> </meta> But do not go together pls somebody can help me ?
-
Hello community ! Someone can help me I don't find MTA DayZ shop system script If you can help someone please help me. Thanks for reading MaNiC
-
Hello! Can someone help me,I need Dayz admin Duty . I searched but i don't find. what I Need? 1,Duty mod just for admins (admin,supermoderator,moderator) 2,blood mod 3,3D text + normal text in chat PLS someone help me
