Message Callbacks
Possibly a silly question:
Are message callbacks purely called client-side? (Can I only write addmessagecallback("KillAllHumans", KillAllHumans); as a client-side call?)
I'm thinking that it is, but I don't know for sure.
EDIT: Also, how exactly does the clientCmd for client functions work?
Are message callbacks purely called client-side? (Can I only write addmessagecallback("KillAllHumans", KillAllHumans); as a client-side call?)
I'm thinking that it is, but I don't know for sure.
EDIT: Also, how exactly does the clientCmd for client functions work?
Comments
When the server calls commandToClient(clientID, "function", blah...), that client calls the function clientCmdFunction(blah...)
Same for commandToServer and all of the serverCmd... functions, except without the need for the clientID parameter.