What fuckup? something is really fucked, i just removed like 2 pickups and 3 3dtextlabels and this happened.. i got no backup nor idea how to fix this
|
kevin removing label and pickup functions you removed a '{' or a '}', just take your gamemode with things you deleted and delet again them making sure to dont remove any stock.
|
stock LoadPickups()
{
Create3DTextLabel(".", COLOR_RED, 1031.6764,-1442.6636,13.5546, 15, 0, 1);
// Fixing pickups, 1st one doesn't show for some reason
new string[128];
// Dealership's Pickups
CreatePickup(1239, 1, 545.6661,-1292.2437,17.2422); // Dealership
Create3DTextLabel("Grotti's Vehicles Dealership\nUse {01A9DB}/buycar{FFFFFF} to buy a vehicle", COLOR_WHITE, 545.6661,-1292.2437,17.2422, 15, 0, 1);
// Drugs Pickups
CreatePickup(1279, 1, 323.0012,1118.5720,1083.8828); // Actual Seed Pickup
format(string, sizeof(string), "Seed Pickup\n{01A9DB}/buyseed {FFFFFF}to get seed\nAvailable Stock: {01A9DB}%d{FFFFFF}/{01A9DB}2000", Seed);
SeedsText = CreateDynamic3DTextLabel(string, COLOR_WHITE, 323.0012,1118.5720,1083.8828, 15);
CreatePickup(1279, 1, 2345.3992,-1185.6423,1027.9766); // Actual cocaine Pickup
format(string, sizeof(string), "Cocaine Pickup\n{01A9DB}/buycocaine {FFFFFF}to get cocaine\nAvailable Stock: {01A9DB}%d{FFFFFF}/{01A9DB}2000", cocaine);
cocaineText = CreateDynamic3DTextLabel(string, COLOR_WHITE, 2345.3992,-1185.6423,1027.9766, 15);
// Interiors Pickups
CreatePickup(1239, 1, 757.1003,5.9849,1000.7007, 1); // Gym Training
Create3DTextLabel("Fighting Styles\n{01A9DB}/train {FFFFFF}to change your fighting style", COLOR_WHITE, 757.1003,5.9849,1000.7007, 15, 1, 1);
CreatePickup(1239, 1, -1689.6455,1037.2737,45.2109, 0); // Crates packages
Create3DTextLabel("Crates Packages\n{01A9DB}/getcrate {FFFFFF}to get a package", COLOR_WHITE, -1689.6455,1037.2737,45.2109, 15, 0, 1);
// Get License
CreatePickup(1581, 1, 1959.3208,-1129.9222,987.5298, 0); // Crates packages
Create3DTextLabel("Department Motor Of Vehicles\n{01A9DB}/getlicense {FFFFFF}to get a license", COLOR_WHITE, 1959.3208,-1129.9222,987.5298, 15, 0, 1);
//Cityhall Options
CreatePickup(1239, 1, 361.8711,173.8035,1008.3828); // SERVICES
Create3DTextLabel("{FF6347}{FF6347}Name Service: {00FF00}/namechange\n{FF6347}Gender Service: {00FF00}/sexchange\n{FF6347}Age Service: {00FF00}/agechange\n{FF6347}Phone Service: {00FF00}/phchange", COLOR_LIGHTRED, 361.8711,173.8035,1008.3828+0.7, 15, 0, 1);
// Entrance
DOCPickup = CreatePickup(1239, 1, 806.7476,-2431.9968,14.0009); // NG
BUYPickup = CreatePickup(1239, 1, -1558.5209,-2723.1025,48.7435); // BuyProduct
WithdrawPickup = CreatePickup(1239, 1, -1772.3883,1011.3082,97.8391); // Withdraw Icon
DepositPickup = CreatePickup(1239, 1, 1772.6588,1014.2200,97.8236); // Deposit Icon
VIPPickup = CreatePickup(1239, 1, 1831.0460,-1075.4194,23.8367); // VIP
CityHallPickup = CreatePickup(1239, 1, 1480.9678,-1771.8704,18.7958); // CityHall
GymPickup = CreatePickup(1239, 1, 2229.9487,-1721.3040,13.5618); // Gym
DrugPickup = CreatePickup(1239, 1, 2165.9492,-1671.1947,15.0732); // Seeds House
cocainePickup = CreatePickup(1239, 1, 2351.9326,-1170.6655,28.0747); // Cocaine Lab
FactoryPickup = CreatePickup(1239, 1, 65.4823,-292.5736,1.5781); // Factory Pickup
DMVPickup = CreatePickup(1239, 1, 2045.6598,-1908.0221,13.5469); // DMV Pickup
SaintsPickup = CreatePickup(1239, 1, 1172.4875,-1323.2266,15.4027); // All Saints Pickup
BankPickup = CreatePickup(1239, 1, 1462.4424,-1011.7301,26.8438); // Bank Pickup
Create3DTextLabel("{FFFFFF}City Hall", COLOR_YELLOW, 1480.9678,-1771.8704,18.7958, 15, 0, 1);
Create3DTextLabel("{FFFFFF}San Andreas Prison", COLOR_YELLOW, 806.7476,-2431.9968,14.0009, 15, 0, 1);
Create3DTextLabel("{FFFFFF}Product Company", COLOR_YELLOW, -1558.5209,-2723.1025,48.7435, 15, 0, 1);
Create3DTextLabel("VIP Lounge", COLOR_VIP, 1831.0460,-1075.4194,23.8367, 15, 0, 1);
Create3DTextLabel("{FFFFFF}Ganton Gym", COLOR_YELLOW, 2229.9487,-1721.3040,13.5618, 15, 0, 1);
Create3DTextLabel("{FFFFFF}Seeds House", COLOR_YELLOW, 2165.9492,-1671.1947,15.0732, 15, 0, 1);
Create3DTextLabel("{FFFFFF}Cocaine Lab", COLOR_YELLOW, 2351.9326,-1170.6655,28.0747, 15, 0, 1);
Create3DTextLabel("{FFFFFF}Drug Factory", COLOR_YELLOW, 65.4823,-292.5736,1.5781, 15, 0, 1);
Create3DTextLabel("{FFFFFF}Department Motor Of Vehicles", COLOR_YELLOW, 2045.6598,-1908.0221,13.5469, 15, 0, 1);
Create3DTextLabel("{FFFFFF}All Saints General Hospital", COLOR_YELLOW, 1172.4875,-1323.2266,15.4027, 15, 0, 1);
Create3DTextLabel("{FFFFFF}Bank", COLOR_YELLOW, 1462.4424,-1011.7301,26.8438, 15, 0, 1);
// Products Pickup 1
CreatePickup(1279, 1, -63.0331,-1121.3658,1.1607); // Products Pickup 1
Create3DTextLabel("Products Pickup\n{01A9DB}/load {FFFFFF}to get some products", COLOR_WHITE, -63.0331,-1121.3658,1.1607+0.9, 30, 0, 1);
// Products Pickup 2
CreatePickup(1279, 1, -60.0844,-1112.7158,1.1274); // Products Pickup 2
Create3DTextLabel("Products Pickup\n{01A9DB}/load {FFFFFF}to get some products", COLOR_WHITE, -60.0844,-1112.7158,1.1274+0.9, 30, 0, 1);
// Jobs
CreatePickup(1239, 1, -76.8260,-1136.7341,1.0781); // Trucker Job
Create3DTextLabel("{FFFFFF}Job Place\n{FFFF00}Trucker\n{FFFFFF}Type {FFFF00}/join {FFFFFF}to get that job", COLOR_WHITE, -76.8260,-1136.7341,1.0781+0.5, 30, 0, 1);
CreatePickup(1239, 1, 2227.9976,-1718.2604,13.5321); // Bodyguard Job
Create3DTextLabel("{FFFFFF}Job Place\n{FFFF00}Bodyguard\n{FFFFFF}Type {FFFF00}/join {FFFFFF}to get that job", COLOR_WHITE, 2227.9976,-1718.2604,13.5321+0.5, 15, 0, 1);
CreatePickup(1239, 1, 2330.0693,-2315.4709,13.5469); // Mechanic Job
Create3DTextLabel("{FFFFFF}Job Place\n{FFFF00}Mechanic\n{FFFFFF}Type {FFFF00}/join {FFFFFF}to get that job", COLOR_WHITE, 2330.0693,-2315.4709,13.5469+0.5, 15, 0, 1);
CreatePickup(1239, 1, 1380.8300,-1088.7698,27.3844); // Lawyer Job
Create3DTextLabel("{FFFFFF}Job Place\n{FFFF00}Lawyer\n{FFFFFF}Type {FFFF00}/join {FFFFFF}to get that job", COLOR_WHITE, 1380.8300,-1088.7698,27.3844+0.5, 15, 0, 1);
CreatePickup(1239, 1, 2178.5518,-1660.4418,14.9644); // Drugs Dealer Job
Create3DTextLabel("{FFFFFF}Job Place\n{FFFF00}Drugs Dealer\n{FFFFFF}Type {FFFF00}/join {FFFFFF}to get that job", COLOR_WHITE, 2178.5518,-1660.4418,14.9644+0.5, 15, 0, 1);
CreatePickup(1239, 1, 2354.7354,-1170.1056,28.0475); // Drugs Smuggler Job
Create3DTextLabel("{FFFFFF}Job Place\n{FFFF00}Drugs Smuggler\n{FFFFFF}Type {FFFF00}/join {FFFFFF}to get that job", COLOR_WHITE, 2354.7354,-1170.1056,28.0475+0.5, 15, 0, 1);
CreatePickup(1239, 1, 2097.8765,-111.1796,8.1172);// Weapons Dealer Job
Create3DTextLabel("{FFFFFF}Job Place\n{FFFF00}Weapons Dealer\n{FFFFFF}Type {FFFF00}/join {FFFFFF}to get that job", COLOR_RED, 2097.8765,-111.1796,8.1172, 15, 0, 1);
CreatePickup(1239, 1, 2112.5371,-121.4570,2.1263); // Weapons Smuggler Job
Create3DTextLabel("{FFFFFF}Job Place\n{FFFF00}Weapons Smuggler\n{FFFFFF}Type {FFFF00}/join {FFFFFF}to get that job", COLOR_RED, 2112.5371,-121.4570,2.1263, 15, 0, 1);
//paintball text
Create3DTextLabel("{FFFFFF}Paintball Arena\n{01A9DB}/startpb {FFFFFF}to create a paintball game\n{01A9DB}/enterpb {FFFFFF}to join a paintball game", COLOR_WHITE, 1310.1110,-1368.5656,14.517786, 20,0,1);
CreatePickup(1313, 1, 1310.1110,-1368.5656,13.517786); // paintball pickup
// arrest place
CreateDynamic3DTextLabel("Jail Arrest Point\n{01A9DB}/arrest {FFFFFF}to arrest a suspect", COLOR_WHITE, 1527.1012,-1677.6177,5.8906, 12);
CreatePickup(1314, 1, 1527.1012,-1677.6177,5.8906);
CreatePickup(1247, 1, 870.4260,-2341.1616,13.0859); // Deliver
Create3DTextLabel("{FFFFFF}Suspect Deliver Point\nType {01A9DB}/deliver {FFFFFF}to deliver suspect", COLOR_WHITE, 870.4260,-2341.1616,13.0859, 30, 0, 1);
// Materials Pickups
CreatePickup(348, 1, 2128.8381,-102.9780,2.1263); // low Materials Pickup
Create3DTextLabel("Low Materials Pickup\n{01A9DB}/getmats {FFFFFF}to get some packages", COLOR_WHITE, 2128.8381,-102.9780,2.1263, 15, 0, 1);
CreatePickup(356, 1, 2118.5664,-103.2024,2.1263); //med Materials Pickup
Create3DTextLabel("Medium Materials Pickup\n{01A9DB}/getmats {FFFFFF} to get some packages", COLOR_WHITE, 2118.5664,-103.2024,2.1263, 15, 0, 1);
CreatePickup(351, 1, 2120.7715,-114.0335,2.1263); //high Materials Pickup
Create3DTextLabel("High Materials Pickup\n{01A9DB}/getmats {FFFFFF} to get some packages", COLOR_WHITE, 2120.7715,-114.0335,2.1263, 15, 0, 1);
CreatePickup(348, 1, 2676.7568,-1542.1117,25.1067); // Materials Dropoff
Create3DTextLabel("Low Materials Dropoff\n{01A9DB}/delivermats {FFFFFF}to deliver packages", COLOR_WHITE, 2676.7568,-1542.1117,25.1067, 15, 0, 1);
CreatePickup(356, 1, 251.6972,-156.0768,1.5703); //med Materials Dropoff
Create3DTextLabel("Medium Materials Dropoff\n{01A9DB}/delivermats {FFFFFF}to deliver packages", COLOR_WHITE, 251.6972,-156.0768,1.5703, 15, 0, 1);
CreatePickup(351, 1, 34.7790,-2647.2515,40.7285); //high Materials Dropoff
Create3DTextLabel("High Materials Dropoff\n{01A9DB}/delivermats {FFFFFF}to deliver packages", COLOR_WHITE, 34.7790,-2647.2515,40.7285, 15, 0, 1);
print("Static pickups loaded.");
return 1;
}