Jump to content

tuuker

Members
  • Posts

    11
  • Joined

  • Last visited

Details

  • Gang
    Cripz

tuuker's Achievements

Square

Square (6/54)

0

Reputation

  1. .... Did i say i want to write gamemode? I didnt... I just was wondering where some stuff takes place.... etc...
  2. LOL man ... I didnt say that i dont undestand codes, didnt i? If i wouldnt understand them then i guess i wouldnt ask something like that in my previous replay....
  3. In wiki they dosn't explaining everything good. Example look this: https://wiki.multitheftauto.com/wiki/Writing_Gamemodes I dont understand anything what they speak about that line code: <map> <spawnpoint id="spawnpoint1" posX="1959.5487060547" posY="-1714.4613037109" posZ="877.25219726563" rot="63.350006103516" model="0"/> <pickup id="Armor 1" posX="1911.083984375" posY="-1658.8798828125" posZ="885.40216064453" type="armor" health="50" respawn="60000"/> <flag posX="1959.5487060547" posY="-1714.4613037109" posZ="877.25219726563" team="blue" /> ... </map> Where sould it even take place? Does i need to make some.map file? If i have then how i register it, so server knows that i want to use it? Does i have to add code into meta.xml? After that where will that code goes: -- retrieve a table with all flag elements local flagElements = getElementsByType ( "flag" ) -- loop through them for key, value in pairs(flagElements) do -- get our info local posX = getElementData ( value, "posX" ) local posY = getElementData ( value, "posY" ) local posZ = getElementData ( value, "posZ" ) local team = getElementData ( value, "team" ) -- create an object according to the flag position createObject ( 1337, posX, posY, posZ ) -- output the team that we created a base for outputChatBox ( "Base for team " .. team .. " created" ) end is .map files only for making objects in game or what? if i wanna make pickups, add cars sould i use .map files then?
  4. I really need them... All what i have found has been disabled. Can't find page, etc. Is there anything that works? Mta wiki does not speak everything closely thats why im asking for other tutorials.
  5. I didnt ask to script something for me... I just tought there is some stock command like in SAMP if you run game and do /save then it will make to your Main san andreas folder playerpositsions.txt with saved cordinades. I know the code how to make but i what i don't know is how to get easy cordinades on map... Hmm you said you don't want a script but it is still scripted for you now. You could get this one by visiting https://wiki.multitheftauto.com/wiki/Main_Page. I tought there is some other way... Like in SA-MP, just run ingame and type /save, it will save positsion automatically...
  6. I need get cordinades in san andreas diffrent places for example: i want to make health pickup... So i need cordinades near hospital to create health pickup over there. What im asking is how to i get it? X,Y,Z
  7. I didnt ask to script something for me... I just tought there is some stock command like in SAMP if you run game and do /save then it will make to your Main san andreas folder playerpositsions.txt with saved cordinades. I know the code how to make but i what i don't know is how to get easy cordinades on map...
  8. I need cordinades to add pickups diffrent places not making commands
×
×
  • Create New...