How to convert house pickups to checkpoints (Only be seen if player is near checkpoint)
#3

If you're not using incognoto's streamer, you might want to start using it.
It's pretty simple, just replace CreatePickup with CreateDynamicCP:
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);
        }
        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], 2, -1, -1,-1, 10);
        pickups++;
    }
You might want to edit checkpoint's stream distance( last parameter )

Incognoto's streamer(Clicky)
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)