SA-MP Forums Archive
Script + Mapping in one[+1 REP] - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Script + Mapping in one[+1 REP] (/showthread.php?tid=499118)



Script + Mapping in one[+1 REP] - Dawno - 06.03.2014

Good evening gentleman,

I've got a gamemode for my custom mapping, and a script My question is, how do I get them to load in one?
I've tried this at my server.cfg, but it doesn't work :

Код:
echo Executing Server Config...
lanmode 0
rcon_password changeme1
maxplayers 50
port 7777
hostname SA-MP 0.3 Server
gamemode0 vpsscript_nomysql gm_custmapping 2
filterscripts 
announce 1
plugins socket mysql streamer sscanf
query 1
chatlogging 0
weburl www.sa-mp.com
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 0
logtimeformat [%H:%M:%S]



Re: Script + Mapping in one[+1 REP] - YesYesYes - 06.03.2014

This is not how you do it. If you want to add one gamemode to another, make one a filterscript and load it in the other gamemode. I'm on my phone so can't send the code.

Edit: the gamemode line in server.cfg is use to line up GMs for further server restarts, not to combine them.


Re: Script + Mapping in one[+1 REP] - Dawno - 06.03.2014

Quote:
Originally Posted by YesYesYes
Посмотреть сообщение
This is not how you do it. If you want to add one gamemode to another, make one a filterscript and load it in the other gamemode. I'm on my phone so can't send the code.
Thanks mate, I totally forgot it. I'm going to try it out now, but I'm almost 100% sure you are right, when I check it I'll REP you.