This addon temprorary turns off block mode for players appeared at the same location on map at spawn.
Servers running this addon: http://www.game-monitor.com/BlockProtect
Convars:
The following convars are available to customize the plugin:
Plugin version. Don't change this.
war3_blockprotect_version "1.4"
Enabled/Disabled Block Protection functionality.
war3_blockprotect_enabled "1"
How many checks before slaying blocker.
A value of 1 is approximately equal to 1 second. Not recommended to use small values, such as 1, 2 or 3.
0 - Unlimited: Checks will be working until the end of the round.
war3_blockprotect_checking_count "0"
Distance at which a player will be checked nearby.
Info: CSS player standing height: 63, crouched height: 50.
war3_blockprotect_distance "64.0"
Start block checking before end of freeze time.
0 - No: Block check start after 3 second after round start or after mp_freezetime end.
1 - Yes: Block check start immediately after round start.
war3_blockprotect_freezetime "0"
Allow players to use !noblock command.
war3_blockprotect_alllow_command "1"
Hide !noblock command in chat.
war3_blockprotect_hide_command "0"
Natives:
I also added a native interface to enable player block protection from another races / plugins:
/**
* Make player is not solid and start block protection.
*
* @param client: Client index.
* @noreturn
*/
native War3_BlockProtect(client);
Changelist:
1.0
- Initial release.
- Added a native interface.
- Added translations support (also russian translation added).
- Changed default value for convar war3_blockprotect_checking_count (now its '0').
- Removed 'Extended' option from convar 'war3_blockprotect_type' (not needed anymore).
- Some plugin optimizations (for example now used convar hooks).
- Added reading values of variables from cfgs.
- Now when war3_blockprotect_type "0", native War3_BlockProtect will operate as Advanced.
- Removed use War3Source_Interface. Now, this addon can work without War3Source.
- The addon is no longer using phrases for players.
- Natives moved to "W3SIncs/BlockProtect".
- Fixed: for(new i=0; i<MaxClients; i++) => for(new i=1; i<=MaxClients; i++)
- Added !noblock command.







Logged


DarkEnergy