15.04.2015, 23:17
You are using CreateDynamicPickup and CreatePickup interchangeably. Try using just one:
pawn Код:
stock LoadHouseVisual(playerid, houseid)
{
DestroyDynamicPickup(HousePickup[playerid]);
if(House[houseid][hOwned] == 0)
{
HousePickup[playerid] = CreateDynamicPickup(1273, 1, House[houseid][ExtPosX], House[houseid][ExtPosY], House[houseid][ExtPosZ], 0, 0);
}
else if(House[houseid][hOwned] == 1)
{
HousePickup[playerid] = CreateDynamicPickup(19522, 1, House[houseid][ExtPosX], House[houseid][ExtPosY], House[houseid][ExtPosZ], 0);
}
return 1;
}