[Include] Automatic Anti-CBug / CBug Detector Include
#5

cool.

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
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..
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)