Jump to content

marty000123

Members
  • Posts

    256
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by marty000123

  1. Thanks! Changelog: A few minor updates and fixes + a developer (pro scripter) got hired, meaning that the development will progress faster! We have big plans for the future! Please join our server and enjoy your time, survivor! (NOTE: Every screenshot has been taken ingame, I did not edit/hide/add anything.)
  2. I don't know why but it works, thanks!!!
  3. Thanks for the quick response, but the weather still doesn't change.
  4. weather = {1, 8, 9, 19} function table.random ( theTable ) return theTable[math.random ( #theTable )] end function randomWeather() setTimer ( function() setWeather(table.random(weather)) end, 600000, 0 ) end The weather doesn't change, why?
  5. Thanks for your reply, it fixed the warning. But the message doesn't show up. I made sure the skin ID was indeed 21, but it just doesn't work.
  6. function presidentArrived(thePlayer) local skin = getPlayerSkin(thePlayer) if (skin == 21) then outputChatBox("The President has arrived!", player, 0, 120, 80, false) end end addEventHandler("onPlayerSpawn", getRootElement(), presidentArrived) The point of the script is when the president spawns (he has skin id 21), everyone gets a message saying ''the president has arrived'' This should work, you would think. But it doesn't. Instead, it gives this error: bad argument @ getPlayerSkin, expected element at argument 1 got number 395.28475 and some other weird numbers That's each time when someone spawns, and the number equals the X position of the location where the player spawns. It doesn't make any sense. I tried getPlayerSkin, getElementModel, getPedSkin, different elements, nothing worked. Help please.
  7. Oh damn, didn't know you were creating a big resource. Sweet
  8. Not sure what Nexus is doing, but it's quite easy. marker = createMarker ( x, y, z, "cylinder", size, red, green, blue, alpha ) function fixVehicle() local vehicle = getOccupiedVehicle(source) if vehicle then fixVehicle(vehicle) end end addEventHandler("onMarkerHit", getRootElement(), fixVehicle) This is very basic, but it should work. If it doesn't, then please let me know and I'll fix it for you. Questions? Ask!
  9. lol @ 1: ur english 2: the quote
  10. Thanks mate. The server is in continuous development, meaning the server is never finished. We'll keep updating it!
  11. I'm looking for a scripter to do a few tasks, some big some short. Send me a PM if you're interested. I'm willing to pay.
  12. No, we can't. Not without the script.
  13. Look at it from this perspective: maybe Rockstar actually profits from MTA. People would buy GTA SA specifically for MTA or SAMP, earning them money. Believe it or not, there are still people who actually pay for the game on Steam. And GTA Online doesn't have millions of players ingame, maybe a few 100k's?
  14. The ignorance of some of you guys is absolutely unreal. Do you really think Rockstar isn't aware of SAMP or MTA? Ofcourse it is. But guess what. GTA San Andreas does not have an online option where Rockstar makes money from. Ever heard of GTA Online? It's the official multiplayer mode of GTA V, and it earns money. GTA SA has none, so they don't care as they can't make money off it anyway.
  15. Thanks alot for your help! About question 3, your solution didn't work. Maybe it's because you don't know what's going on. Here's the first part of the script, I hope it helps. function setAdminRanks(theAdmin, cmd, thePlayer, rank) local acc = getAccountName(getPlayerAccount(theAdmin)) local account = getAccountName(getPlayerAccount(thePlayer)) local dev = table.concat({rank}, "dev") local helper = table.concat({rank}, "helper") local moderator = table.concat({rank}, "mod") local admin = table.concat({rank}, "admin") if not isObjectInACLGroup("user."..acc, aclGetGroup("Admin")) then return end if isObjectInACLGroup("user."..acc, aclGetGroup("Administrator")) then if account then if dev then outputChatBox("AdmCmd: You have set "..getPlayerName(p).."'s staff rank to Developer!", theAdmin, 0, 255, 0) aclGroupAddObject (aclGetGroup("Mapper"), "user."..account) aclGroupAddObject (aclGetGroup("Staff"), "user."..account) outputChatBox("AdmCmd: "..getPlayerName(theAdmin).." has set your staff rank to Developer!", thePlayer, 0, 255, 0) I was experimenting with command handlers indeed
  16. A Renegade Network Server ______________________________________ The Zombie Invasion The Zombie Invasion is a Zombie TDM/RPG server. It focusses on only one aspect: making sure the player enjoys his time. The Zombie Invasion is an ongoing project since early 2014, and we've been developing ever since. Our playerbase record is 70 players, reached in 2015. Without furder ado, here are some screenshots. ----------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------- We have alot of beautiful, post-apocalyptic maps in our server. You can roam around the server, and you'll certainly find some great work! We also have alot of things you can do! Kill zombies, earn XP and level up, unlock teams and classes, buy a :~load of guns, kill Nemesis, do side missions, save survivors at the red cross, hunt for supply drops, kill others, run for presidency, make a group and have fun together, donate to get nice extra stuff, buy a Buggy and drop some bombs, and more! You can even be a zombie yourself! Do you want to pay us a visit? We would love to see you in-game! Visit us now at mtasa://92.42.44.53:22133! Join our Discord! http://discord.gg/bEncKkKMYE Join our Website! http://renegadenetwork.net/ See you in the apocalypse! - The Zombie Invasion Staff Team
  17. Hi there, I have 3 questions. 1: What do I exactly put behind the function, what arguments do I use? For example, function HelloWorld() What do I place inbetween the brackets? I've seen people leave it empty, add thePlayer there, sometimes player or source, I get what's the difference but what's the point of adding elements there? 2: What exactly is a boolean? 3: This question is related to a script. function setAdminRanks(theAdmin, cmd, thePlayer, rank) local account = getAccountName(getPlayerAccount(thePlayer)) It gives 2 warnings (which basically :Os up the script) Warning: Bad Argument @ getPlayerAccount [expected element at argument 1, got nil Warning: Bad Argument @ getAccountName [expected account at argument 1, got boolean] Thanks.
  18. I'm not really familiar with gsub, but I don't think that single line removes hex codes.
  19. I get that that's what you're trying to achieve, but what I don't get is the script. Where's the part which is supposed to disable color codes? I fail to see it.
  20. I'm sorry but I fail to see what this has to do with removing color codes.
  21. Oh my god please get out of here...
×
×
  • Create New...