24.02.2014, 17:20
Quote:
Well it's pretty easy to make it an include, think of an include as code you simply insert into your gamemode when you use hooking (y_hooks) it's really no different than making a filterscript. The advantage of this is now the gamemode can directly access the include this is where static & stock modifiers are useful.
Everything that won't be used outside of your include should use a static modifier (variables/functions) functions that can be used outside of your include should usually have the stock modifier. You could actually make your system into an include in only a few minutes but keep in mind some functions like IsNumeric() might already be defined. |
I will keep this as a FS for now, though, as I would have to rethink the mechanics on the already scripted actions (which requiere special portions of code). Thanks for the info.