10 May 12, 04:37AM
Use a VARP essentially declares an int that you can change later on ingame. You can use this int later on in your code.
So:
VARP(myvar, minv, defaultv, maxv);
In this case:
VARP(skipnoammo, 0, 1, 1);
however you use the numbers is up to you. You could do:
if (skipnoammo == 1) docode;
Obviously disregarding any syntax errors I made while writing it up.
So:
VARP(myvar, minv, defaultv, maxv);
In this case:
VARP(skipnoammo, 0, 1, 1);
however you use the numbers is up to you. You could do:
if (skipnoammo == 1) docode;
Obviously disregarding any syntax errors I made while writing it up.