Доступ к архиву

Переход в группу "Пользователь"

300.00 ₽
Одноразовый платёж
Быстрый переход в группу "Пользователи", без надобности написания постов и ожидания.

Покупка дает возможность:
Быть полноправным участником форума
Нормальное копирование кода
Создавать темы
Скачивать файлы
Доступ к архиву Pawno-Info

error 010: invalid function or declaration

Статус
В этой теме нельзя размещать новые ответы.

tomas1

Новичок
PHP:
D:\Documents and Settings\Admin\Рабочий стол\Original Rp\pawno\include\NewGeneration\variables.inc(1) : error 010: invalid function or declaration
D:\Documents and Settings\Admin\Рабочий стол\Original Rp\pawno\include\NewGeneration\colors.inc(1) : error 010: invalid function or declaration
D:\Documents and Settings\Admin\Рабочий стол\Original Rp\pawno\include\NewGeneration\headers\keys.inc(1) : error 010: invalid function or declaration
D:\Documents and Settings\Admin\Рабочий стол\Original Rp\pawno\include\NewGeneration\headers\death.inc(1) : error 010: invalid function or declaration
D:\Documents and Settings\Admin\Рабочий стол\Original Rp\pawno\include\NewGeneration\headers\prison.inc(1) : error 010: invalid function or declaration
D:\Documents and Settings\Admin\Рабочий стол\Original Rp\pawno\include\NewGeneration\headers\jobs\jobs_trucker.inc(1) : error 010: invalid function or declaration
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


6 Errors.
PHP:
#define OUTPUT 						256
#define MAX_CHARACTER_ON_ACCOUNT 	5

#define SERVER_NAME					""
#define GAMEMODE_NAME 				""
#define GAMEMODE_VERSION 			""
#define GAMEMODE_URL 				""

/*
#define MYSQL_HOST 					""
#define MYSQL_NAME 					""
#define MYSQL_PASSWORD 				""
#define MYSQL_DB 					""
*/

#define MYSQL_HOST 					"localhost"
#define MYSQL_NAME 					"root"
#define MYSQL_DB 					"asd"
#define MYSQL_PASSWORD 				"j"


#if defined MAX_PLAYERS
  #undef MAX_PLAYERS
  #define MAX_PLAYERS 200
#endif

// Whirlpool hashing
native WP_Hash(buffer[], len, const str[]);

#define PLAYER_WEAPON_SLOTS 14

enum pInfo {
	p_id,
	p_user_id,
	p_name[MAX_PLAYER_NAME],
	p_rp_name[MAX_PLAYER_NAME],
	p_registered,
	p_sex,
	p_age,
	p_money,
	p_bank,
	p_minutes_on,
	p_online,
	p_level,
	Float:p_health,
	Float:p_armour,
	p_job,
	p_skill,
	p_job_contract,
	p_skin,
	p_faction,
	p_faction_rank,
	p_faction_duty,
	p_faction_skin,
	p_spawn,
	p_crashed,
	Float:p_last_x,
	Float:p_last_y,
	Float:p_last_z,
	Float:p_last_fa,
	p_last_int,
	p_last_world,
	p_last_time,
	p_dead,
	p_description_look[128],
	p_description_voice[30],
	p_status,
	p_jail,
	p_ajail,
	p_warn,
	p_phone,
	p_num_phone,
	p_radio,
	p_radio_channel,
	p_radio_password,
	p_car_lic,
	p_taxi_lic,
	p_fly_lic,
	p_gun_lic,
	p_mask,
	p_tie,
	p_smoke,
	p_dice,
	p_blind,
	p_note,
	p_note1[128],
	p_note2[128],
	p_note3[128],
	p_note4[128],
	p_note5[128],
	p_note6[128],
	p_note7[128],
	p_note8[128],
	p_note9[128],
	p_note10[128],
	p_mask_num,
	p_chat_anim,
	p_walk_anim[20],
	p_addiction,
	p_prison_time,
	p_prison_cell,
	p_prison_number[24],
	p_drugs[7],
	p_inv[15],
	p_quantity[15],
	p_weapon_setting[5],
	p_rent_veh,
/* 
 * Сумка
 */
	p_bag,
	p_bag_money,
	p_bag_drug[7],
	p_bag_item[10],
	p_bag_item_q[10],
	p_bag_gun[10],
	p_bag_ammo[10],
/*
 * Рюкзак
 */
	p_backpack,
	p_backpack_money,
	p_backpack_drug[7],
	p_backpack_item[5],
	p_backpack_item_q[5],
	p_backpack_gun[5],
	p_backpack_ammo[5],
/*
 * Кейс
 */
	p_case,
	p_case_money,
	p_case_drug[7],
	p_case_item[3],
	p_case_item_q[3],
	p_case_gun,
	p_case_ammo,
	p_veh_key,
	p_veh_key_info[64],
	p_property_key,
	p_property_key_info[64],
	p_rent_property_key,
	p_vip,
	p_acceswork,
	p_canister,
	p_aspirin,
	p_demerol,
	p_boombox,
	p_fightstyle,
	p_stopwatch,
	p_paycheck[3],
	p_d_paycheck1[64],
	p_d_paycheck2[64],
	p_d_paycheck3[64],
	p_summary_ac,
	pGun[13],
	pAmmo[13],
	p_tmp_gun[13],
	p_tmp_ammo[13],

/*
 * Только на сервере
 */
	Text3D:p_3d_prison,

