Код:
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(1239, 2, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]);
pickups++;
}
}
for(new h = 0; h < sizeof(BizzInfo); h++)
{
if(BizzInfo[h][bOwned] == 0)
{
AddStaticPickup(1272, 2, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]);
pickups++;
}
if(BizzInfo[h][bOwned] == 1)
{
AddStaticPickup(1239, 2, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]);
pickups++;
}
}
for(new h = 0; h < sizeof(SBizzInfo); h++)
{
if(SBizzInfo[h][sbOwned] == 1)
{
AddStaticPickup(1272, 2, SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ]);
pickups++;
}
if(SBizzInfo[h][sbOwned] == 1)
{
AddStaticPickup(1239, 2, SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ]);
pickups++;
}
}
AddStaticPickup(1239, 2, 1173.2563,-1323.3102,15.3943); //Hospital 1 near Ammu
AddStaticPickup(1239, 2, 2029.5945,-1404.6426,17.2512); //Hospital 2 near speedway
AddStaticPickup(1239, 2, 253.9280,69.6094,1003.6406); //Clear icon in Police Station
AddStaticPickup(1239, 2, 1474.5792,-1360.7715,11.8828); //City Hall
AddStaticPickup(1239, 2, 542.9182,-1778.3986,9.3347); //Yakuza Base
AddStaticPickup(1239, 2, 358.8164,178.7269,1008.3828); //Detective Registration
AddStaticPickup(1239, 2, 362.1583,173.6244,1008.3828); //Lawyer Registration
AddStaticPickup(1239, 2, 1215.1304,-11.8431,1000.9219); //Whore Registration
AddStaticPickup(1239, 2, 2166.3772,-1675.3829,15.0859); //DrugDealer Registration
AddStaticPickup(1239, 2, 1109.3318,-1796.3042,16.5938); //CarJacker Registration
AddStaticPickup(1239, 2, -2050.8962,460.0262,35.1719); //NewsReporter Registration & /paper
AddStaticPickup(1239, 2, 358.9661,163.0827,1008.3828); //PaperBoy Registration
AddStaticPickup(1239, 2, 3-77.2833,-1136.5710,1.0781); //CarMechanic Registration
AddStaticPickup(1239, 2, 358.8742,185.9440,1008.3828); //BodyGuard Registration
AddStaticPickup(1239, 2, 1366.4325,-1275.2096,13.5469); //ArmsDealer Registration
AddStaticPickup(1239, 2, 531.7930,-1292.4044,17.2422); //CarDealer Registration
AddStaticPickup(1239, 2, 766.0804,14.5133,1000.7004); //Boxer Registration
AddStaticPickup(1239, 2, 1154.2208,-1770.8203,16.5992); //BusDriver Registration
AddStaticPickup(1239, 2, -77.7288,-1136.3896,1.0781); //Trucker Registration
AddStaticPickup(1239, 2, 323.0342,1118.5804,1083.8828); //Getting Drugs for DrugDealers
AddStaticPickup(1239, 2, 1381.0413,-1088.8511,27.3906); //Bill Board (old Job Department)
AddStaticPickup(1239, 2, 1107.5240,-1180.9402,18.7992); //Materials Package building Pickup
AddStaticPickup(1239, 2, 2459.4868,-948.5211,80.0824); //Factory Dropoff
AddStaticPickup(371, 2, 1544.2,-1353.4,329.4); //LS towertop
AddStaticPickup(371, 2, 1536.0, -1360.0, 1150.0); //LS towertop
AddStaticPickup(1242, 2, 1527.5,-12.1,1002.0); //binco armor
AddStaticPickup(1240, 2, 279.3000,1853.5619,8.7649); //area51 health
AddStaticPickup(1239, 2, -2387.9617,1971.1774,6.3561); //Mayor of BS entrance
pickups=pickups+30;
printf("Pickups Max = 100, Current Pickups = %d",pickups);
On the top of this.... because if it will not be
wont work.
hey checked the script theirs no #if defined or #defined, it was all working perfectly in the previous hours but im not sure what i added tht could stop them showing
Do you think its possable tht the scriptfiles may of caused this, because if you read the top of the code it loads the propertys etc from scriptfiles
Script Files many not coz any problems but code can...may be you have added the code to read a file and it just doent let the program run after it....if happens sometimes...like when there is a infinit loop or something that is bad string or something like that.