30.08.2010, 14:35
Is it possible?
if(HouseInfo[h][hOwned] == 0) { Create3DTextLabel("[Property]",0x00AE00FF,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+0.75,20.0,0,1); HouseInfo[h][hPickupID]=CreatePickup(1239, 1, HouseInfo[h] }
stock CreatePickupWith3DText(model, type, Float:X, Float:Y, Float:Z, Virtualworld, text[], color)
{
CreatePickup(model, type, Float:X, Float:Y, Float:Z, Virtualworld);
Create3DTextLabel(text[], color, Float:X, Float:Y, Float:Z+0.75, 0, Virtualworld, 1);
return 1;
}
Here is a small example which you should get a drift from -
Код:
if(HouseInfo[h][hOwned] == 0) { Create3DTextLabel("[Property]",0x00AE00FF,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+0.75,20.0,0,1); HouseInfo[h][hPickupID]=CreatePickup(1239, 1, HouseInfo[h] } |
I made a function:
pawn Код:
|