Few problems, .. please enter
#1

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 ?
Reply
#2

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.
Reply
#3

What about the Size ? (Checkpoints )
Reply
#4

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.
Reply
#5

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++;
        }
    }
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)