Adding 3dtext label
#3

Oh yeah, sorry for missing that out and also the late reply, i posted this last night, here's the load to.

Код:
stock LoadEntrances()
{
	new Str[512], eID, Float:ex, Float:ey, Float:ez, Float:ea, Float:ix, Float:iy, Float:iz, Float:ia, int, vw, i = 1;
	mysql_query("SELECT * FROM `entrances`");
	mysql_store_result();
	if(mysql_num_rows() > 0)
	{
		while(mysql_fetch_row(Str))
		{
			sscanf(Str, "p<|>iffffffffii", eID, ex, ey, ez, ea, ix, iy, iz, ia, int, vw);
			Entrances[i][EntranceID] = eID;
			Entrances[i][eX] = ex;
			Entrances[i][eY] = ey;
			Entrances[i][eZ] = ez;
			Entrances[i][eA] = ea;
			Entrances[i][iX] = ix;
			Entrances[i][iY] = iy;
			Entrances[i][iZ] = iz;
			Entrances[i][iA] = ia;
			Entrances[i][EntranceInt] = int;
			Entrances[i][EntranceWorld] = vw;

			CreatePickup(1239, 1, ex, ey, ez, -1);

			tTotalEntrances++;
			i++;
		}
	}
	mysql_free_result();
	return 1;
}
Reply


Messages In This Thread
Adding 3dtext label - by Stones - 10.02.2017, 19:46
Re: Adding 3dtext label - by Logic_ - 11.02.2017, 05:16
Re: Adding 3dtext label - by Stones - 11.02.2017, 15:32
Re: Adding 3dtext label - by Stones - 11.02.2017, 22:37
Re: Adding 3dtext label - by Logic_ - 12.02.2017, 04:41

Forum Jump:


Users browsing this thread: 1 Guest(s)