Sign in to follow this  
Xierra

[REL] mabako-services (Patching by XX3)

Recommended Posts

Like in GTA SA, blips only appear if you get near the shop, but strangely, it didn't appear when the full map is shown, unless you get near it. There must be a way somehow...

Share this post


Link to post

You want to edit the weapon's cost?

Go to the resource, and then open maps folder. You can see that there is an "shops.map" in there. Open it with Notepad or Notepad++, which is my personal recommendation.

You can see that there's more than one type of shops. Now look at this one, for example:

Buy this by paying $200 and you'll get 30 rounds of pistol.

You see the 'price="200"' attribute? There you can change the price of that weapon. If I change the price to 500 and the ammo to 60:

Buy this by paying $500 and you'll get 60 rounds of pistol.

There. You can see the price will change. Don't forget to look at other types of ammu-nation to edit it.

Reminder: Don't put ammo on melee weapons.

Hope this helps you out. I've given help as detailed as I can. :)

Share this post


Link to post

Please , do you have a way to show blips in the map (not only if I'm closed to it) !?

Share this post


Link to post

Hmm, I can't mess with the file to make all of those blips appear, but there's a way to widen the radius of the colshape. Take a look.

Open the resource, then get to the client folder. Open interiors.lua

Now search for this part:

markers[num].Col = createColTube ( x, y, z-100, 125, z+100 )

The bold ones is the radius of the colshape. The higher the number, the wider the colshape. The lower, the smaller.

Change the radius of the colshape in any way you want. ;)

Hope this helps you again Yussuf. :)

Share this post


Link to post

Sorry for bumping this, but I want to change the coordinates of the ammunition shops. As in the interior and the arrow outside of the door.

It's because I want to move it to the OpenVice map and the coordinations are completely different, so do I need to change the ammu_peds.lua or more then that to make it work. When I enter one of the open ammunition shops I should get a GUI window that's the idea.

7708f3a9e66af82fdbebc05f2124aca2.png

Share this post


Link to post

I've been out for quite a while, so pardon me if I'm mistaken.

You need to change more than just peds, you also need to change what's inside shops.map and interiors.map to get it done.

You mean you wanted to place markers in OpenVice coordinates? Alright. Here goes nothing...

Before you start, if you're in freeroam, type /gp in chat or console, and you'll get the precise coordinates of where you're standing now. Copy this in the console and you'll get its coordinates.

For the entrance(visible) / exit (invisible) markers, Try getting to the maps folder, and open interiors.map

Inside, try finding "

Share this post


Link to post

