Yup, I don't mean to be demeaning if you already know this, but what you posted in the OP is not a "real script." Rather it is a function that needs to be called from another script as an #include or posted above the void main() like GoG did (and then call the function in the script body of the void main() section).
Modifié par _Knightmare_, 03 août 2011 - 10:32 .