SA-MP Forums Archive
Icons not showing? plz help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Icons not showing? plz help (/showthread.php?tid=88763)



Icons not showing? plz help - Don_Corello - 28.07.2009

Well, i was just working on a script for a server when all of a suddon the 'i' icons wouldnt appear for the Job Registration here is the code
Код:
for(new h = 0; h < sizeof(SBizzInfo); h++)
	{
		if(SBizzInfo[h][sbOwned] == 0)
		{
			AddStaticPickup(1272, 2, SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ]);
			pickups++;
		}
		if(SBizzInfo[h][sbOwned] == 1)
		{
			AddStaticPickup(1239, 2, SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ]);
			pickups++;
		}
	}
	AddStaticPickup(1239, 2, 1173.2563,-1323.3102,15.3943); //Hospital 1 near Ammu
	AddStaticPickup(1239, 2, 2029.5945,-1404.6426,17.2512); //Hospital 2 near speedway
	AddStaticPickup(1239, 2, 253.9280,69.6094,1003.6406); //Clear icon in Police Station
	AddStaticPickup(1239, 2, 2496.1709,-484.0679,7.0236); //City Hall
	AddStaticPickup(1239, 2, 542.9182,-1778.3986,9.3347); //Yakuza Base
	AddStaticPickup(1239, 2, 1376.6251,242.6240,6.0558); //Detective Registration
	AddStaticPickup(1239, 2, 1442.6002,219.7059,5.7971); //Lawyer Registration
	AddStaticPickup(1239, 2, 2315.8486,-2743.7742,5.0251); //Whore Registration
	AddStaticPickup(1239, 2, 1117.6521,-1530.3931,9.5135); //DrugDealer Registration
	AddStaticPickup(1239, 2, 2199.3828,-2237.0076,6.5385); //CarJacker Registration
	AddStaticPickup(1239, 2, -2050.8962,460.0262,35.1719); //NewsReporter Registration & /paper
	AddStaticPickup(1239, 2, 358.9661,163.0827,1008.3828); //PaperBoy Registration
	AddStaticPickup(1239, 2, 1029.0021,-1790.2236,1.2639); //CarMechanic Registration
	AddStaticPickup(1239, 2, 2266.0623,349.6240,11.8600); //BodyGuard Registration
	AddStaticPickup(1239, 2, 1366.4325,-1275.2096,13.5469); //ArmsDealer Registration
	AddStaticPickup(1239, 2, 966.8885,-1791.9470,7.5452); //CarDealer Registration
	AddStaticPickup(1239, 2, 936.9752,-1228.6437,6.5507); //Boxer Registration
	AddStaticPickup(1239, 2, 1154.2208,-1770.8203,16.5992); //BusDriver Registration
	AddStaticPickup(1239, 2, -77.7288,-1136.3896,1.0781); //Trucker Registration
	AddStaticPickup(1239, 2, 323.0342,1118.5804,1083.8828); //Getting Drugs for DrugDealers
	AddStaticPickup(1239, 2, 1381.0413,-1088.8511,27.3906); //Bill Board (old Job Department)
	AddStaticPickup(1239, 2, 1107.5240,-1180.9402,18.7992); //Materials Package building Pickup
	AddStaticPickup(1239, 2, 2459.4868,-948.5211,80.0824); //Factory Dropoff
	AddStaticPickup(371, 2, 1544.2,-1353.4,329.4); //LS towertop
	AddStaticPickup(371, 2, 1536.0, -1360.0, 1150.0); //LS towertop
	AddStaticPickup(1242, 2, 1527.5,-12.1,1002.0); //binco armor
	AddStaticPickup(1240, 2, 279.3000,1853.5619,8.7649); //area51 health
	AddStaticPickup(1239, 2, -2387.9617,1971.1774,6.3561); //Mayor of BS entrance
	pickups=pickups+30;
	printf("Pickups Max = 100, Current Pickups = %d",pickups);
But the 'i' icons ingame wont appear any idea?