Tactical Weapons Sprinting Issue in a Slayer Minigame only
Issue #33
invalid
Hi, I am Ghille the scripter of the weapons pack Tactical weapons, we have a sprinting system which changes playertype's. In a normal mini game, if the player type is set to no jet player and you switch to the sprinting player by toggling sprint you stay the no jet player. When in a slayer minigame it will switch you back to a jet player, I am not sure if this is a issue to us our towards you, so I decided to send in this bug report. If you need to contact me feel free to email me at Dark55555@ymail.com.
Comments (5)
-
Account Deleted -
repo owner This is a problem with your sprinting system.
This is the problem part:
function M16A3RunningImage::onMount(%this,%obj,%slot) { %obj.client.player.setDataBlock("GunSprintArmor"); %obj.hidenode("RHand"); %obj.hidenode("LHand"); } function M16A3RunningImage::onUnMount(%this,%obj,%slot) { %obj.unhidenode("RHand"); %obj.unhidenode("LHand"); %client = %obj.client; if(!isObject(%client.minigame)) { %client.player.setDataBlock("PlayerStandardArmor"); }else{ %client.player.setdatablock(%client.minigame.playerDatablock); } }
It should be this:
function M16A3RunningImage::onMount(%this,%obj,%slot) { %obj.client.player.tacticalWeapons_lastDatablock = %obj.client.player.getDatablock(); %obj.client.player.setDataBlock("GunSprintArmor"); %obj.hidenode("RHand"); %obj.hidenode("LHand"); } function M16A3RunningImage::onUnMount(%this,%obj,%slot) { %obj.unhidenode("RHand"); %obj.unhidenode("LHand"); %client = %obj.client; if(isObject(%client.player.tacticalWeapons_lastDatablock)) { %client.player.setDataBlock(%client.player.tacticalWeapons_lastDatablock); }else{ %client.player.setDataBlock("PlayerStandardArmor"); } }
You should change this on all your guns.
-
repo owner - changed status to invalid
-
Account Deleted Thanks, will do it right now.
-
repo owner No problem
- Log in to comment
Hi, I got your PM, due to my status on forums, I cannot reply, but yes it is me.