	pLastUpdate,
	pWarningAC[11],
	pStopFreeze,
	pStopWeapon,
	pStopTeleport,
	pStopHealth,
	pStopArmour,
	pCurrentCar,
	pLastCar,
	pLastCarOut,
	pVehicleEnter,
	pVehicleEnterTick,
	bool: pFreezeState,
	bool: isInModeShop,
	Float:p_set_pos[3],
	p_set_int,
	p_set_world
}
new PlayerInfo[MAX_PLAYERS][pInfo];

new Float:SpawnPosition[][4] = {
	{1685.7443,-2240.1047,-2.7002,179.1861}, // Airport
	{1762.9608,-1899.9993,13.5641,269.5904}, // Unity
	{822.0781,-1363.0474,-0.5078,317.6705}, // Market
	{328.9017,-1515.8054,35.8672,234.5051} // Rodeo
};

new mysql,
	level,
	WeatherServer,
	user = INVALID_PLAYER_ID,
	Float:AFK_pos[MAX_PLAYERS][6],
	a_string[OUTPUT],
	DefaultWeather,
	weather2,
	lspds_gate,
	anti_prison = 1,
	accesgate = 0,
	Text:BlackScreen,
	Text3D:VehSign[MAX_VEHICLES],
	Text3D:MyInfo[MAX_PLAYERS][3];


new Text3D:LSPD_3D_text_veh[MAX_PLAYERS][MAX_VEHICLES];
new LSPD_3D_text_check_veh[MAX_PLAYERS][MAX_VEHICLES];

new Text3D:LSPD_3D_text_player[MAX_PLAYERS][MAX_PLAYERS];
new LSPD_3D_text_check_player[MAX_PLAYERS][MAX_PLAYERS];


new Text:Blind[MAX_PLAYERS] = {Text:INVALID_TEXT_DRAW, ...};
new Text:JobTD[MAX_PLAYERS] = {Text:INVALID_TEXT_DRAW, ...};

new character_choosen_id[MAX_PLAYERS][MAX_CHARACTER_ON_ACCOUNT];
new character_choosen_name[32][MAX_PLAYERS][MAX_CHARACTER_ON_ACCOUNT];

// settings static lists
#define mS_TOTAL_ITEMS         	1000 // Max amount of items from all lists
#define mS_TOTAL_LISTS			20 // Max amount of lists
#define mS_TOTAL_ROT_ZOOM		100 // Max amount of items using extra information like zoom or rotations

// settings dynamic per player lists
#define mS_CUSTOM_MAX_ITEMS		250
new gCustomList[MAX_PLAYERS][mS_CUSTOM_MAX_ITEMS];
new gCustomListPrice[MAX_PLAYERS][mS_CUSTOM_MAX_ITEMS];
#define mS_INVALID_LISTID		mS_TOTAL_LISTS
#define mS_CUSTOM_LISTID		(mS_TOTAL_LISTS+1)

#define mS_NEXT_TEXT   "Next"
#define mS_PREV_TEXT   "Prev"
#define mS_CANCEL_TEXT   "Cancel"

#define mS_SELECTION_ITEMS 		21
#define mS_ITEMS_PER_LINE  		7
#define mS_DIALOG_BASE_X   	75.0
#define mS_DIALOG_BASE_Y   	130.0
#define mS_DIALOG_WIDTH    	550.0
#define mS_DIALOG_HEIGHT   	180.0
#define mS_SPRITE_DIM_X    	60.0
#define mS_SPRITE_DIM_Y    	70.0

