Jump to content

marty000123

Members
  • Posts

    256
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by marty000123

  1. Hey /me is already existing, and it's a global roleplay fueture. I'm requesting to make /me for LOCAL only, not global. Also /do, local. Example, ''/me pees''. Output (Local): ''#D600FF* pees'' And /do, example: ''/do You would hear a plane crash behind you''. Output (Local): ''#D600FF* You would hear a plane crash behind you ( ).'' I'm not sure if this resource already exists, but I couldn't find it. Marty
  2. addCommandHandler ( "s", function ( thePlayer, _, ... ) if ( isObjectInACLGroup ( "user."..getAccountName(getPlayerAccount(thePlayer)), "Staff" ) ) then for i, p in ipairs ( getElementsByType ( "player" ) ) do if ( isObjectInACLGroup ( "user."..getAccountName(getPlayerAccount(p)) "Staff" ) ) then outputChatBox ( "[staff] ".. getPlayerName ( p ) ..": ".. table.concat({...}, " "), p, 0, 0, 120 ) end end end end ) I tested it and put it in my server.lua, uploaded it, did /s blahblah and it didnt work, nothing happened. Any idea's?
  3. I just discovered that when I'm in the staff team, and I shoot someone with the resource turned off, I also can't damage them. How does that come and how to fix that? Marty
  4. Hey guys I'm looking for a chat where only people from the ACL group ''Staff'' can talk in. They can only use the chat, and they can only read the chat. I'd like to get the command /s (staffchat). The reason is that it's annoying to start up the staff panel and press Admin Chat to talk with staff only. That's why I'm requesting this chat command. Thanks in advance! Marty (Please tell me if it's client sided or server! )
  5. Greetings Anubhav, I don't understand exactly what you mean, but I'll give it a try. If you don't want the ''play'' gamemode, just delete the resource ''play'', the only thing it does is spawn randomly cars everywhere on the map. (When you delete it the gamemode will turn into ''MTA:SA'') To get another gamemode name? You need to do that with a meta.xml file. Example, "Marty" type="gamemode" name="" /> In case you know this already, I'm sorry I didn't understand your question. In that case, please re-phrase your question and I will try to help you. Marty
  6. Thank you very much for your fast response! I edited it a bit to this, setTimer( function() for k,v in ipairs(getElementsByType("player")) do if getTeamName(getPlayerTeam(v)) == "Staff" then setElementHealth(v, getElementHealth(v)+100) end end end, 100, 0) So it's just impossible 100% To be beaten down by zombies. Thanks for your help! Marty
  7. Hey there I'm looking for a script which heals the ''Staff'' team (So who spawned as the team called '' Staff '') every second. Because I have a zombie server, they can get beaten easily while they have godmode. This is the only way to fix it, to just get them healed 100% every second (without messages ) Thans in advance Marty
  8. My old scripter scripted it but he left so yeah..
  9. I see, and I tried it out and it didn't work I think it was just a test thing? Well, may I know your skype ID so I can add you there? We could talk there about this script. Marty
  10. marty000123

    Alliance

    Hey I'm looking for a script with the following features: We got a spawn script which has Town > Category > Class. For example, Military Forces > US Army > Soldier. But for some reason, the US Army always kills the SWAT team.. ( Military Forces > S.W.A.T > S.W.A.T Soldier ) So I am looking for the script which makes players unable to kill SWAT as Army and to kill Army as SWAT. So it's a kinda alliance between Categories. So Military Forces > US Army > .. won't be able to kill Military Forces > US Army > .. and vice versa! ( Category can be seen as Team, so it will be like Town > Team > Class ) Thanks in advance!!! Marty
  11. Thanks me4ever and anubhav, it worked!
  12. All aren't working. I even made a server.lua AND A client.lua and put in both of all of your sent script. Do any of you know why? Marty
  13. Yo I'm searching a script to freeze the time at 22:00. Can anyone help me please? Marty
  14. Hey I got a rule panel here and I want to translate it into russian from english. If there's someone russian, please translate this script into russian. I already have one but google translate doesn't have good grammar. Script: GUIEditor = { window = {}, scrollpane = {}, label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(209, 141, 429, 340, "The Zombie Invasion Rules", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FF07E917") GUIEditor.label[1] = guiCreateLabel(108, 30, 218, 34, "Rules:", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[1], "sa-header") guiLabelSetColor(GUIEditor.label[1], 7, 233, 23) GUIEditor.label[2] = guiCreateLabel(11, 83, 229, 21, "Rule 2: Do not Deathmatch / Teamkill", false, GUIEditor.window[1]) GUIEditor.label[3] = guiCreateLabel(11, 104, 335, 19, "Rule 3: Do not insult anyone! And don't flame/rage/blame!", false, GUIEditor.window[1]) GUIEditor.label[4] = guiCreateLabel(11, 123, 412, 15, "Rule 4: Do not heliblade! Don't spawnkill!", false, GUIEditor.window[1]) GUIEditor.label[5] = guiCreateLabel(11, 143, 413, 15, "Rule 5: Don't beg/ask for Staff!", false, GUIEditor.window[1]) GUIEditor.label[6] = guiCreateLabel(11, 162, 413, 15, "Rule 6: Do not advertise other servers!", false, GUIEditor.window[1]) GUIEditor.label[6] = guiCreateLabel(11, 181, 413, 15, "Rule 7: Army don't kill Squads! Terrorists don't kill Gangs!", false, GUIEditor.window[1]) GUIEditor.label[7] = guiCreateLabel(250, 205, 400, 19, "[Press F2/L To Close this GUI]", false, GUIEditor.window[1]) GUIEditor.label[8] = guiCreateLabel(11, 246, 154, 15, "More Information at:", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[8], 239, 0, 0) GUIEditor.label[9] = guiCreateLabel(11, 265, 202, 15, "http://mtazombieinvasion.enjin.com/", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[9], 239, 0, 0) GUIEditor.label[10] = guiCreateLabel(10, 308, 187, 22, "Made by: Marty.", false, GUIEditor.window[1]) GUIEditor.label[11] = guiCreateLabel(11, 64, 298, 15, "Rule 1: Do not spam nades/grenades, 5sec delay!", false, GUIEditor.window[1]) GUIEditor.label[12] = guiCreateLabel(245, 198, 23, 20, "", false) GUIEditor.label[13] = guiCreateLabel(245, 198, 23, 20, "", false) GUIEditor.label[15] = guiCreateLabel(245, 198, 23, 20, "", false) GUIEditor.label[16] = guiCreateLabel(245, 198, 23, 20, "", false) GUIEditor.label[17] = guiCreateLabel(245, 198, 23, 20, "", false) GUIEditor.label[18] = guiCreateLabel(245, 198, 23, 20, "", false) GUIEditor.scrollpane[1] = guiCreateScrollPane(573, 206, 15, 223, false) GUIEditor.scrollpane[2] = guiCreateScrollPane(573, 206, 15, 223, false) GUIEditor.scrollpane[3] = guiCreateScrollPane(573, 206, 15, 223, false) GUIEditor.scrollpane[4] = guiCreateScrollPane(573, 206, 15, 223, false) GUIEditor.scrollpane[5] = guiCreateScrollPane(573, 206, 15, 223, false) GUIEditor.scrollpane[6] = guiCreateScrollPane(573, 206, 15, 223, false) end ) addEventHandler("onClientRender", root, function() dxDrawText("", 472, 204, 472, 204, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, true, false, false) end ) local function bindKeys() local newVisibleStatus = not guiGetVisible(GUIEditor.window[1]) -- get the opposite of the visibility (if its showing, make it hide) guiSetVisible(GUIEditor.window[1], newVisibleStatus) -- change window visibility state showCursor(newVisibleStatus) -- change cursor visibility state end -- add a bind bindKey( "F2", "down", bindKeys) bindKey( "l", "down", bindKeys) Thanks in advance! Marty
  15. Hey I copied and pasted your script into my script but when I do /staffchat , nothing pops up. I think it's not working. Do you know a fix? Marty
  16. Thanks for responding. I know anti-caps isn't that hard, but I requested ''only players in the ACL group ''Staff'' can be able to use caps/shift''. That's too hard for me and that's why I ask you. I don't get it exactly, sorry I'm not the best scripter you've ever met What do I need to put in that script to make it work? Marty
  17. Hey everyone. Due the fact there aren't alot scripter available for us, we're kindly asking you for help. The things, we are searching: 1: Anti-Caps. Nobody can use shift/caps. If they do, the script will translate the letters into small letters. Only people in the ACL group ''Staff'' can use shift/caps. It will not be translated into small letters by the script. 2: Staff chat. Only people in the ACL group ''Staff'' must be able to use /s(taffchat) [ So the command must be /s to use staffchat ] and they must be the only one who can read it so only people in the ACL group Staff. Nobody else must be able to use /s or to even read it. Thank you very much in advance! Regards, Marty The Zombie Invasion Server Owner.
  18. Hi. I also saw that, but there's been alot more in it. This is my ACL.XML: As you can see, the super moderator isn't filled with all the things which need (I think.) Can I get the whole Super Modertor code? Thanks in advance. Marty. (PS, I'm asking this because since I edited my SupMod, I can't /refresh or /refreshall (as server owner). That's why I need it back freshly.)
  19. Hi. I fock'd up the SuperModerator ACL group (With commands, functions and stuff).. Can I get someone's SuperModerator ACL? (The newest one) Thanks! Regards, Marty.
  20. Hey guys, I want to play music in the server as owner, so everyone in the server will hear it at all time. This is the music.lua: function PlayMusic () local sound = playSound("http://188.138.108.119/yt/a/5a/nightcore_a_love_like_war_mp3_69041.mp3") end addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), PlayMusic) And this is the meta.xml: But it's not working, when I do /reloadall /reload /refresh and /refreshall, and do /start music, nothing starts. No music. Can anyone help me out? Regards, Marty
  21. Hey I'm not very good with scripting.. That's why I ask you. I want a script (downloadable cuz i dont know how to script ) which set turfs in the server. http://cdn.wikimg.net/strategywiki/imag ... xample.jpg Above, I set a link which shows some turfs from GTA SA. I want the same possebility, but only the turf. Not a take-over possebility, not able to spawn there just a turf. Just a random turf when you press F11. I don't want a whole system, just a simple turf Thanks in expection! Marty
  22. Hello Here's my problem.. I can't really script, and I don't know what to do. I need a Car Respawn resource, which respawns ALL VEHICLES [ALL VEHICLES IN-GAME] destroyed or not, with a single command for mods+, like /vhrespawn. They need to return to the place where they'd spawn. I searched for this, but I never found the answer. Greets, Marty
×
×
  • Create New...