Dispear
#1

hi guys why my staticpickup disapear when i go closer ?

for(new h = 0; h < sizeof(HouseInfo); h++)
{
if(HouseInfo[h][hOwned] == 0)
{
AddStaticPickup(1273, 2, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]);
pickups++;
}
if(HouseInfo[h][hOwned] == 1)
{
AddStaticPickup(1272, 2, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]);
pickups++;
}
}

i put it on public onpropupdate and ongamemodeinit, ongamemodeinit will not disapear but will not change 1273 to 1272 will stay same pickup id and on onpropupdate will change but will disapear when i will go closer
Reply
#2

Use CreateDynamicPickup();
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)