String / strreplace Problem [URGENT]
#2

you could try it with only

pawn Код:
//sscanf 1
sscanf(sstring, "p,dffffddd", modelid, floatx, floaty, floatz, angle, color1, color2, respawn_delay);
//sscanf 2
sscanf(sstring, "p<,>dffffddd", modelid, floatx, floaty, floatz, angle, color1, color2, respawn_delay);
instead of
pawn Код:
strreplace(",", " ", sstring);
sscanf(sstring, "dffffddd", modelid, floatx, floaty, floatz, angle, color1, color2, respawn_delay);
Reply


Messages In This Thread
String / strreplace Problem [URGENT] - by Kyle - 28.04.2010, 15:17
Re: String / strreplace Problem [URGENT] - by Nero_3D - 28.04.2010, 15:31
Re: String / strreplace Problem [URGENT] - by Kyle - 28.04.2010, 15:52
Re: String / strreplace Problem [URGENT] - by dice7 - 28.04.2010, 15:56
Re: String / strreplace Problem [URGENT] - by Kyle - 28.04.2010, 16:16
Re: String / strreplace Problem [URGENT] - by dice7 - 28.04.2010, 16:22
Re: String / strreplace Problem [URGENT] - by Kyle - 28.04.2010, 16:33
Re: String / strreplace Problem [URGENT] - by MadeMan - 28.04.2010, 18:16

Forum Jump:


Users browsing this thread: 4 Guest(s)