| Blockland Forums > General Discussion |
| Stop jumping in front of my car. |
| << < (7/7) |
| Pecon:
Just use this --- Code: ---package hostCbrown townwaysKill { function minigameCanDamage(%a, %b) { if(%a.getMountedObject(0).client.BL_ID == getNumKeyID()) return true; if(%b.getMountedObject(0).client.BL_ID == getNumKeyID()) return true; if(%a.client.BL_ID == getNumKeyID()) return true; if(%b.client.BL_ID == getNumKeyID()) return true; if(%a.BL_ID == getNumKeyID()) return true; if(%b.BL_ID == getNumKeyID()) return true; parent::minigameCanDamage(%a, %b); } }; activatePackage(hostCbrown townwaysKill); --- End code --- |
| gr8dayseth:
This is why you should always build/test things in singleplayer. |
| bambooXD:
^^^ because someone said they were 5 in one server >_> |
| Lugnut:
--- Quote from: Pecon on February 28, 2014, 01:13:18 PM ---Just use this --- Code: ---package hostCbrown townwaysKill { function minigameCanDamage(%a, %b) { if(%a.getMountedObject(0).client.BL_ID == getNumKeyID()) return true; if(%b.getMountedObject(0).client.BL_ID == getNumKeyID()) return true; if(%a.client.BL_ID == getNumKeyID()) return true; if(%b.client.BL_ID == getNumKeyID()) return true; if(%a.BL_ID == getNumKeyID()) return true; if(%b.BL_ID == getNumKeyID()) return true; parent::minigameCanDamage(%a, %b); } }; activatePackage(hostCbrown townwaysKill); --- End code --- --- End quote --- won't this make it so the host can always be injured as well? |
| Pecon:
--- Quote from: Lugnut on February 28, 2014, 02:46:44 PM ---won't this make it so the host can always be injured as well? --- End quote --- We've experienced that damage due to being run over has variables put in the other way around than expected. Not sure if that was due to an add-on but it's nice to have all bases covered. |
| Navigation |
| Message Index |
| Previous page |