28.04.2010, 15:31
you could try it with only
instead of
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);
pawn Код:
strreplace(",", " ", sstring);
sscanf(sstring, "dffffddd", modelid, floatx, floaty, floatz, angle, color1, color2, respawn_delay);