Blockland Forums > Modification Help

Triggering plant errors in script

Pages: << < (2/3) > >>

Ipquarx:


--- Quote from: Treynolds416 on June 16, 2012, 11:02:39 PM ---I cannot, on my mobile right now

--- End quote ---
Well then do it when you get on your desktop or laptop or bedtop or whatever your blockland computer is ._.

Greek2me:

Try this:
commandToClient(%client,'ServerMessage','MsgPlantError_Float');

Port:

Try this:
messageClient( %client, 'MsgPlantError_Float' );

Treynolds416:


--- Quote from: Greek2me on June 16, 2012, 11:44:52 PM ---Try this:
commandToClient(%client,'ServerMessage','MsgPlantError_Float');

--- End quote ---

--- Quote from: Port on June 17, 2012, 01:36:43 AM ---Try this:
messageClient( %client, 'MsgPlantError_Float' );

--- End quote ---
Both work fine
I feel like Greek's is better because the server does the actual error stuff, while port's just sends the message without handling.

Port:


--- Quote from: Treynolds416 on June 17, 2012, 08:08:33 AM ---I feel like Greek's is better because the server does the actual error stuff, while port's just sends the message without handling.

--- End quote ---

messageClient( arg0, arg1, ..., argN ) is just an alias for commandToClient( arg0, 'ServerMessage', arg1, ..., argN ) anyway.

Pages: << < (2/3) > >>

Go to full version