17.04.2014, 04:34
Код:
HousePickup[houseid] = CreatePickup(1273, 23, iconX, iconY, iconZ);//not bought MapIcon[houseid] = CreateDynamicMapIcon(31, Float:iconx, Float:icony, Float:iconz, 31, 0, MAPICON_LOCAL) }
HousePickup[houseid] = CreatePickup(1273, 23, iconX, iconY, iconZ);//not bought MapIcon[houseid] = CreateDynamicMapIcon(31, Float:iconx, Float:icony, Float:iconz, 31, 0, MAPICON_LOCAL) }
MapIcon[houseid] = CreateDynamicMapIcon(31, Float:iconx, Float:icony, Float:iconz, 31, 0, MAPICON_LOCAL) }
Float:iconx, Float:icony, Float:iconz
MapIcon[houseid] = CreateDynamicMapIcon(31, Float:iconx, Float:icony, Float:iconz, 31, 0, MAPICON_LOCAL);
}
MapIcon[houseid] = CreateDynamicMapIcon(31, Float:iconx, Float:icony, Float:iconz, 31, 0, MAPICON_LOCAL);
}
Float:iconx, Float:icony, Float:iconz
rockhopper
If u use this pawn Код:
pawn Код:
|
native CreateDynamicMapIcon(Float:x, Float:y, Float:z, type, color, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 100.0);
MapIcon[houseid] = CreateDynamicMapIcon(iconx, icony, iconz, 31, -1, 0, 0,-1, 100.0);
if(strcmp(hInfo[houseid][Name],"ForSale",true)==0) { HousePickup[houseid] = CreatePickup(1273, 23, iconX, iconY, iconZ);//not bought } else { HousePickup[houseid] = CreatePickup(1272,23, iconX, iconY, iconZ);//bought }