karo4e tā , man ir PropertySystem by Sandra un man iekš scriptfiles\PropertySystem ir fails PropertyInfo.txt
kurā man ir visas manas properties ! Un tām koda veids ir sakojoš ( 3 piemeri) :
Four Dragons Casino,2024.56,1007.65,10.81,750000,2500,Nobody,0,0
Come A Lot,2182.12,1115.15,12.35,76855,800,Nobody,0,0
Camels Toe,2208.27,1286.29,10.81,163895,900,Nobody,0,0

2030.5945,997.8455,10.8131,Four dragons Casino,750000,2500
2412.1421,1020.9696,14.2725,Xtreme Mod Garage,200000,750
2177.5625,962.3287,10.8203,Ammunation South LV,125000,700
:)Tb zinu kur to mana , iekš \pawno\include/properties.txt
viesas no šīm rindiņam , bet kuras nezinu :
}
new PropInfo[MAX_PROPERTIES][propinfo];
new PayoutTimer = -1;
new PropertyPayoutFrequency = 60; //Propertyowners will get every 60 seconds money from their properties
new MAX_PROPERTIES_PER_PLAYER = 3;
new PropertyCount;
new PropertyPickup[MAX_PROPERTIES];
new PlayerPropertyCount[MAX_PLAYERS];
new PlayerEarnings[MAX_PLAYERS];
new Text:PropertyText1[MAX_PLAYERS];
new Text:PropertyText2[MAX_PLAYERS];
new IsTextdrawActive[MAX_PLAYERS];
new TextdrawTimer[MAX_PLAYERS];
/*
native AddProperty(const name[], Float:X, Float:Y, Float:Z, price, sell, earning);
native SellPropertyForPlayer(playerid);
native BuyPropertyForPlayer(playerid);
native GetPropertyInfo(propertyID, &Float:X, &Float:Y, &Float:Z, &Price, &SellValue, &Earning);
native GetPropertyName(propertyID);
native GetPropertyOwner(propertyID);
native GetPropertyStatus(propertyID);
native GetPlayerProperties(playerid);
native SetPayoutFrequency(seconds);
native SetMaxPropertiesPerPlayer(amount);
native ToggleProperty(propertyID, toggle);
native ResetPlayerPropertyInfo(playerid);
native LocatePropertyForPlayer(property, playerid);
native OnPropertyPickupPickup(playerid, pickupid);
native DestroyAllPropertyPickups();
native UsePropertyTextdraw(toggle);
native SetPropertyPrice(propertyID, price);
native SetPropertySellValue(propertyID, value);
native SetPropertyEarning(propertyID, earning);
native DoesPropertyExists(propertyID);
native IsPlayerNearProperty(playerid);
native SaveProperty(propertyID, const comment[]);
*/
stock AddProperty(const name[], Float:X, Float:Y, Float:Z, price, sell, earning)
{


}
PropInfo[ID][PropExists] = 1;
PropInfo[ID][PropIsEnabled] = 1;
format(PropInfo[ID][PropName], 60, "%s", name);
PropInfo[ID][PropX] = X;
PropInfo[ID][PropY] = Y;
PropInfo[ID][PropZ] = Z;
PropInfo[ID][PropPrice] = price;
PropInfo[ID][PropSell] = sell;
PropInfo[ID][PropEarning] = earning;
PropInfo[ID][PropOwner] = -1;
PropertyPickup[ID] = CreatePickup(1273, 1, X, Y, Z);
return ID;
}
P.s palidzat
