String, please help

Posted By: croman

String, please help - 07/04/08 10:29

Hi,

I don't what's wrong with me but i can't send string to a server... laugh

How to send string from client to server, what function should i use. Please help...

if(connection == 2){
str_cat(plNames1, ", ");
str_cat(plNames1, player_name);
send_string(plNames1);
}

i'm using this now, but i tried alot of "methods"
Posted By: croman

Re: String, please help - 07/04/08 10:50

can anyone please help me quickly?

when host starts plNames is the name of a host, then when client is started he adds his name into that string at that strings contains both of the names on client but that string isn't sent over to host and on host that string still shows only his name...

anyone?
Posted By: fastlane69

Re: String, please help - 07/04/08 10:51

Quote:
can anyone please help me quickly?


Why the rush?
Looks fine to me; the problem must be elsewhere in the entirety of your code.
Posted By: croman

Re: String, please help - 07/04/08 11:00

yeah i found it...it seems that i couldn't send that string but use another string for sending...sorry for not being patient smile
© 2024 lite-C Forums