Adding custom mapping to server
#2

You can script a maploader and read from file but that is really not needed until you have a lot of objects 10000+.
I would just use y_hooks and keep making a new include for every map.

https://sampforum.blast.hk/showthread.php?tid=166016

Create a new folder in your gamemode folder called maps and put your includes in there then all you need to do is add them to your gamemode script like this.

pawn Код:
#include "maps\map1.pwn"
#include "maps\map2.pwn"
#include "maps\map3.pwn"
#include "maps\map4.pwn"
This is by far the best way to organize your maps if one is a problem all you need to do is comment it out without any other effort which is a good thing.

As for that error you tried to use a function that didn't exist perhaps you didn't load a plugin ?
Reply


Messages In This Thread
Adding custom mapping to server - by eng62ine - 05.09.2013, 23:24
Re: Adding custom mapping to server - by Pottus - 05.09.2013, 23:54
Re: Adding custom mapping to server - by eng62ine - 06.09.2013, 00:10
Re: Adding custom mapping to server - by SeniorGamer - 06.09.2013, 03:34
Re: Adding custom mapping to server - by Pottus - 06.09.2013, 03:42

Forum Jump:


Users browsing this thread: 2 Guest(s)