Anti Readyroom Crash (1.2)

Post Reply
greenie
Full Member
Full Member
Posts: 1815
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Nu

Anti Readyroom Crash (1.2)

Post by greenie »

/*
* This plugin prevents crashes after a round ended and everyone is sent to readyroom
* Instead of just putting everyone into readyroom it put people in groups of 8 players
* into readyroom (size of group can be changed)
* Also it removes all placed structures in groups (default = group of 32 structures)
*
* v0.1:
* - initial release

*
* v0.3:
* - added:
* - now it removes buildings too
*
* v0.4:
* - changed:
* - code improvements
* - players starting to switch teams after 3.5 secconds
*
* v0.5:
* - changed:
* - initial time for putting everyone to readyroom is now dynamic (depends on defines)
* - code improvements
*
* v0.6:
* - fixed:
* - error with removing entites on 2nd round
* - player was put multiple times to readyroom
* - added:
* - marine items are now removed too (eg: HA, shotgun, ...)
* - changed:
* - RTs are now ignored for removing (should fix problems)
*
* v0.7:
* - fixed:
* - possible error with putting players to readyroom after round started
* - possible error with removing entitys so on new round ents could be deleted
*
* v0.8:
* - added:
* - player joining can now be limited depending on time
*
* v0.9:
* - fixed:
* - bug where plugin would stop working ( thanks -mE- )
* - possible bug with removing entities after new round
* - changed:
* - code to loop through entities ( thanks -mE- )
* - entity remover for combat (in case server is using buildings in combat)
*
* v1.0:
* - fixed:
* - entity remover for combat will not remove armories anymore (buggy)
* - players should now be put to readyroom correctly
*
* v1.1b:
* - fixed:
* - wierd runtime error
* - possible runtime error
*
* v1.2:
* - fixed:
* - preplaced buildings will no longer be removed
*/

#include <amxmodx>
#include <engine>
#include <ns>
get plugin
Post Reply

Return to “Server Management”