02.03.2011, 19:55
So all I want to do is get some x,y,z coordinates from a table from mysql and use it in a command such as SetPlayerPos(). Right now I'm doing this:
Is there a simpler way of doing this?
pawn Код:
mysql_get_field("x",string); coordx=floatstr(string);
mysql_get_field("y",string); coordy=floatstr(string);
mysql_get_field("z",string); coordz=floatstr(string);
SetPlayerPos(playerid, coordx, coordy, coordz);