MySQL - 3D Text Loading from Database!
#2

Code:
enum t_info
{
 Float:posX,
 Float:posY,
 Float:posZ
}
HTML Code:
new Textinfo[t_info];
top ^
pawn Code:
format(query,sizeof(query),"SELECT * FROM `TableNAME` WHERE `gangname`='%s'",SomeTHing);
mysql_query(query);
mysql_store_result();

if(mysql_num_rows())
{
  while(mysql_fetch_row_format(query,"|")
  {
    sscanf(query,"p<|>fff",Textinfo);
    //CReate 3d text with x pos =  ,Textinfo[posX], y pos == Textinfo[posY] , z posTextinfo[posZ]
  }
}
Add this Part where you want to actualy start fetching data and use it
and i hope u will get some idea from this , btw this is a wrong section though
ask in Script Requesting Thread
Reply


Messages In This Thread
MySQL - 3D Text Loading from Database! - by nGen.SoNNy - 14.05.2012, 15:48
Re: MySQL - 3D Text Loading from Database! - by Niko_boy - 14.05.2012, 16:26
Re: MySQL - 3D Text Loading from Database! - by nGen.SoNNy - 15.05.2012, 12:20
Re: MySQL - 3D Text Loading from Database! - by nGen.SoNNy - 15.05.2012, 13:02
Re: MySQL - 3D Text Loading from Database! - by Niko_boy - 15.05.2012, 13:05
Re: MySQL - 3D Text Loading from Database! - by SuperViper - 15.05.2012, 14:20
Re: MySQL - 3D Text Loading from Database! - by nGen.SoNNy - 15.05.2012, 15:47

Forum Jump:


Users browsing this thread: 1 Guest(s)