shanapu / MyJailbreak

A rewrite of Franugs Special Jailbreak and merge of eccas, ESK0s & zipcores Jailbreak Warden
https://forums.alliedmods.net/showthread.php?t=283212
GNU General Public License v3.0
52 stars 36 forks source link

handcuffs: dont move T through walls #44

Open shanapu opened 8 years ago

shanapu commented 8 years ago

a warden can move a cuffed T through walls

shanapu commented 8 years ago

maybe other soultion with this smlib stock.... https://github.com/shanapu/MyJailbreak/blob/2e412e3a83a1d24e97d920c31212fff18361c8f2/addons/sourcemod/scripting/include/smlib/clients.inc#L2284

shanapu commented 8 years ago

https://github.com/shanapu/MyJailbreak/commit/857cf0429662166a0695891d26102eef573895b4 now it checks the distance to a wall when warden pickup and move a cuffed prisoner. It's not perfect but prevent moving a prisoner into/through walls the most of the time...

shanapu commented 8 years ago

why i closed this...? is bit fixed but not good.

here a bit brainfick https://github.com/TiBarification/Jail-Warden-Pro/issues/14