How to add Mappings to SAMP - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How to add Mappings to SAMP (
/showthread.php?tid=549287)
How to add Mappings to SAMP -
Snuuus - 05.12.2014
Hey there guys!
Could someone help me with a few things? If so, thank you so much!
I've just become a mapper on a server but I'm no really sure how to put the mappings into the game!

I got Pawno and he has sent me the gamemode. But I don't know what to write before posting the ObjectCodes (I'm using Map Construction). So if anyone could tell me what I should download (if that's needed) and what "commands" to write in the pawno and so on would be reeeeeally nice! Please help a brother out! ;P (I got the a_mysql aswell)
Re: How to add Mappings to SAMP -
MohanedZzZ - 06.12.2014
Copy your codes and go to OnGameModeInit()
Follow the steps
pawn Код:
public OnGameModeInit()
{
// Objects codes
return 1;
}
Don't use these lines if it's a filterscript if it is a filterscript
then go to
pawn Код:
public OnFilterScriptInit()
and put the codes same as OnGamemodeInit.
Re: How to add Mappings to SAMP -
Abagail - 06.12.2014
Well; for starters if you plan on making a large map; or having a large server, in general you should(in some situations need) have something like the streamer plug-in.
You can add mappings under OnFilterScriptInit, or OnGameModeInit if it's part of a gamemode script. For example,
pawn Код:
public OnFilterScriptInit()
{
CreateObject(...)
return 1;
}
See,
https://sampwiki.blast.hk/wiki/CreateObject