I want a gui to display the health.
I tried:
SetTextBoxText(3, 0, "Health: %d", health);
but it said "error: undefined symbol" when i tried to save..
what to do?
You'll have to do something like this:
StrFormat (buffer,"Health: %d",health);
SetLabelText (3,0,buffer);
SetLabelText only has those 3 parameters.
SetTextBoxText doesn't support %d-style stuff. You need to do:
string temp;
StrFormat(temp, "Health: %d", health);
SetTextBoxText(3, 0, temp);
Edit: eek, pipped to the post by Vargtass :)
ah thank you!! :)