I added 1 more ammu-nation on list and removed some weapons from ammu-nation gui, but now, I can't buy anything at any food shop or ammu-nation. I can get inside interior, but when I come to counter, GUI doesn't pop out. Here are my edits of shops.map:

  
    <!-- Ammu-Nation 1 
        - Los Santos, Market 
        - San Fierro, Ocean Flats 
    --> 
    <shop   id="AMMUN1" type="ammu" name="Ammu-Nation"  posX="295"  posY="-38"  posZ="1001.5"   rotation="180"  interior="1"    rows="3"    columns="4"> 
        <!-- Row 1 --> 
        <article    id="COLT45" name="Pistol"           price="200" weaponid="22"   ammo="30"/> 
        <article    id="SILENCED"   name="Silenced Pistol"      price="600" weaponid="23"   ammo="30"/> 
        <article    id="DEAGLE" name="Desert Eagle"     price="1200"    weaponid="24"   ammo="15"/> 
         
        <article    id="PARACHUTE"  name="Parachute"        price="800" weaponid="46"/> 
  
        <!-- Row 2 --> 
        <article    id="SHOTGUN"    name="Shotgun"          price="600" weaponid="25"   ammo="15"/> 
        <article    id="SAWNOFF"    name="Sawn-Off"         price="800" weaponid="26"   ammo="12"/> 
  
        <article    id="RIFLE"  name="Country Rifle"        price="600" weaponid="33"   ammo="20"/> 
        <article    id="SNIPER" name="Sniper Rifle"     price="5000"    weaponid="34"   ammo="10"/> 
         
  
        <!-- Row 3 --> 
        <article    id="TEC9"   name="Tec9"         price="300" weaponid="32"   ammo="60"/> 
        <article    id="MICROUZI"   name="Uzi"          price="500" weaponid="28"   ammo="60"/> 
        <article    id="MP5"    name="MP5"          price="2000"    weaponid="29"   ammo="90"/> 
         
        <article    id="M4"     name="M4"           price="4500"    weaponid="31"   ammo="150"/> 
  
    </shop> 
  
    <!-- Ammu-Nation 2 
        - Red County, Blueberry 
        - Red County, Palomino Creek 
        - Las Venturas, Come-A-Lot 
        - Las Venturas, Old Venturas Strip 
    --> 
    <shop   id="AMMUN2" type="ammu" name="Ammu-Nation"  posX="295.5"    posY="-80"  posZ="1001.5"   rotation="180"  interior="1"    rows="3"    columns="4"> 
        <!-- Row 1 --> 
        <article    id="COLT45" name="Pistol"           price="200" weaponid="22"   ammo="30"/> 
        <article    id="SILENCED"   name="Silenced Pistol"      price="600" weaponid="23"   ammo="30"/> 
        <article    id="DEAGLE" name="Desert Eagle"     price="1200"    weaponid="24"   ammo="15"/> 
         
        <article    id="PARACHUTE"  name="Parachute"        price="800" weaponid="46"/> 
         
        <!-- Row 2 --> 
        <article    id="SHOTGUN"    name="Shotgun"          price="600" weaponid="25"   ammo="15"/> 
        <article    id="SAWNOFF"    name="Sawn-Off"         price="800" weaponid="26"   ammo="12"/> 
         
        <article    id="RIFLE"  name="Country Rifle"        price="600" weaponid="33"   ammo="20"/> 
        <article    id="SNIPER" name="Sniper Rifle"     price="5000"    weaponid="34"   ammo="10"/> 
         
        <!-- Row 3 --> 
        <article    id="TEC9"   name="Tec9"         price="300" weaponid="32"   ammo="60"/> 
        <article    id="MICROUZI"   name="Uzi"          price="500" weaponid="28"   ammo="60"/> 
        <article    id="MP5"    name="MP5"          price="2000"    weaponid="29"   ammo="90"/> 
         
        <article    id="M4"     name="M4"           price="4500"    weaponid="31"   ammo="150"/> 
    </shop>  
  
    <!-- Ammu-Nation 3 
        - Bone County 
        - Bone County, Fort Carson 
        - Whetstone, Angel Pine 
        - Los Santos, Willowfield 
    --> 
    <shop   id="AMMUN3" type="ammu" name="Ammu-Nation"  posX="290"  posY="-109" posZ="1001.5"   rotation="180"  interior="1"    rows="3"    columns="4"> 
        <!-- Row 1 --> 
        <article    id="COLT45" name="Pistol"           price="200" weaponid="22"   ammo="30"/> 
        <article    id="SILENCED"   name="Silenced Pistol"      price="600" weaponid="23"   ammo="30"/> 
        <article    id="DEAGLE" name="Desert Eagle"     price="1200"    weaponid="24"   ammo="15"/> 
         
        <article    id="PARACHUTE"  name="Parachute"        price="800" weaponid="46"/> 
  
        <!-- Row 2 --> 
        <article    id="SHOTGUN"    name="Shotgun"          price="600" weaponid="25"   ammo="15"/> 
        <article    id="SAWNOFF"    name="Sawn-Off"         price="800" weaponid="26"   ammo="12"/> 
         
        <article    id="RIFLE"  name="Country Rifle"        price="600" weaponid="33"   ammo="20"/> 
        <article    id="SNIPER" name="Sniper Rifle"     price="5000"    weaponid="34"   ammo="10"/> 
     
  
        <!-- Row 3 --> 
        <article    id="TEC9"   name="Tec9"         price="300" weaponid="32"   ammo="60"/> 
        <article    id="MICROUZI"   name="Uzi"          price="500" weaponid="28"   ammo="60"/> 
        <article    id="MP5"    name="MP5"          price="2000"    weaponid="29"   ammo="90"/> 
         
        <article    id="M4"     name="M4"           price="4500"    weaponid="31"   ammo="150"/> 
    </shop> 
     
    <!-- Ammu-Nation 4 
        - Los Santos, Mafia Mansion 
        - San Fierro, Mafia Ship 
        - Flint Country, Mafia Base 
    --> 
    <shop   id="AMMUN4" type="ammu" name="Ammu-Nation"  posX="308.2"    posY="-141.1"   posZ="999.6"    rotation="180"  interior="6"    rows="5"    columns="5"> 
        <!-- Row 1 --> 
        <article    id="COLT45" name="Pistol"           price="200" weaponid="22"   ammo="34"/> 
        <article    id="SILENCED"   name="Silenced Pistol"      price="200" weaponid="23"   ammo="34"/> 
        <article    id="DEAGLE" name="Desert Eagle"     price="600" weaponid="24"   ammo="21"/> 
         
        <article    id="IRGOGGLES"  name="Infra Red Googles"        price="500" weaponid="45"/> 
        <article    id="PARACHUTE"  name="Parachute"        price="400" weaponid="46"/> 
  
        <!-- Row 2 --> 
        <article    id="SHOTGUN"    name="Shotgun"          price="500" weaponid="25"   ammo="21"/> 
        <article    id="SAWNOFF"    name="Sawn-Off"         price="400" weaponid="26"   ammo="20"/> 
        <article    id="COMBAT" name="Combat Shotgun"           price="1000"    weaponid="27"   ammo="21"/> 
         
        <article    id="RIFLE"  name="Country Rifle"        price="500" weaponid="33"   ammo="30"/> 
        <article    id="SNIPER" name="Sniper Rifle"     price="3000"    weaponid="34"   ammo="30"/> 
  
        <!-- Row 3 --> 
        <article    id="TEC9"   name="Tec9"         price="200" weaponid="32"   ammo="150"/> 
        <article    id="MICROUZI"   name="Uzi"          price="200" weaponid="28"   ammo="150"/> 
        <article    id="MP5"    name="MP5"          price="1000"    weaponid="29"   ammo="90"/> 
         
        <article    id="M4"     name="M4"           price="2000"    weaponid="31"   ammo="150"/> 
        <article    id="AK47"       name="AK47"         price="2000"    weaponid="30"   ammo="120"/> 
         
        <!-- Row 4 --> 
        <article    id="TEARGAS"    name="Smoke Grenade"            price="500" weaponid="17"   ammo="10"/> 
        <article    id="GRENADE"    name="Hand Grenade"         price="500" weaponid="16"   ammo="10"/> 
        <article    id="SACHTEL"    name="C4"           price="5000"    weaponid="39"   ammo="10"/> 
        <article    id="MOLOTOV"        name="Molotov Coctel"           price="200" weaponid="18"   ammo="10"/> 
         
        <article    id="DETONATOR"      name="C4 Detonator"         price="100" weaponid="40"/> 
    </shop> 
     
    <!-- Row 5 --> 
        <article    id="FLAMETHROWER"   name="Flamethrower"         price="500" weaponid="37"   ammo="1000"/> 
        <article    id="ROCKETLAUNCHER" name="Rocket Launcher"          price="9000"    weaponid="35"   ammo="10"/> 
        <article    id="HEATSEEK"   name="Heat-seeking Rocket Launcher"         price="10000"   weaponid="36"   ammo="10"/> 
        <article    id="MINIGUN"        name="Minigun"          price="20000"   weaponid="38"   ammo="500"/> 
         
        <article    id="BAT"        name="Baseball Bat"         price="50"  weaponid="5"/> 
    </shop> 
     
    <!-- Ammu-Nation 5 
        - Tierra Robada, El Querebados 
    --> 
    <shop   id="AMMUN5" type="ammu" name="Ammu-Nation"  posX="312"  posY="-165.5"   posZ="999.6"    rotation="180"  interior="6"    rows="3"    columns="4"> 
        <!-- Row 1 --> 
        <article    id="COLT45" name="Pistol"           price="200" weaponid="22"   ammo="30"/> 
        <article    id="SILENCED"   name="Silenced Pistol"      price="600" weaponid="23"   ammo="30"/> 
        <article    id="DEAGLE" name="Desert Eagle"     price="1200"    weaponid="24"   ammo="15"/> 
         
        <article    id="PARACHUTE"  name="Parachute"        price="800" weaponid="46"/> 
  
        <!-- Row 2 --> 
        <article    id="SHOTGUN"    name="Shotgun"          price="600" weaponid="25"   ammo="15"/> 
        <article    id="SAWNOFF"    name="Sawn-Off"         price="800" weaponid="26"   ammo="12"/> 
         
        <article    id="RIFLE"  name="Country Rifle"        price="600" weaponid="33"   ammo="20"/> 
        <article    id="SNIPER" name="Sniper Rifle"     price="5000"    weaponid="34"   ammo="10"/> 
  
        <!-- Row 3 --> 
        <article    id="TEC9"   name="Tec9"         price="300" weaponid="32"   ammo="60"/> 
        <article    id="MICROUZI"   name="Uzi"          price="500" weaponid="28"   ammo="60"/> 
        <article    id="MP5"    name="MP5"          price="2000"    weaponid="29"   ammo="90"/> 
         
        <article    id="M4"     name="M4"           price="4500"    weaponid="31"   ammo="150"/> 
    </shop> 
  

