| Blockland Forums > Modification Help |
| This event will not show up... |
| << < (2/3) > >> |
| ScratchTehEPICSpaceDude:
Oh god. Never mind. What the hell am I doing wrong? |
| jes00:
--- Quote from: ScratchTehEPICSpaceDude on June 08, 2012, 10:04:28 PM ---Never mind. What am I doing wrong? --- End quote --- Try this: --- Code: ---function GameConnection::ClearAllBricks(%client) { if ( %client.getRawIP() $= "local" || %client.getBLID() == getNumKeyID() ) { serverCmdClearAllBricks( %client ); } } registerOutputEvent(GameConnection, "ClearAllBricks", 0, 1); --- End code --- |
| ScratchTehEPICSpaceDude:
--- Quote from: jes00 on June 09, 2012, 07:45:50 AM ---Try this: --- Code: ---function GameConnection::ClearAllBricks(%client) { if ( %client.getRawIP() $= "local" || %client.getBLID() == getNumKeyID() ) { serverCmdClearAllBricks( %client ); } } registerOutputEvent(GameConnection, "ClearAllBricks", 0, 1); --- End code --- --- End quote --- The event still doesn't show up. |
| jes00:
--- Quote from: ScratchTehEPICSpaceDude on June 09, 2012, 08:03:11 AM ---The event still doesn't show up. --- End quote --- Show up where? in the add on list or in game? |
| ScratchTehEPICSpaceDude:
--- Quote from: jes00 on June 09, 2012, 08:51:55 AM ---Show up where? in the add on list or in game? --- End quote --- Ingame. |
| Navigation |
| Message Index |
| Next page |
| Previous page |