Replacing Pickup with Object [I'll REP]
#1

i got this ,
pawn Code:
if(HouseInfo[idx][hSetted] == 1)
            {
                if(HouseInfo[idx][hOwned] == 0)
                {
                    format(PropertyString,sizeof(PropertyString),"\n ID: %d \nPrice: $%d \n Description: %s \n Level Required: %d",HouseInfo[idx][hWorld], HouseInfo[idx][hValue],HouseInfo[idx][hDiscription], HouseInfo[idx][hLevel]);
                    HouseLabel[idx] = Create3DTextLabel(PropertyString ,COLOR_WHITE,HouseInfo[idx][hEntrancex], HouseInfo[idx][hEntrancey], HouseInfo[idx][hEntrancez],25, 0, 1);
                    HousePickup[idx] = CreateDynamicPickup(1273, 1, HouseInfo[idx][hEntrancex], HouseInfo[idx][hEntrancey], HouseInfo[idx][hEntrancez]);
                }
                else
                {
                    format(PropertyString,sizeof(PropertyString),"%s \n Owner: %s \n House ID: %d \n Rent Price: $%d \n Description: %s \n /rentroom",HouseInfo[idx][hMessage],HouseInfo[idx][hOwner],HouseInfo[idx][hWorld], HouseInfo[idx][hRent], HouseInfo[idx][hDiscription]);
                    HouseLabel[idx] = Create3DTextLabel(PropertyString ,COLOR_RED,HouseInfo[idx][hEntrancex], HouseInfo[idx][hEntrancey], HouseInfo[idx][hEntrancez],25, 0, 1);
                    HousePickup[idx] = CreateDynamicPickup(1272, 1, HouseInfo[idx][hEntrancex], HouseInfo[idx][hEntrancey], HouseInfo[idx][hEntrancez]);
                }
            }
    }
    return 1;
}
and i want to replace the Pickup with this object



ID of the object is 19471
Reply


Messages In This Thread
Replacing Pickup with Object [I'll REP] - by Jaber_Brown - 11.08.2012, 17:54
Re: Replacing Pickup with Object [I'll REP] - by Jaber_Brown - 11.08.2012, 18:11
Re: Replacing Pickup with Object [I'll REP] - by Youarex - 11.08.2012, 18:14
Re: Replacing Pickup with Object [I'll REP] - by phillip875 - 11.08.2012, 18:15

Forum Jump:


Users browsing this thread: 1 Guest(s)