I saw that many people have difficulty with adding maps to their sa-mp server and couldn't find any proper tutorial for this.
This tutorial is meant for people who don't know how to add maps to their server.


What do I need before adding a map? You need a sa-mp server that is working correctly, I'm not going to show this here but you can find other usefull tutorials for this.
Open the folder of your server, go to and open your server's gamemode (NOT the .amx! Example: )
Search now for 'public OnGameModeInit()'

Put the map codes under it, for example this:

Don't forget the 'return 1;', '}' and '{'!
Compile and save your gamemode now.
Start or restart your server, enjoin your maps!

Remember that SA-MP have limits Click here to see them! Also for objects, if you exceed the limit, the player's client might crash or it won't show the exceeded objects!
If you have codes from MTA map editor, you need to convert the codes before putting them in your gamemode! (SA-MP is not the same as MTA)
You can convert the object codes at convertffs.com!


This was my first tutorial, please no stupid comments xD
Tell me if I did something wrong, feedback is always welcome!