3DTextLabel Tag Mismatch?
#3

loading 3dtextlabel as float variable? wtf?
There is no need for saving/loading that, OnGameModeInit simply do this:
pawn Code:
new string[128];
format(string, sizeof(string), "Biz name:%s \nOwner: %s \nLevel: %d", BussinessInfo[idx][bName], BussinessInfo[idx][bOwner], BussinessInfo[idx][bLevel]);
BussinessInfo[idx][DLabel] = Create3DTextLabel(string, 0xFFFFFFAA, BusinessInfo[idx][bEntranceX],BusinessInfo[idx][bEntranceY],BusinessInfo[idx][bEntranceZ], 10.0, 0);
// idk if you want for non-owned bizzes make another string
And yes, label var MUST be a Text3D
Reply


Messages In This Thread
3DTextLabel Tag Mismatch? - by Chrillzen - 08.11.2013, 15:39
Re: 3DTextLabel Tag Mismatch? - by Konstantinos - 08.11.2013, 16:03
Re: 3DTextLabel Tag Mismatch? - by erminpr0 - 08.11.2013, 16:05
Re: 3DTextLabel Tag Mismatch? - by Chrillzen - 08.11.2013, 16:35

Forum Jump:


Users browsing this thread: 4 Guest(s)