diff --git a/src/zr/damagecontrol.inc b/src/zr/damagecontrol.inc index cad3aaf..e6d5774 100644 --- a/src/zr/damagecontrol.inc +++ b/src/zr/damagecontrol.inc @@ -20,7 +20,7 @@ enum ZRHooks Hook_OnTakeDamage } -new gHooks[MAXPLAYERS+1][ZRHooks]; +new gHooks[MAXPLAYERS + 1][ZRHooks]; InitDmgControl() { diff --git a/src/zr/weapons/menu_weapons.inc b/src/zr/weapons/menu_weapons.inc index a529a6e..6891acc 100644 --- a/src/zr/weapons/menu_weapons.inc +++ b/src/zr/weapons/menu_weapons.inc @@ -20,7 +20,7 @@ enum WeaponsMenu /** * Array to store the client's current weapon menu */ -new WeaponsMenu:curMenuWeapons[MAXPLAYERS+1]; +new WeaponsMenu:curMenuWeapons[MAXPLAYERS + 1]; /** * Sends main weapon menu to client. diff --git a/src/zr/weapons/restrict.inc b/src/zr/weapons/restrict.inc index 23240da..807ebf6 100644 --- a/src/zr/weapons/restrict.inc +++ b/src/zr/weapons/restrict.inc @@ -19,7 +19,7 @@ new Handle:kvWeaponGroups = INVALID_HANDLE; /** * Array that stores the "HookID" to be later unhooked on player disconnect. */ -new gCanUseHookID[MAXPLAYERS+1]; +new gCanUseHookID[MAXPLAYERS + 1]; /** * Query results returned when (un)restricting a weapon. diff --git a/src/zr/zadmin.inc b/src/zr/zadmin.inc index a87ea25..1e072de 100644 --- a/src/zr/zadmin.inc +++ b/src/zr/zadmin.inc @@ -7,7 +7,7 @@ */ #include "include/adminmenu.inc" -new curMenuClass[MAXPLAYERS+1]; +new curMenuClass[MAXPLAYERS + 1]; bool:ZRAdminMenu(client) { diff --git a/src/zr/zombiereloaded.inc b/src/zr/zombiereloaded.inc index c094a69..e199c54 100644 --- a/src/zr/zombiereloaded.inc +++ b/src/zr/zombiereloaded.inc @@ -64,34 +64,34 @@ enum ZTeam */ new bool:market; -new dxLevel[MAXPLAYERS+1]; +new dxLevel[MAXPLAYERS + 1]; new bool:zombieSpawned; -new bool:motherZombie[MAXPLAYERS+1]; -new bool:gZombie[MAXPLAYERS+1]; -new bool:gBlockMotherInfect[MAXPLAYERS+1]; -new bool:bZVision[MAXPLAYERS+1]; -//new bool:bZVisionOn[MAXPLAYERS+1]; -//new String:ZVisionOverlay[MAXPLAYERS+1][PLATFORM_MAX_PATH]; -new bool:dispHP[MAXPLAYERS+1]; -new bool:pProtect[MAXPLAYERS+1]; -new bool:gKilledByWorld[MAXPLAYERS+1] = {false, ...}; +new bool:motherZombie[MAXPLAYERS + 1]; +new bool:gZombie[MAXPLAYERS + 1]; +new bool:gBlockMotherInfect[MAXPLAYERS + 1]; +new bool:bZVision[MAXPLAYERS + 1]; +//new bool:bZVisionOn[MAXPLAYERS + 1]; +//new String:ZVisionOverlay[MAXPLAYERS + 1][PLATFORM_MAX_PATH]; +new bool:dispHP[MAXPLAYERS + 1]; +new bool:pProtect[MAXPLAYERS + 1]; +new bool:gKilledByWorld[MAXPLAYERS + 1] = {false, ...}; -new pClass[MAXPLAYERS+1]; -new pNextClass[MAXPLAYERS+1]; +new pClass[MAXPLAYERS + 1]; +new pNextClass[MAXPLAYERS + 1]; -new pTimeLeft[MAXPLAYERS+1]; +new pTimeLeft[MAXPLAYERS + 1]; -new Float:spawnLoc[MAXPLAYERS+1][3]; -new Float:bufferLoc[MAXPLAYERS+1][3]; -new bool:ztele_spawned[MAXPLAYERS+1] = {false, ...}; -new bool:bufferLocSaved[MAXPLAYERS+1] = {false, ...}; -new ztele_countdown[MAXPLAYERS+1] = {-1, ...}; -new ztele_count[MAXPLAYERS+1]; +new Float:spawnLoc[MAXPLAYERS + 1][3]; +new Float:bufferLoc[MAXPLAYERS + 1][3]; +new bool:ztele_spawned[MAXPLAYERS + 1] = {false, ...}; +new bool:bufferLocSaved[MAXPLAYERS + 1] = {false, ...}; +new ztele_countdown[MAXPLAYERS + 1] = {-1, ...}; +new ztele_count[MAXPLAYERS + 1]; new bool:ztele_online = false; new Handle:ztele_startup_timer = INVALID_HANDLE; -new Handle:ztele_countdown_timer[MAXPLAYERS+1] = {INVALID_HANDLE, ...}; -new Handle:ztele_cooldown_timer[MAXPLAYERS+1] = {INVALID_HANDLE, ...}; +new Handle:ztele_countdown_timer[MAXPLAYERS + 1] = {INVALID_HANDLE, ...}; +new Handle:ztele_cooldown_timer[MAXPLAYERS + 1] = {INVALID_HANDLE, ...}; new maxclients; @@ -110,7 +110,7 @@ new Handle:pList = INVALID_HANDLE; #define TRESPAWN 5 #define TZVISION 6 -new Handle:tHandles[MAXPLAYERS+1][MAXTIMERS]; +new Handle:tHandles[MAXPLAYERS + 1][MAXTIMERS]; new QueryCookie:mat_dxlevel;