And this is only thing I added in interiors.map:

  
    <interior   id="Ammunation4_Out1"   goto="Ammunation4_Int"  posX="177.5"    posY="-1243.2"  posZ="-10.2"    rotation="270"  dimension="0"   todimension="1"     interior="0"    marker="6"  location="Los Santos, Mafia Mansion"/> 
    <interior   id="Ammunation4_Out2"   goto="Ammunation4_Int"  posX="-2441.3"  posY="1550.6"   posZ="1.5"  rotation="180"  dimension="0"   todimension="2"     interior="0"    marker="6"  location="San Fierro, Mafia Ship"/> 
    <interior   id="Ammunation4_Out3"   goto="Ammunation4_Int"  posX="-1056.3"  posY="-757.4"   posZ="33.5" rotation="180"  dimension="0"   todimension="3"     interior="0"    marker="6"  location="Flint Country, Mafia Base"/> 
    <interior   id="Ammunation4_Int"                posX="315.6"    posY="-143.5"   posZ="1000.3"   rotation="0"                        interior="7"    noweapons="1"/> 
  

Share this post


Link to post

help!!!!!!!!!!! how do I open stores??? I have a script loaded on the server and included but he writes to me the message that everything is closed.

Share this post


Link to post

Patched this today, recoded all the script files to utf-8, fixed a small gui bug/warning and edited some text.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.