new PlayerText:gCurrentPageTextDrawId[MAX_PLAYERS];
new PlayerText:gHeaderTextDrawId[MAX_PLAYERS];
new PlayerText:gBackgroundTextDrawId[MAX_PLAYERS];
new PlayerText:gNextButtonTextDrawId[MAX_PLAYERS];
new PlayerText:gPrevButtonTextDrawId[MAX_PLAYERS];
new PlayerText:gCancelButtonTextDrawId[MAX_PLAYERS];
new PlayerText:gSelectionItems[MAX_PLAYERS][mS_SELECTION_ITEMS];
new PlayerText:gPriceTextDrawId[MAX_PLAYERS][mS_SELECTION_ITEMS];
new PlayerText:gNameTextDrawId[MAX_PLAYERS][mS_SELECTION_ITEMS];
new gSelectionItemsTag[MAX_PLAYERS][mS_SELECTION_ITEMS];
new gItemAt[MAX_PLAYERS];

#define mS_LIST_START			0
#define mS_LIST_END				1
new gLists[mS_TOTAL_LISTS][2]; // list information start/end index

#define mS_ITEM_MODEL			0
#define mS_ITEM_ROT_ZOOM_ID 	1
new gItemList[mS_TOTAL_ITEMS][2];

new Float:gRotZoom[mS_TOTAL_ROT_ZOOM][4]; // Array for saving rotation and zoom info
new gItemAmount = 0; // Amount of items used
new gListAmount = 0; // Amount of lists used
new gRotZoomAmount = 0; // Amount of Rotation/Zoom informations used

new skinlist = mS_INVALID_LISTID;
new vehlist = mS_INVALID_LISTID;

new attlist0 = mS_INVALID_LISTID;
new attlist1 = mS_INVALID_LISTID;
new attlist2 = mS_INVALID_LISTID;
new attlist3 = mS_INVALID_LISTID;
new attlist4 = mS_INVALID_LISTID;
new attlist5 = mS_INVALID_LISTID;
PHP:
#define COLOR_WHITE 		0xFFFFFFFF
#define COLOR_GRAY			0xB4B5B700
#define COLOR_GREEN 		0x33AA3300
#define COLOR_PAPAYA 		0xF5DEB300
#define COLOR_TOMATO		0xFF6347AA
#define COLOR_SALMON		0xFF828200
#define COLOR_PURPLE		0x8080FF00
#define COLOR_DEEP_BLUE 	0x54BDFCAA
#define COLOR_ORANGE		0xFF8000AA
#define COLOR_YELLOW       	0xFFFF0000
#define COLOR_BLACK       	0x00000099

#define COLOR_HELP         	0xFFFAFAD2
#define COLOR_ACTION       	0xC2A2DAAA
#define COLOR_RED          	0xFFFF4500

#define COLOR_FADE1        	0xE6E6E600
#define COLOR_FADE2        	0xC8C8C800
#define COLOR_FADE3        	0xAAAAAA00
#define COLOR_FADE4        	0x8C8C8C00
#define COLOR_FADE5        	0x6E6E6E00

#define COLOR_LEMON			0xFFFACD00
#define COLOR_YELLOW_GREEN	0x33AA3300
#define COLOR_LIGHT_CYAN	0xC8DDDDAA

#define COLOR_ALICE_BLUE	0xF0F8FF00
#define COLOR_LIGHT_GREEN	0x90EE9000
#define COLOR_FACTION 		0x00CED100

#define COLOR_FACTION_CHAT1	0x01FCFFC8
#define COLOR_FACTION_CHAT2	0x8080FF00

#define COLOR_ALLDEPT 		0xFF8282AA
#define COLOR_911       	0x00BFFF00
#define COLOR_GOV       	0x0080C0AA

#define COLOR_LIGHTBLUE 	0x33CCFFAA
#define TEAM_AZTECAS_COLOR 	0x01FCFFC8

#define PLAYER_COLOR_STANDART	0xFFFFFF00 	// Цвет для всех игроков
#define PLAYER_COLOR_POLICE		0x8080FF00 	// Цвет для полицейских
#define PLAYER_COLOR_DOC		0xA863C500 	// Цвет для DoC 
#define PLAYER_COLOR_PARAMEDIC  0xFF634700  // Цвет для парамедиков
#define PLAYER_COLOR_ADMIN		0x4F645F00 	// Цвет для администраторов
#define PLAYER_COLOR_HELPER		0x80000000 	// Цвет для хелперов
PHP:
#define MAX_SERVER_KEYS 	1
#define MAX_PLAYER_KEYS 	5

