23.01.2014, 17:12
cool.
you should do
so people don't need to make any changes in to include to toggle cbugging. just #define blah true/false in their mode.
but then again the whole concept of toggling it is useless..you don't want it? don't use it..
you should do
Code:
#if !defined removeCbugs #define removeCbugs true #endif #if !defined alertCbugs #define alertCbugs true #endif public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ) { #if removeCBugs || alertCBugs if (!IsPlayerInAnyVehicle(playerid)) { //blah #endif
but then again the whole concept of toggling it is useless..you don't want it? don't use it..