17.05.2012, 09:51
this is the error
undefined symbol "InfoBoxForPlayer"
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"); } }