check mapflag

serverkid

New member
Messages
48
Points
0
is there a way to check mapflags in script?

like for example, check if map have mapflag pvp or outdoor, etc...

 
*getmapflag("<map name>",<flag>)
 
This command checks the status of a given mapflag and returns the 
mapflag's state. 
0 means OFF, and 1 means ON. See 'setmapflag' for a list of mapflags.

you can always check doc/script_commands.txt
default_smile.png


 
Back
Top