[Tutorial] simple but useful - adding maps to server
#1

How to add maps to your server
yeh its a noob tutorial insult me i honestly don't care im just helping people

Step 1
just map whatever you want you decide what to map.

Step 2
goto your mta directory normally "C:\Program Files\MTA San Andreas 1.2" then open server > mods > deathmatch > resources > then your map file (in a folder) you need the .map. open it with notepad or any other word editor.

Step 3
goto a map converter, i use delux-host map converter but you could use convertffs i dont know any others, then copy your .map code

Step 4
copy the code (make sure the output is "SA-MP CreateObject change" and "SA-MP AddStaticVehicleEx change" for convertffs and for delux host make sure its "PAWN Code for SA:MP"

Step 5
open pawno.exe and click on the white page (new). goto
pawn Code:
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()
}
delete
pawn Code:
// 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);
then replace that with your map file,


Your done!
Reply
#2

Replace it? Just paste the lines from what you've converted below OnGameModeInit.
Reply
#3

That's it?
Reply
#4

Quote:
Originally Posted by tyler12
View Post
How to add maps to your server
yeh its a noob tutorial insult me i honestly don't care im just helping people

Step 1
just map whatever you want you decide what to map.

Step 2
goto your mta directory normally "C:\Program Files\MTA San Andreas 1.2" then open server > mods > deathmatch > resources > then your map file (in a folder) you need the .map. open it with notepad or any other word editor.

Step 3
goto a map converter, i use delux-host map converter but you could use convertffs i dont know any others, then copy your .map code

Step 4
copy the code (make sure the output is "SA-MP CreateObject change" and "SA-MP AddStaticVehicleEx change" for convertffs and for delux host make sure its "PAWN Code for SA:MP"

Step 5
open pawno.exe and click on the white page (new). goto
pawn Code:
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()
}
delete
pawn Code:
// 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);
then replace that with your map file,


Your done!
My Shortest Version:
Quote:
Originally Posted by ******.com
Deluxe-host Map converter
But thanks, People might get knowledge of Mappping with that Tutorial
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)