Maps -
mortallx - 27.03.2009
Someone can say me how can put maps intro a alerdy gamemode ?
And how can put intro a map more cars ??
Can someone show me some tutorials ??
srry for my english
Thanks
Re: Maps -
Shellegg - 27.03.2009
i didnt get it what you want,
you want to add more cars to your server? and objects?
Re: Maps -
DorkAZoid - 27.03.2009
yes
Using MTA Map Editor
Maybe the best MTA Map Editor It is the best SA:MP Map Editor it is easy to use. Anyways in this topic i will firstly explain how to add objects into your gamemode.
First of all your english was a little hard to read but i finally got it

. First of all after you have made the map with MTA Map Editor goto:
--> C:/program files/MTA San Andreas/mods/map_editor/maps/
Over there. there will be a .map.
Converting Objects
Now you can convert it into SA:MP Code. Click
Here
or:
http://gtamap.delux-host.com/converter/
then you will understand the rest yourself. When it is fully converted, Copy all of the text.
EXAMPLE:
Код:
CreateObject(100,100.0,0.0,1.0,0,0,0);
This isnt a code just an example.
Adding Objects In Your Gamemode
Now copy all of that code and open your gamemode over there you will see this:
Код:
public OnGameModeInit()
{
// Don't use these lines if it's a filterscript
SetGameModeText("Blank Script");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
return 1;
}
public OnGameModeExit()
{
return 1;
}
Now. You must be asking what to do right? add this code:
Код:
public OnGameModeInit()
{
// Don't use these lines if it's a filterscript
SetGameModeText("Stunt Server");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
return 1;
}
public OnGameModeExit()
{
return 1;
}
Under AddPlayerClass add The CreateObjects I Told You (the Ones you copied)
now compile and now the objects will be added!
How To Add Vehicles
Now that, Thats done click at server.cfg and change this:
Код:
gamemode0 (TheNameOfTheScriptYouCompiled) 1
After that run samp-server. Now click at samp and click at the tick after that add this ip:
After that the server will come open it up and find the place where you added your objects
Important Note:
To Add vehicles you need [FS]Debug Mode By Simon
After you have downloaded that
Adding Vehicles
Go to the place you made your objects and add cars doing /v (car name)
and the cars will come sit in all the cars at a time and press /save while sitting inside them. There positions will be saved goto your GTA San Andreas multiplayer directory an you will see savedpositions.txt open it and you will see this type of code:
Copy all of that code and place it here:
Код:
public OnGameModeInit()
{
// Don't use these lines if it's a filterscript
SetGameModeText("Blank Script");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
return 1;
}
public OnGameModeExit()
{
return 1;
}
Paste it under CreateObject And Save And Compile.
Now when you will run your server you will see the cars you added in the map in the same position you saved them!
HOPE THIS SMALL TUTORIAL HELPED U / ALL
~Ali~
Re: Maps -
mortallx - 27.03.2009
So I want to know how to put more cars in GTA map editor
and how to make it no longer defend another clone of cars and car only
The site I gave you the converter goes
Re: Maps -
mortallx - 27.03.2009
i got this PAWN Code of my map made in MTA
CreateObject(8420, 418.640656, 2489.252441, 15.907400, 0.0000, 0.0000, 270.0000);
CreateObject(13641, 305.853546, 2524.802246, 17.046219, 0.0000, 0.0000, 0.0000);
CreateObject(13641, 304.143616, 2480.790771, 17.203619, 0.0000, 0.0000, 0.0000);
CreateObject(1696, 330.757263, 2468.458252, 16.655447, 0.0000, 0.0000, 270.0000);
CreateObject(1632, 149.563232, 2490.140625, 16.559490, 0.0000, 0.0000, 90.0000);
CreateObject(1632, 149.600220, 2494.212646, 16.559490, 0.0000, 0.0000, 90.0000);
CreateObject(18450, 79.200317, 2492.875977, 26.205582, 0.0000, 0.0000, 0.0000);
CreateObject(1245, 48.518173, 2489.534424, 28.036903, 0.0000, 0.0000, 0.0000);
CreateObject(1245, 48.487503, 2492.526611, 28.036903, 0.0000, 0.0000, 0.0000);
CreateObject(1245, 48.549538, 2495.062988, 28.036903, 0.0000, 0.0000, 0.0000);
CreateObject(1245, 48.925949, 2498.161621, 28.036903, 0.0000, 0.0000, 0.0000);
CreateObject(5052, -48.376511, 2491.967529, 32.614914, 0.0000, 0.0000, 90.0000);
CreateObject(1503, -75.634468, 2489.053955, 32.930908, 0.0000, 0.0000, 78.7500);
CreateObject(1503, -75.587227, 2491.375244, 32.930908, 0.0000, 0.0000, 78.7500);
CreateObject(1503, -75.488434, 2493.935547, 32.930908, 0.0000, 0.0000, 78.7500);
CreateObject(13641, 150.963409, 2511.852783, 17.149143, 0.0000, 0.0000, 180.0000);
CreateObject(13641, 63.789612, 2509.015869, 17.203619, 0.0000, 0.0000, 180.0000);
CreateObject(13641, -44.326302, 2511.394775, 17.203619, 0.0000, 0.0000, 180.0000);
CreateObject(8375, 214.245438, 2503.489014, 17.104136, 0.0000, 0.0000, 270.0000);
CreateObject(13593, 247.599960, 2535.605713, 16.522547, 0.0000, 0.0000, 270.0000);
Now what i need to do ?
Re: Maps -
ICECOLDKILLAK8 - 27.03.2009
Put it under OnGameModeInit
Re: Maps -
mortallx - 28.03.2009
Now i have a new problem xD

I need some tutorials because i want to make my own gamemode :P
I translate some gamemodes from this forum and isn't work in my langue
srry for my stupid english
Re: Maps -
DorkAZoid - 02.04.2009
Quote:
Originally Posted by mortallx
Now i have a new problem xD 
I need some tutorials because i want to make my own gamemode :P
I translate some gamemodes from this forum and isn't work in my langue
srry for my stupid english
|
Cant u do anything yourself?

f3allah (or someone)
said to go to the sa:mp wiki you will have all tutorials over there