player side anti wall glitch protection

This commit is contained in:
[VB]AWOL
2013-11-04 08:00:27 -06:00
parent 17b9d94fb5
commit 89a0840b93
6 changed files with 56 additions and 57 deletions

View File

@@ -12,7 +12,7 @@ _this addeventhandler ["Killed",{ _this call vehicle_handleKilled } ];
if (isServer) then {
_this removeAllEventHandlers "GetOut";
_this removeAllEventHandlers "GetIn";
_this addEventHandler ["GetOut", {_this call server_antiWall; [(_this select 0),"all"] call server_updateObject;}];
_this addEventHandler ["GetOut", {[(_this select 0),"all"] call server_updateObject;}];
_this addEventHandler ["GetIn", {[(_this select 0),"all"] call server_updateObject;}];
};