Problem with Create3DTextLabel
#1

Hey, i have this code, but i have 1 problem, when i log in in my server, i can see the Crate3DTextLabel like this: [Venta] ID:%d.... and the sv doesn't show the id number!!!

Quote:

format(string, sizeof(string), "[Venta]\n ID: %d.",HouseInfo[h][hPickupID]);
Create3DTextLabel(string,0x00AE00FF, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+0.75,20.0,0,1);

What's my mistake??
Reply
#2

It shows "[Venta] ID: %d" in game? Try this

Код:
format(string, sizeof(string), "[Venta]\n ID: %i.", HouseInfo[h][hPickupID]);
Create3DTextLabel(string,0x00AE00FF, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+0.75,20.0,0,1);
I doubt that this was the cause but it could be.

Anyways, i = integer, d = decimal, s = string, f = float.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)