07.03.2012, 16:32
Well, i added Pickup id 1559 (Enter/exit Diamon) but it like stick on the ground, how can i make it a bit higher
here's my code
-----------------------------------------------------------------------------------------------------
2th Problem,
When i buy enter an int the gamemode stops responding for like 15 seconds, how can i fix that ?
here's my code
pawn Код:
for(new h = 0; h < sizeof(HouseInfo); h++)
{
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(1559, 3, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]);
pickups++;
}
if(HouseInfo[h][hOwned] == 1)
{
Create3DTextLabel("[Property]",0x00AE00FF,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+0.75,20.0,0,1);
HouseInfo[h][hPickupID]=CreatePickup(1559, 3, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]);
pickups++;
}
}
2th Problem,
When i buy enter an int the gamemode stops responding for like 15 seconds, how can i fix that ?