SA-MP Forums Archive
Little 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)
+--- Thread: Little help (/showthread.php?tid=343347)



Little help - BigBaws - 17.05.2012

this is the error

undefined symbol "InfoBoxForPlayer"


Код:
			GetPlayerPos(i, oldposx, oldposy, oldposz);
			if(oldposx!=0.0 && oldposy!=0.0 && oldposz!=0.0)
			{
				for(new h = 0; h < sizeof(SBizzInfo); h++)
				{
					if(PlayerToPoint(2.0, i, SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ]))
					{
						if(SBizzInfo[h][sbOwned] == 1)
						{
							format(string, sizeof(string), "~w~%s~w~~n~Propriйtaire : %s~n~extorsion Par : %s~n~Frais d'entrйe : ~g~$%d ~n~~w~Pour entrer Tappe : /entrer",SBizzInfo[h][sbMessage],SBizzInfo[h][sbOwner],SBizzInfo[h][sbExtortion],SBizzInfo[h][sbEntranceCost]);
						}
						else
						{
							format(string, sizeof(string), "~w~%s~w~~n~Cette entreprise est a vendre~n~Prix: ~g~$%d ~w~Level : %d ~n~~b~/acheterbiz ~w~pour acheter ce Biz",SBizzInfo[h][sbMessage],SBizzInfo[h][sbBuyPrice],SBizzInfo[h][sbLevelNeeded]);
						}
						InfoBoxForPlayer(i, string);
						SendDebugMessage("CustomPickups, SBizInfo");
					}
				}



Re: Little help - Faisal_khan - 17.05.2012

You don't have the stock for that function. What does it do(InfoBoxForPlayer)? Keep it in mind and try to make a stock for it.


Re : Little help - BigBaws - 19.05.2012

up please any help


Re: Little help - JaKe Elite - 19.05.2012

The above poster already tell you. Don't be lazy to search for function InfoBoxForPlayer


Re : Little help - BigBaws - 19.05.2012

it dont need A stock its like a Textdraw it showing a Box Of information .. and why i be lazy .


Re: Little help - Faisal_khan - 20.05.2012

pawn Код:
stock InfoBoxForPlayer
{
Your td
}
return 0;