| Blockland Forums > Modification Help |
| Changing speed, jumping, in player datablocks |
| << < (5/5) |
| Minnax:
asdf function M4A1Image::onMount(%this,%obj,%slot) { Parent::onMount(%this,%obj,%slot); if(%client.player.getDatablock() $= "PlayerStandardArmor") { %obj.pushDatablock(StandardAssaultArmor.getID()); } else if(%client.player.getDatablock() $= "PlayerMW2Armor") { %obj.pushDatablock(MW2AssaultArmor.getID()); } else { %obj.pushDatablock(AssaultArmor.getID()); } } Im sorry, but what is wrong with this. Keep in mind, I'm new to this. |
| Minnax:
Bump. |
| Minnax:
Ok, got it to work, locking. |
| Navigation |
| Message Index |
| Previous page |