Код:
House_CreateEntrance(HouseID)
{
new msg[128], Float:x, Float:y, Float:z;
x = HInfo[HouseID][HX];
y = HInfo[HouseID][HY];
z = HInfo[HouseID][HZ];
if(HInfo[HouseID][Owned] == true)
{
HInfo[HouseID][PickupID] = CreateDynamicPickup(1272, 1, x, y, z, 0);
format(msg, 128, "Owner: %s[128]", HInfo[HouseID][Owner]);
HInfo[HouseID][DoorText] = CreateDynamic3DTextLabel(msg, GREEN, x, y, z + 1.0, 50.0);
if(ShowBoughtHouses == true) return HInfo[HouseID][MapIconID] = CreateDynamicMapIcon(x, y, z, 32, 0, 0, 0, -1, 150.0);
}
else
{
HInfo[HouseID][PickupID] = CreateDynamicPickup(1273, 1, x, y, z, 0);
format(msg, 128, "For Sale");
HInfo[HouseID][DoorText] = CreateDynamic3DTextLabel(msg, GREEN, x, y, z + 1.0, 50.0);
HInfo[HouseID][MapIconID] = CreateDynamicMapIcon(x, y, z, 31, 0, 0, 0, -1, 150.0);
}
return 1;
}
Код:
HInfo[HouseID][DoorText] = CreateDynamic3DTextLabel(msg, GREEN, x, y, z + 1.0, 50.0);
Код:
HInfo[HouseID][DoorText] = CreateDynamic3DTextLabel(msg, GREEN, x, y, z + 1.0, 50.0);
Why is it doing this to me, i copied from another server code and it works in theirs so why not mine?