Using of g_cstrikeRunning
Because I am using a cs:cz server, I often look into t´he smas and find
g_cstrikeRunning = is_running("cstrike") I dont know exactly, but I read somewhere, that you should change it to g_cstrikeRunning = is_running("czero") What exactly is it for and is it enough to search for that definition and change it to czero instead? |
"cstrike","czero" or "dod","ts" are main directories where addons/*.* files (amxx) are.
|
Hmm, misunderstood, I think.
I know the "cstrike" " czero" and so on, but what about if I change it from cstrike to czero, because I have a czero dedi. I made the weaponrestriction work with the change, but I don't exactly know, what it does... (not the rstriction-thing ...) |
It's probably a simple boolean that indicates whether or not that game is running.
i.e. if you are running DoD, it would return false. |
Theres a get_modname, which that compares the string you put in to the string it reutrns, so if the mod you're running is cstrike, and you put cstrike there, then it returns true, otherwise false... It's useful if you want to make a mod-specific feature, while still making it work with outher mods(Messages that would make other mods crash)
|
| All times are GMT -4. The time now is 14:44. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.