[Tutorial] Determining the type of script (FS/GM) using state
#7

Quote:
Originally Posted by _Zume
Посмотреть сообщение
It is very interesting, but one question; What difference has this to #if defined FILTERSCRIPT?
Because it's not using the define to figure out what its being used as.

This script segment can be used in ANY script, and whether it's loaded as a filterscript, or a gamemode, it will pick it up itself as to what it is, no define from the scripter needed.


I'd say that's the difference.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)