#define KEYS_TYPE_HOUSE 	1
#define KEYS_TYPE_BIZ 		2
#define KEYS_TYPE_VEH 		3
PHP:
#define PLAYER_WEAPON_SLOTS 14

new death_weapon_name[MAX_PLAYERS][PLAYER_WEAPON_SLOTS][32],
	death_weapon_ammo[MAX_PLAYERS][PLAYER_WEAPON_SLOTS],
	death_weapon_id[MAX_PLAYERS][PLAYER_WEAPON_SLOTS];
PHP:
#define GATE_CLOSE 	0
#define GATE_OPEN 	1
#define MAX_PRISON_GATES_ONLY 20
#define MAX_PRISON_GATES_ALL 36

#define STEP_LOAD 	1
#define STEP_UNLOAD 0

#define PJOB_SLOT 1

new prison_gate[36],
	gate_status[36],
	prison_heal_pickup[3],
	prison_cp[2],
	prison_duty,
	prison_door[6],
	pdoors;

new Float:PrisonCells[][3] = {
	{553.0291,-483.2213,915.7733}, // cell 1
	{548.3146,-482.7682,915.7733}, // cell 2
	{543.5320,-482.6701,915.7733}, // cell 3
	{539.2539,-483.9219,915.7733}, // cell 4
	{538.7383,-462.1714,915.7733}, // cell 5
	{543.5886,-461.8803,915.7733}, // cell 6
	{547.9940,-461.7828,915.7733}, // cell 7
	{552.6503,-461.7891,915.7733}, // cell 8
	{552.7823,-462.4218,919.4973}, // cell 9
	{547.9563,-462.4140,919.4973}, // cell 10
	{543.4838,-462.2739,919.4973}, // cell 11
	{538.6183,-462.6356,919.4973}, // cell 12
	{533.5359,-462.6620,919.4973}, // cell 13
	{528.9680,-462.8172,919.4973}, // cell 14
	{553.1780,-481.9498,919.5027}, // cell 15
	{548.1789,-482.4014,919.5027}, // cell 16
	{543.7120,-482.3856,919.5027}, // cell 17
	{538.9219,-482.2870,919.5027}, // cell 18
	{534.8845,-482.2841,919.5027}, // cell 19
	{529.7171,-482.2945,919.5027}, // cell 20
	{-1780.9346,-496.8150,621.2163}, // isol 1
	{-1777.3285,-496.8033,621.2163}, // isol 2
	{-1773.1532,-497.0806,621.2163}, // isol 3
	{-1768.8308,-497.2220,621.2163}, // isol 4
	{-1765.3772,-497.2811,621.2163}, // isol 5
	{-1765.6090,-497.8066,624.8874}, // isol 6
	{-1769.1208,-496.9216,624.8874}, // isol 7
	{-1773.0781,-497.2306,624.8874}, // isol 8
	{-1776.9327,-497.1145,624.8874}, // isol 9
	{-1780.7661,-497.5764,624.8874} // isol 10
};
PHP:
#define MAX_TRUCKERS_POINTS		8

