Blockland Forums > Modification Help

Triggering plant errors in script

Pages: (1/3) > >>

Treynolds416:

How do I get a brick plant error to display to a specific client?

Before you ask, I did trace. I found two things: clientCmdServerMessage(22 MsgPlantError_Float) and handlePlantError(same argument)
I tried handlePlantError("22 MsgPlantError_Float") first. It did the right thing, but it sent the plant error to all of the connected clients. I then tried clientCmdServerMessage("22 MsgPlantError_Float") and then commandToClient(%client,"ServerMessage","22 MsgPlantError_Float"), neither did anything that I could see.

Could someone that actually knows about this tell me what to do?

Ipquarx:

Did you do a trace from the server or the client?
This is important.

ninja: also, all clientcmds have to be surrounded in single quotes ('), not double quotes (").

Treynolds416:


--- Quote from: Ipquarx on June 16, 2012, 10:52:27 PM ---Did you do a trace from the server or the client?
This is important.

ninja: also, all clientcmds have to be surrounded in single quotes ('), not double quotes (").

--- End quote ---
Pretty sure it was a trace from the server, I was the host. I will also be using this for a server mod

Ipquarx:


--- Quote from: Treynolds416 on June 16, 2012, 11:00:22 PM ---Pretty sure it was a trace from the server, I was the host. I will also be using this for a server mod

--- End quote ---
Allright, try doing the trace from the client and tell me the results.

Treynolds416:


--- Quote from: Ipquarx on June 16, 2012, 11:01:10 PM ---Allright, try doing the trace from the client and tell me the results.

--- End quote ---
I cannot, on my mobile right now

Pages: (1/3) > >>

Go to full version