Possible ?
#1

Hi all, so today i wanted to know if it's possible to put our mapping in an include, if yes, can you help me please.
Reply
#2

Yeah,
Make a file called mappings.pwn, put it gamemodes folder

include it like this //thanks to Satori_Komeiji I learnt it's possible access it like that <<
#include "../gamemodes/mappings.pwn"

And maybe hook it to gamemodeinit ? make a function and call ? your choice !
Reply
#3

You can also make a filterscript, which can auto update every restart.

Make a filter script, put it under FilterscriptInit and make sure you have it in your server cfg.
Reply
#4

Quote:
in an include
....
Reply
#5

PHP код:
#include "..\lol\shit.exe" 
Reply
#6

More easy.. make 1 script .. and save as it in pawno > includes .. in script.. #include <name> like I saved it as map.. so #include <map>… easy ain't it?
Reply
#7

Quote:
Originally Posted by fuckingcruse
Посмотреть сообщение
More easy.. make 1 script .. and save as it in pawno > includes .. in script.. #include <name> like I saved it as map.. so #include <map>… easy ain't it?
False.
#include <map> , then you would have to put the map in the includes folder and name it as .inc.
Do as those guys above said
#include ../gamemodes/mapname
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)