Maps must be load when gamemode starts, there's the right callback named:
OnGameModeInit()
Here's an example:
Код:
public OnGameModeInit() {
CreateObject(4395, ... , ... , ... , ... );
}
CreateObject is a default SA-MP function (you can found it in #a_samp.inc since all SA-MP versions)
You can use many SA-MP Editors to automatically generate them, or you can do the manual and slow job looking for Object ID and replacing coordinates with /save command results.
I sugged you using SA-MP Map Editor, you can find it on this forum.
Else, there's MTA which gives you .map files. You can convert them on the web, for this i suggest you convertffs.com