Jump to content

12p

Members
  • Posts

    2,608
  • Joined

  • Last visited

Everything posted by 12p

  1. Thanks to everyone for supporting. I left this project some time ago, but I'm gonna work on it now to at least end Classic (Free) version =)
  2. But YOU CAN CHOOSE to use that spectating mode, so it won't be annoying. Is player's choice to use or not the FPS mode.
  3. 12p

    Bots

    You don't know anything about MTA. All that can be done by scripting.
  4. nice presentation, a GIF. but next time, on map editor, push F4 and F buttons, then move cursor down. It will show the map without the GUI
  5. 12p

    Radar

    As MetalGear14 said. Just try it before asking us, we have own things to do. Practice makes the master! PS: Actually, Scooby gave you an example -.-
  6. No. This problem happens because people use scripts like this with zombies (of course it's just an idea of which kind of script): addEventHandler("onPlayerDamage",getRootElement(), function (attacker) if attacker and isElement(attacker) then cancelEvent() end end)
  7. My screen resolution is "1280 x 800" and ingame I use "800 x 600" with widescreen mode. Well ok. This suggestion would help a lot while changing between 4:3 and 16:9
  8. C++ Runtime Library error. Maybe reinstalling that library could solve it. EDIT: I see there is something weird. Why is "gta_sa.exe" in MTA folder?
  9. If I'm right, it was used for to save statistics on official MTA servers (Freestate Project, Red VS Blue, etc) on MTA Community page.
  10. I thought you were intelligent enough to notice WHERE TO PUT THE CODE I GAVE YOU in just 30 Minutes. Well, it's SOO simple ... Go to: MTA/server/mods/deathamatch/resources Then add a folder named "antidm", and get inside it. Then, add a file and name it "meta.xml". You must open it and copy this to it: <meta> <info name="Anti Deathmatch" version="1.0" /> <file src="script.lua" /> </meta> OK, now go again to "antidm" folder, add another file, and call it "script.lua". Then add the code I gave you. After all that, you should use "refresh" cmd on the server and then "start antidm" cmd. Then, delete anything you did before about preventing damage. And it should work. For your knowledge, the part you should check is just "Creating a working script", but applying what I told you.
  11. proracer, would be easier if you just tell him to click on the link for createColCuboid, here: createColCuboid
  12. OMG I told you use [lua] tags! -.- Whatever, you should read a scripting manual before scripting. This is not a text book, those "and A_FUNCTION" makes the script go get sintax errors... You must only use "and" with an "if" with 2 conditions. For example: if getLocalPlayer() and getElementType(getLocalPlayer()) == "player" then end AAAAND I see you haven't gave "end" to the "if"s! So the code would be this: TruckerIn = createMarker(1087, 1895, 11, "cylinder", 1.5, 255, 0, 0, 150) function Truckerjob() function TruckerTel(thePlayer) if getElementType ( thePlayer ) == "player" then setElementPosition ( thePlayer 1095, 1880, 11 ) createVehicle ( 432, 1098, 1880, 11 ) --"and" deleted outputChatBox ( "Steig in den LKW!" ) --"and" deleted end --always use "end" to stop the "if" statement! end addEventHandler ("onMarkerHit", TruckerIn, TruckerTel) NewMarker = createMarker ( 2755, -2464, 14 "cylinder", 1.5, 255, 0, 0, 150 ) NewBlip = createBlip ( 2755, -2464, 14, 51, 1, 255, 0, 0, 0, 255 ) function TruckerPoint ( thePlayer ) if getElementType ( thePlayer ) == "player" then givePlayerMoney ( thePlayer, 750 ) outputChatBox ( "Danke für die Lieferung! Dein Lohn: 750$") --"and" out -- This was wrong, it was "outputChatbox", it must contain Capital B. setElementPosition ( thePlayer 197, 1880, 11 ) --"and" out -- This is wrong, it had non-capital "P" end --"end"! end addEventHandler ( "onMarkerHit", NewMarker, TruckerPoint ) end addEventHandler ( "onResourceStart",getResourceRootElemen(), Truckerjob )--What the .... Truckerjob is not a resource, use getResourceRootElement()!
  13. 12p

    Crash help ;(

    http://www.ajaxtrans.com
  14. createColCuboid Use it over all GTA SA map if you want to show GUI on high parts of all SA Map
  15. OMFG. 1. use [ lua ] tags before showing your codes! 2. TruckerIn = createMarker(1087, 1895, 11, "cylinder", 1.5, 255, 0, 0, 150) function TruckerTel(thePlayer) if getElementType(thePlayer) == "player" then setElementPosition(thePlayer 1095, 1880, 11, getRootElement()) createVehicle ( 432, 1098, 1880, 11, getRootElement()) outputChatBox ("Steig in den LKW!", getRootElement()) end end addEventHandler("onMarkerHit", TruckerIn, TruckerTel)
  16. Good map and original idea about starting. But I'm with plantanium -music sucks -.-
  17. https://wiki.multitheftauto.com/wiki/Scripting_Introduction
  18. 12p

    Skin bug.

    I think not, ask GTA creators, not MTA
  19. Have you tried to do what I made in that code I gave to this post? It works perfectly scaled -.- PS: "The Kid" for you, not TheKid
  20. local t = createTeam ("Humans",0,255,0) --Creating team... setTeamFriendlyFire (f,false) --No DM in team... addEventHandler ("onPlayerJoin",getRootElement(), function () setPlayerTeam" class="kw6">setPlayerTeam (source,t) --When a player enters, set his team as the humans one. end) And it will work. PS: Delete the things between setPlayerTeam [1] and [2] and delete one of them. PS2: Fix that bug please!
  21. Because it uses DirectX Drawing and some mathemathical operations on whole DirectX Drawing (position, size, and text scale) like this one for a red, transparent rectangle: local width,lenght = guiGetScreenSize () dxDrawRectangle((622/800)*width, (137/600)*lenght, (137/800)*width, (39/600)*lenght ,tocolor(200,0,0,200),false) I would explain why does it work, but I won't because I'm lazy right now -.- but I will explain it if you ask me, of course
  22. What the hell did you say ? It can't be understood. (Maybe it was a wrong-put comment )
  23. WTF a skin model named "BB"? Sounds like lie but I'll trust that
  24. 12p

    Skin bug.

    Whatever it is, it's a GTA bug, not MTA.
  25. 1,2,3: You mean like a MTA starting wizard? It sounds good. 4: I think isn't necessary, everyone should know how to script those basic things. The more easier ways to do something, the (ehem) more stupid and lazy people. It's like cheating, somebody can use a cheat but it him doesn't know how does it work, him is a noob cheater.
×
×
  • Create New...