31.08.2010, 19:54
pawn Код:
new newstr[3][75];
split(string[5], newstr, ",")
//I'd recommend using sscanf but your choice.
//If you want to use sscanf, use the following lines
//Plugin (If you have it): sscanf(string[5], "p<,>fff", X, Y, Z);
//Normal : sscanf(string[5], "p,fff", X, Y, Z);
new Float:X, Float:Y, Float:Z;
X = Floatstr(newstr[0]);
Y = Floatstr(newstr[1]);
Z = Floatstr(newstr[2]);