01.08.2011, 11:36
Hi Everybody.
I want to make business system with 3dtextlabel i have that business code :
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
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;
}
That 3dlabel show price business name and if it purchased show player name.
If someone can something suggest.
Please suggest

