Jump to content

Khtsjefen

Members
  • Posts

    53
  • Joined

  • Last visited

Everything posted by Khtsjefen

  1. Wont work anymore on it, as I have stopped playing MTA. Also, I got a new PC and dont got the files.
  2. Make a script yourself and get a server for some hours here: https://www.serverffs.com/free/
  3. News update: 20.4.2012 - 16:29 GMT+1 Map is done, having slight troubles with the shop. It think I mean to make a variable when I write function shopRPG(source) When I get it working a public test server of the alpha version will come up. Also: any serverside Event that triggers when the resource starts for the client? Will onPlayerJoin work, or will that trigger before teh script is loaded and the text can be outputted to the joining player only.
  4. I am trying at least, better than just complaining.
  5. You can set the image resource as map and everything else as script/gamemode/misc, as maps downloads before the scripts. Then use a timer or so to check every sec maybe if it's done, unless it's a event for that. And kill the timer when it finds out that it's done. Edit: Removed lua. Was never ment to be a copy/paste script, just an idea for how it could be done.
  6. Gamemode: War 1: Introduction 2: Screenshots 3: Making it different from TDM 4: Tactics 5: Tracks/maps 6: Bugtracker 7: Credits 1: Introduction This is gonna be a gamemode simulating somewhat a war. I'm not a experienced scripter so it wont have all elements that makes it a "proper" gamemode if you ask the MTA wiki. 2: Screenshots None so far. 3: Making it different from TDM To do this I am adding a shop, tactics and a possibility to win by others way than killing them all. Killing them all want to anything, actually, just respawn you, with a timer. 4: Tactics I have not yet decided what kind of tactics I want to make possible here. Something like bombs will be in the shop, though. I will also add alternate, and more effective ways to reach the target, witch is the enemy base. 5: Tracks/maps This gamemode wont in the first place support EDF and such. I am not such a good scripter, so in the first place I wont make it, but it may come later. Currently I will script for one map, but I guess it will come more later. 6: Bugtracker [NEW] Being worked on - [WORKING ON] Working on it - [FIXED] Fixed - [CLOSED] Wont be done [FIXED] Mapping. [CLOSED] Basic Interiors. [NEW] Kill Money Scripts. [WORKING ON] Shop [NEW] Tactics system [NEW] Better map support [WORKING ON] Start/end/team system 7: Credits Scripters: Khtsjefen Helpers: None
  7. (Sorry for double post) Should be a way to make the blips show outside map editor too... Any ideas? I have another resource making blips anyway, though that's not attaching it to anything, just spawning them. any ideas?
  8. Make a script loading the xml values and making mysql functions of them.
  9. Khtsjefen

    car mods

    Oposite, I got a LSPD cruiser mod, and I have been on a server with a mod for it. The mod I had was the one I saw, the server one didn't load.
  10. Then I know why it dont work, I am not using freeroam when making it. THough, only one of the tests was in ME (map editor)
  11. Still nop, no blips appear. (last tested in map editor.)
  12. Still no blips No outputs in the console or debugscript either. EDIT: I think I got the solutin - Hold on a moment! :D EDIT: But no
  13. But still not making any blips. Getting bad arguement error at getElementModel.
  14. It's not solved. And I'm currently working on a airport script, and that blip script is for the tower controllers. I will add the id's of the rest of the aircrafts later.
  15. ATC: Air Traffic Controller Anyway, no big reason for it really. Also: Will add more id's when I get the script to work. Possibly I'll upload it on the mantis, along with some small chat scripts.
  16. Still not getting it to work. I will continue tomorrow I guess.
  17. Nop, I want it to make a blip attached to all the aircrafts (I will add all id's when the script works) that is spawned, not just the aircraft I sit in, if that got the correct id. (Maverick in that one) For info: The colshape named ebacol is in the top of the San Fierro Airport Tower, as I am using a mapping I have made there.
  18. SERVER ebacol = createColSphere( -1276.9361572266, 54.15234375, 65.905364990234, 7 ) state = createColPolygon ( 0, 0, -4000, -4000, -4000, 4000, 4000, 4000, 4000, -4000 ) function atcDut(source,command) isittrue = isElementWithinColShape ( source, ebacol ) if (isittrue==true) then local atcvehs = getElementsWithinColShape( state, "vehicle" ) for v,source in ipairs(atcvehs) do vehmod = getElementModel( atcvehs ) if (vehmod==487) then createBlipAttachedTo( atcvehs, 0, 2, 0, 200, 255, 255, 0, 99999, source ) end end outputChatBox("You are now on ATC Duty", source) end end addCommandHandler("atcduty", atcDut) function eatcDut(source,command) isittrue = isElementWithinColShape ( source, ebacol ) if (isittrue==true) then local atcb = getElementsWithinColShape( state, "blips" ) for v,source in ipairs(blips) do destroyElement( atcb ) stopResource ( getResourceFromName("blips") ) startResource ( getResourceFromName("blips") ) end outputChatBox("You are now off ATC Duty", source) end end addCommandHandler("endduty", eatcDut) I dunno what's wrong, but it wont create a blip at the vehicles I ser (maverick only so far in that script, adding more when it work). at /atcduty I get the output at least, but in /endduty nothing happens at all. Getting following: [2012-04-15 17:31:32] WARNING: airport\atcmark.lua:9: Bad argument @ 'getElementModel' [2012-04-15 17:31:37] ERROR: airport\atcmark.lua:23: bad argument #1 to 'ipairs' (table expected, got nil)
  19. Look at the admin tags in the script and copy/paste, if you make it happen right it should do. The admin tags that follow the script I mean. (I think at least owner got a tag )
  20. Khtsjefen

    F1 Menu

    And do /saveconfig after you have done /unbind F1 - Else you may have to do it again if your game crashes or so.
×
×
  • Create New...