Jump to content

Drakath

Members
  • Posts

    768
  • Joined

  • Last visited

Everything posted by Drakath

  1. My zombies has element data "filmbot". My old client-side worked fine. ***** But the server-side doesn't.
  2. Oh, server-side might be fine, but your client-side doesn't work.
  3. Doesn't work, no output: *****
  4. When a zombie is dead of course. But focus on the server-side I posted. For example: ***** None of the outputs outputted.
  5. It must be 'onClientPedWasted' because there are client-side zombies. It worked fine with server-side zombies before... Don't worry about statsup22, it's fine.
  6. ***** It has to be: "triggerEvent("statsup22",killer)" because statsup22 is in serverside. But it still doesn't work.
  7. Add stats. However that isn't the problem. I tried adding 'outputChatBox' in serverside but the message didn't output. No errors.
  8. function load() local kills = getAccountData(getPlayerAccount(source),"kills") if kills then setElementData(source,"Zombie kills",kills) setPlayerAnnounceValue ( source, "Zombie kills", kills ) else setElementData(source,"Zombie kills",0) end end addEventHandler("onPlayerLogin",root,load) Will this work?
  9. Why is the score 0 for all players in game monitor scores? Account data is: 'kills' and Element data is 'Zombie kills'. It works fine in game scoreboard.
  10. Drakath

    Not working

    Thanks and also I tried to make something that won't let use the code twice. function verify (player, thecode) if thecode ~= "used" and thecode == "A4F8G0T1D5XP5" then givePlayerMoney(source, 100) thecode = "used" else outputChatBox("No!", source, 255, 0, 0, true) end end addEvent("checkcode",true) addEventHandler("checkcode",getRootElement(),verify) But it didn't work.
  11. Drakath

    Reload ACL

    Access Denied @ 'aclReload' [string "return aclReload ()"]
  12. Drakath

    Reload ACL

    Add a command 'reloadacl' which can be executed via console. It is useful when adding someone to acl group without entering the Server.
  13. Drakath

    Ports test

    When I enter 'openports' to console it outputs error: "Port testing service unavailable! (28 Error downloading requested files. Timeout was reached. [Operation too slow. Less than 10 bytes/sec transferred the last 15 seconds] [ports/?simple=1&g=22003&a=22126&h=22005])".
  14. Add: "removeAccountData" I could really use this to clean up my database. Required Arguments theAccount: The account from which you want to remove the data. theData: The name of account data. Also it would be nice if you add a new server variable "weburl" so people in server monitoring websites can see the website link of the server.
  15. Drakath

    Source

    function lolz(thePlayer) if spam then outputChatBox("dont spam",thePlayer,255,0,0) return end outputChatBox("works",root,0,255,0) spam = true setTimer(function() spam = false end,30000,1) end addCommandHandler("yup", lolz) How do I make anti-spam function for source ?
  16. Drakath

    ScrollBar

    Is it possible to change the float of ScrollBar from 0 - 100 to 20 - 70 ?
  17. Drakath

    Bugged players

    I heard there is such a bug in MTA, but it happens very often in my Server. Sometimes player gets timed out, but he is still in the Server. He has 0 ping and only kicking him helps. What is causing this problem ?
  18. Drakath

    Binds

    Yeah, seems like it worked. Thanks, ccw.
×
×
  • Create New...