new Float:FirstTypeTruckerCheckpoints[][3] = {
	{2399.8333,-1967.7181,13.3828}, // cp1
	{2769.3145,-1614.8748,10.9219}, // cp2
	{1583.1799,-1414.3258,13.5941}, // cp3
	{1985.0071,-1784.2174,13.5537}, // cp4
	{2010.5525,-2025.9143,13.5469}, // cp5
	{2184.7371,-2261.8960,13.4259}, // cp6
	{2572.8430,-2221.8760,13.3309}, // cp7
	{2452.6892,-2628.9438,13.6640}, // cp8
	{2772.5171,-2494.3787,13.6689}, // cp9
	{2166.2009,-1889.5437,13.2906}, // cp10
	{1639.0134,-1868.0187,13.3828}, // cp11
	{1317.3785,-1651.9825,13.3828}, // cp12
	{1029.5892,-1331.4475,13.3857}, // cp13
	{1164.3588,-1206.2461,19.6521}, // cp14
	{1078.9089,-1153.5236,23.6563}, // cp15
	{1041.5618,-1030.1772,32.0857}, // cp16
	{1050.6599,-879.3535,43.0265}, // cp17
	{1427.5878,-957.6244,36.1691}, // cp18
	{423.8189,-1650.5942,26.3826}, // cp19
	{486.1145,-1420.2781,16.6481}, // cp20
	{848.9801,-1293.3735,13.6389}, // cp21
	{823.1361,-1551.7872,13.5232}, // cp22
	{990.1456,-1522.7057,13.5544}, // cp23
	{1043.3052,-1549.1327,13.3643}, // cp24
	{892.5426,-1790.4139,13.4873}, // cp25
	{891.9390,-1796.8346,13.6729}, // cp25
	{418.2028,-1726.7145,9.1104}, // cp27
	{417.8786,-1725.4331,9.1241}, // cp26
	{356.7741,-1387.2198,14.3604}, // cp27
	{1258.7761,-1224.8638,13.6797}, // cp28
	{1802.1631,-2307.4128,-2.7962}, // cp29
	{1771.7985,-2032.0853,13.5011} // cp30
};
new Float:SecondTypeTruckerCheckpoints[][3] = {
	{683.8386,-441.2135,16.3359}, // cp1 type2
	{844.9685,-601.2036,18.4219}, // cp2 type2
	{-14.9183,-273.6765,5.4297}, // cp3 type2
	{1386.2823,266.1258,19.5669}, // cp4 type2
	{2278.5886,63.9596,26.4844}, // cp5 type2
	{325.7960,-53.5132,1.5308},// cp6 type2
	{-529.9581,-484.9878,25.5234}, // cp7 type2
	{-277.9678,-2187.4194,28.7126}, // cp8 type2
	{1408.1252,456.0736,20.2140} // cp9 type2
};
new Float:ThirdTypeTruckerCheckpoints[][3] = {
	{1723.7157,727.8796,10.8203}, // cp1 type3
	{1442.1350,1110.8472,10.3818}, // cp2 type3
	{1065.3745,1238.4397,10.3890}, // cp3 type3
	{1077.6204,1889.2769,10.3790}, // cp4 type3
	{193.2738,1350.4939,10.1472}, // cp5 type3
	{-226.6812,2596.8291,62.2766}, // cp6 type3
	{-535.3168,2626.2397,52.9753}, // cp7 type3
	{-1699.3717,398.7624,7.1797}, // cp8 type3
	{-2024.0201,145.3073,28.8359}, // cp9 type3
	{-2122.0925,-199.0235,35.3203}, // cp10 type3
	{-2095.8269,-2243.5867,30.6250}, // cp11 type3
	{-1874.8733,-1676.9327,21.7500}, // cp12 type3
	{-1916.4165,296.6555,41.0469}, // cp13 type3
	{-1701.2245,-85.5874,3.5587}, // cp14 type3
	{-982.6268,-710.2292,32.0078} // cp15 type3
};

new Float:TruckTrailerJobCheckPoints[][3] = {
	{1421.1158,1045.0189,10.4871},
	{2820.1848,2606.2581,10.5207},
	{984.7607,2074.2607,10.4742},
	{1042.5023,2134.5703,10.5249},
	{265.8510,1409.7015,10.1892},
	{647.2571,1240.9459,11.3210},
	{-537.2109,2593.6626,53.1191},
	{-1490.3456,2652.8879,55.4614},
	{-2461.3010,2292.6838,4.5587},
	{-2430.9556,2316.9722,4.6896},
	{-1790.3977,1421.7386,6.8926},
	{-1868.0878,1412.5898,6.8920},
	{-1705.5894,390.8622,6.8862},
	{-1697.6835,-90.4264,3.2622},
	{-1880.5802,-1679.0511,21.4547},
	{-2037.7598,-2385.7317,30.3302}
};


new Float:TruckerVehPos[][4] = {
	{2132.5642,-2092.8723,14.5023,130.1280}, // 1pos
	{2125.9036,-2084.9705,14.5023,130.1280}, // 2pos
	{2119.3706,-2077.2192,14.5017,130.1280}, // 3pos
	{2109.1467,-2085.8357,14.5901,130.1280}, // 4pos
	{2116.0125,-2093.9807,14.5949,130.1280}, // 5pos
	{2125.2363,-2099.0125,14.5116,130.1300} // 6pos
};
Ошибки в 1-ых строчках,но они пустые.В чём проблема?
 
Статус
В этой теме нельзя размещать новые ответы.
Сверху Снизу