| Blockland Forums > Modification Help |
| 2 Questions. |
| << < (2/2) |
| Randy:
--- Quote from: Space Guy on June 19, 2007, 01:49:05 PM --- --- Code: ---package ScoreCheck { function gameConnection::incScore(%this,%score) { if(%score > 0 && isObject(%this.player)) { %this.player.mountImage(wrenchImage,0); } Parent::incScore(%this,%score); } }[b][color=Red];[/color][/b] activatePackage(ScoreCheck); --- End code --- --- End quote --- This would cause a syntax error; packages need semicolons at the end of the curly brackets. |
| MrPickle:
Randy's a genius. Space is a Genius. Your both Genius's. |
| Navigation |
| Message Index |
| Previous page |