07.03.2014, 18:55
you could define the mapname on top of you script
and then set it in OnGamemodeInit
you can use the map name in a string like this
now "string" will hold the defined mapname
btw. you could also load the mapname from somewhere, making it more dynamic
nice!didn't know that myself
pawn Код:
#define mapname SomeAwesomeMap
pawn Код:
SendRconCommand("mapname "mapname"");
pawn Код:
new string[] = mapname;
btw. you could also load the mapname from somewhere, making it more dynamic
Quote: