Business
#1

Hi Everybody.

I want to make business system with 3dtextlabel i have that business code :

Код:
forward Payday();
enum bitem
{
	pay,
	bizprice,
	name[128],
	bcash,
	own_name[MAX_PLAYER_NAME]
}

new bussinesDB[500][bitem];

stock CreateBussiness(bpay,bprice,bname[],Float:x,Float:y,Float:z)
{
	new busid = CreatePickupA(1318 , 2,x,y,z);
	bussinesDB[busid][pay]=bpay*4;
	bussinesDB[busid][bizprice]=bprice;
	strmid(bussinesDB[busid][name],bname,0,128,128);
	return busid;
}
This is with no 3dlabel i want to make it with 3dlabel.
That 3dlabel show price business name and if it purchased show player name.

If someone can something suggest.
Please suggest
Reply
#2

Create3DTextLabel
Reply
#3

I know this but how to do it ? with price,name owner...
Reply
#4

pawn Код:
new string[128];
format(string,sizeof(string),"%s\n %d",bname,bprice);//I don't even know \n is work with 3d Text or not
Update3DTextLabelText(Your3DText,color,string);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)