mysql float
#2

pawn Код:
new Float:X,Float:Y,Float:Z,pname[MAX_PLAYER_NAME];
GetPlayerPos(playerid,X,Y,Z);
GetPlayerName(playerid,pname,sizeof(pname));
format(query,sizeof(query),"UPDATE accounts SET PosX = %f, PosY = %f,PosZ = %f WHERE Name = %s",X,Y,Z,pname);
mysql_query(query);
create this in a timer after they logged in and spawned
Reply


Messages In This Thread
mysql float - by jaskiller - 07.01.2012, 15:17
Re: mysql float - by Tanush123 - 07.01.2012, 15:19
Re : mysql float - by jaskiller - 07.01.2012, 18:33
Re: mysql float - by Vince - 07.01.2012, 19:06
Re : mysql float - by jaskiller - 07.01.2012, 19:23
Re : mysql float - by jaskiller - 07.01.2012, 21:12
Re: mysql float - by Tanush123 - 07.01.2012, 21:26

Forum Jump:


Users browsing this thread: 1 Guest(s)