General > Off-Topic

chat.AddText does not work right

<< < (2/4) > >>

DH1806:
Is there a way to send more than one value per net.Start() ? The problem is that the net.ReadInt() function only deals with the bytes so I think there could be sent only one value per net.Start() . I'd like to get the message with 3 values in one line, so that's a problem here. Any ideas how to solve it? Can it even be solved? :D

MrPresident:
You can send more than one value per message. Just use multiple net.WriteInt.

Just keep in mind that on the client side you read them in the same order as they were written.

Later when i get home from work I'll write you an example.

DH1806:
Thanks m8 for your help, i'll try it out tomorrow :)

An Error Has Occurred!

array_keys(): Argument #1 ($array) must be of type array, null given

[0] Board index

Go to full version