Jump to content

Khtsjefen

Members
  • Posts

    53
  • Joined

  • Last visited

Everything posted by Khtsjefen

  1. If you are binding the same command (value/arguements dont matter) to the same key, it will not work. You cant have 2 binds with say blablah If it's 2 different commands, then try to reinstall MTA.
  2. >Make yourself admin >Start the resource "admin" >Open the admin panel, pressing P >Open the resources tab >Press the Manage ACL button >Select the group and click Add Object >Type "user." and hit the ok/save or what the button is named.
  3. Check that the modules are saved properly under: MTA San Andreas 1.3\server\mods\deathmatch\modules If you got linux, use the .so file following in the "modules" folder. If you got windows, use the mta_mysql.dll. If you got windows, you also have to open mtaserver.conf and edit <module src="mta_mysql.so" /> to <module src="mta_mysql.dll" /> so it will load the one that is correct for your OS. If linux, let the mta_mysql.so stay. Also, copy the file libmysql.dll/.so from the server/mods/deathmatch folder to the /server/ folder. NOTICE: KEEP THE FILE IN THE DEATHMACH FOLDER TOO, USE COPY PASTE. At least I would do like that. Also, add <object name="resource.*"></object> in the acl file. Notice: Be aware that the core/base of most of theese scripts are stolen from the Valhalla Gaming MTA Roleplay server, and only small edits are done to them by ShoDown. As a easy rule: Those ending with "-system" are most likely taken from vG.
  4. Khtsjefen

    Advertisements

    The ad should be removed, or moved to another part of teh site at least on teh screenshot pages.
  5. Khtsjefen

    Looking 4

    wrong at so many levels Well, I'm a new scripter Also, second time I use event handler, and the first script is not donw, and is currently not working. (Prices for winning in race gamemode).
  6. Khtsjefen

    Looking 4

    function spawnDaNoobs(source,_) local name = getPlayerName(source) --Get nickname if (name = MyFuckingNiceUsername) then setElementPosition(source, 0, 0, 100) --Spawning xyz, here as a suicide spawn above Blueberry. setElementModel(source, 286) --Setting skin, to the FBI skin. elseif (name = MyFriend) then setElementPosition(source, 0, 0, 5) --Spawning xyz, here at the Blueberry farm. setElementModel(source, 0) --Setting skin, to the CJ skin. else setElementPosition(source, x, y, z) --Edit it. setElementModel(source, skin) --Edit it. end end addEventHandler("onPlayerJoin", getRootElement(), spawnDaNoobs) Not sure, untested.
  7. All vehicles towing eachother is bad, and not properly synced. If I tow one car, then a guy that was outside range when I started comes, he wont see the car I tow. Sadly, but that's how it is. Maybe you could try to make a script attaching the trailers to it, and that rotates them so it looks the same, but syncronized.
  8. See editor_main too, maybe even editor_gui No use for editor_dump and editor_test, they are just normal maps. Or, maybe editor_dump, as I think taht is the map resource it auto saves as when you exit the map editor (may be wrong). And editor_test is what it's saved as when you are testing it (f5/f6 ig).
  9. You have to choose: a) Make a teleport. (easiest) b) Remap it all. (will often be bad, take lots of time, and you will most likely need a teleport anyway to get through some walls or so.
  10. No Problem Remember that do make a Water quadrant you have to add, first, SW, then SE, then NW and finally NE by coordinates. That's why it wasn't working. Okay, the wiki should be a bit more clear on that then.
  11. Finally a place to swim! Ty
  12. Nop Renkon Getting your nice little error. Possibly something wrong with the MTA's water function, or? I have tried .map tags to make it too.
  13. A: Nop, todd. No water, not visible, not invisible. Getting: [2012-04-04 22:19:24] WARNING: [rp]\map-system\custom\young.lua:3: Bad argument @ 'setElementInterior' [2012-04-04 22:19:24] WARNING: [rp]\map-system\custom\young.lua:4: Bad argument @ 'setElementDimension' still. B: The visibillity is no problem, but I am not even getting invisible. I will spawn the water object later. C: Wrote this before Todd's last post: I am not such a good scripter.
  14. I'm trying to add water in an custom interior (it is in an own .map file), but I'm just getting bad argument at setElementDimenstion/Interior. Script is short, tried to add it as a function and so on already. local young = createWater( 267.58340454102, 101.59375, 1026.5515136719, 247.81484985352, 101.0810546875, 1026.5515136719, 247.84414672852, 111.6982421875, 1026.5440673828, 266.61758422852, 111.638671875, 1026.5515136719 ) setElementInterior( young, 6 ) setElementDimension( young, 9 )
  15. function burn(commandName, theSize) if theSize then local x, y, z = getElementPosition(getLocalPlayer()) createFire(x, y, z, theSize) outputChatBox("Burn, buuuuurn >:]") else outputChatBox("Syntax: /fire ") end end addCommandHandler("fire", burn) From the wiki - It makes a fire at your location, so it basicly does the same if nothing else is working for you. Client side only!
  16. Client side (UNTESTED!): function dropbomb(source,command) if (isPedInVehicle(source)) then local x,y,z = getElementPosition(getPedOccupiedVehicle(source)) local model = getElementModel(getPedOccupiedVehicle(source)) if model == 476 then createProjectile ( source, 19, x, y, z-2, 1.0, nil, 180, 0, 0 ) outputChatBox("It's falling!", source ) else outputChatBox("Sorry, Rustler only.", source ) end end end addCommandHandler("bomb",dropbomb) Maybe that will work to make a bomb dropping down, but not sure as I have not tested it. EDIT: Bomb=Rocket Launcher shot going straight downwards, blowing up when it hits, not heat seeking so it will jsut go straight down.
  17. As I posted in an example at the wiki just a moment ago: function deladm (playerSource, commandName, accountName) if accountName then --Make the script able to detect if a user is given. aclGroupRemoveObject (aclGetGroup("Admin"), "user."..accountName) --Removing the admin. outputChatBox ("ACL: Account '"..accountName.."' succesfully removed as admin.", playerSource) -- Giving you a messsage. outputChatBox ("ACL: Someone have removed you as admin.", accountName) -- giving the poor removed guy a message. else --Make the Syntax display. outputChatBox ("ACL: No account name specified.", playerSource) outputChatBox ("ACL: Syntax: /deladmin [accountName]", playerSource) end end addCommandHandler ("deladmin", deladm) I am using it, though at a ACL group with another name. Server side.
  18. You can mantis it, nothing else, also, you can get the XYZ location of the track all around and post that in the mantis report, making it easier for them to fix it in case. I think the MTA team took the track XYZ positions from a mission in single player where that happen, because you are only using LS, and it's custom train traffic.
  19. Solved - Special thanks to Draken & Twisted. To Twisted since he sent me a fixed code over PM, and it worked. To Draken since he tried well, and the code Twisted send looked like it was a bit edited version of yours
  20. Still nothing.. EDIT: Nothing appearing in the debug-box I mean, just a whole lot of stuff for a script I downloaded from the community.
  21. A) Yes, I am on the team called "FBI". B) No, nothing in teh chat, nothing in the console.
  22. Thanks for answering, but none of them worked to me Server side btw, if it's needed for any of you. Continuing to try.
×
×
  • Create New...