Help With Replacing The Pickups with Checkpoints
#4

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, 100.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, 100.0);
            pickups++;
        }
    }
CreateDynamicPickup(); and CreateDynamicCP(); have different paramters:
pawn Код:
CreateDynamicPickup(modelid, type, Float:x, Float:y, Float:z, worldid = -1, interiorid = -1, playerid = -1, Float:distance = 100.0);
CreateDynamicCP(Float:x, Float:y, Float:z, Float:size, worldid = -1, interiorid = -1, playerid = -1, Float:distance = 100.0);
Reply


Messages In This Thread
Help With Replacing The Pickups with Checkpoints - by Jaber_Brown - 21.01.2012, 17:52
Re : Help With Replacing The Pickups with Checkpoints - by Jaber_Brown - 21.01.2012, 18:58
Re : Help With Replacing The Pickups with Checkpoints - by Jaber_Brown - 21.01.2012, 19:27
AW: Help With Replacing The Pickups with Checkpoints - by Drebin - 21.01.2012, 19:27
Re : Help With Replacing The Pickups with Checkpoints - by Jaber_Brown - 21.01.2012, 19:29
AW: Help With Replacing The Pickups with Checkpoints - by Drebin - 21.01.2012, 19:32

Forum Jump:


Users browsing this thread: 2 Guest(s)