Few problems, .. please enter -
Jaber_Brown - 07.03.2012
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
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 ?
Re: Few problems, .. please enter -
Campbell- - 07.03.2012
Problem 1:
Float:Z is responsible for the height of your pickup. Therefore you'll have to edit your HouseInfo[h][hEntrancez]. (Wiki:
https://sampwiki.blast.hk/wiki/CreatePickup)
Problem 2:
We won't guess what the problem might be. We'll have to see your script to be able to see what might be wrong.
Re: Few problems, .. please enter -
Jaber_Brown - 07.03.2012
What about the Size ? (Checkpoints )
Re: Few problems, .. please enter -
Campbell- - 07.03.2012
Quote:
Originally Posted by Jaber_Brown
What about the Size ? (Checkpoints )
|
You're just throwing one word into the whole thread without any reason. Describe what you mean.
Re: Few problems, .. please enter -
Jaber_Brown - 07.03.2012
How can i make the checkpoint bigger ?
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]=CreateDynamicCP(HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez], -1, -1, -1, -1, 4.0);
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]=CreateDynamicCP(HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez], -1, -1, -1, -1, 4.0);
pickups++;
}
}