Spector Дата: Суббота, 03.09.2011, 18:40:13 | Сообщение # 9
Группа: Пользователи
Сообщений: 22
Code
//---------------------------------------------------------------------------------------------------- if(newcar == russ_[0] || newcar == russ_[1] || newcar == russ_[2] || newcar == russ_[3] || newcar == russ_[4] || newcar == russ_[5] || newcar == russ_[6] || newcar == russ_[7] || newcar == russ_[8] || newcar == russ_[9] || newcar == russ_[10] || newcar == russ_[11] || newcar == russ_[12] || newcar == russ_[13] || newcar == russ_[14] || newcar == russ_[15]) { if(PlayerInfo[playerid][pMember] == 15||PlayerInfo[playerid][pLeader] == 15) { } else { SendClientMessage(playerid,COLOR_GREY,"* Вы не с Русской мафии !"); RemovePlayerFromVehicle(playerid); } } //----------------------------------------------------------------------------------------------------
Добавлено (03.09.2011, 18:32:08) --------------------------------------------- Вот переменная
Добавлено (03.09.2011, 18:32:47) --------------------------------------------- Сами тачки
Code
//------------------------------------------Русская Мафия--------------------------------------------------- new Text3D:russ0; new Text3D:russ1; new Text3D:russ2; new Text3D:russ3; new Text3D:russ4; new Text3D:russ5; new Text3D:russ6; new Text3D:russ7; new Text3D:russ8; new Text3D:russ9; new Text3D:russ10; new Text3D:russ11; new Text3D:russ12; new Text3D:russ13; new Text3D:russ14; new Text3D:russ15; russ0 = Create3DTextLabel( "Русская мафия", 0x000000AA, 7.77, 7.77, 7.77, 80.0, 0, 1 ); russ1 = Create3DTextLabel( "Русская мафия", 0x000000AA, 7.77, 7.77, 7.77, 80.0, 0, 1 ); russ2 = Create3DTextLabel( "Русская мафия", 0x000000AA, 7.77, 7.77, 7.77, 80.0, 0, 1 ); russ3 = Create3DTextLabel( "Русская мафия", 0x000000AA, 7.77, 7.77, 7.77, 80.0, 0, 1 ); russ4 = Create3DTextLabel( "Русская мафия", 0x000000AA, 7.77, 7.77, 7.77, 80.0, 0, 1 ); russ5 = Create3DTextLabel( "Русская мафия", 0x000000AA, 7.77, 7.77, 7.77, 80.0, 0, 1 ); russ6 = Create3DTextLabel( "Русская мафия", 0x000000AA, 7.77, 7.77, 7.77, 80.0, 0, 1 ); russ7 = Create3DTextLabel( "Русская мафия", 0x000000AA, 7.77, 7.77, 7.77, 80.0, 0, 1 ); russ8 = Create3DTextLabel( "Русская мафия", 0x000000AA, 7.77, 7.77, 7.77, 80.0, 0, 1 ); russ9 = Create3DTextLabel( "Русская мафия", 0x000000AA, 7.77, 7.77, 7.77, 80.0, 0, 1 ); russ10 = Create3DTextLabel( "Русская мафия", 0x000000AA, 7.77, 7.77, 7.77, 80.0, 0, 1 ); russ11 = Create3DTextLabel( "Русская мафия", 0x000000AA, 7.77, 7.77, 7.77, 80.0, 0, 1 ); russ12 = Create3DTextLabel( "Русская мафия", 0x000000AA, 7.77, 7.77, 7.77, 80.0, 0, 1 ); russ13 = Create3DTextLabel( "Русская мафия", 0x000000AA, 7.77, 7.77, 7.77, 80.0, 0, 1 ); russ14 = Create3DTextLabel( "Русская мафия", 0x000000AA, 7.77, 7.77, 7.77, 80.0, 0, 1 ); russ15 = Create3DTextLabel( "Русская мафия", 0x000000AA, 7.77, 7.77, 7.77, 80.0, 0, 1 ); russ_[0] = AddStaticVehicleEx(400,386.7284,1043.2721,12.1493,175.0017,0,0,60000); // rm mot russ_[1] = AddStaticVehicleEx(400,383.7268,1043.4625,12.1455,175.0275,0,0,60000); // rm mot1 russ_[2] = AddStaticVehicleEx(400,380.5805,1043.9250,12.1438,174.5775,0,0,60000); // rm russ_[3] = AddStaticVehicleEx(466,377.4043,1044.3733,11.7556,177.0707,0,0,60000); // rm1 russ_[4] = AddStaticVehicleEx(466,374.2610,1044.6222,11.7535,175.1266,0,0,60000); // rm3 russ_[6] = AddStaticVehicleEx(466,371.3273,1044.9650,11.7546,175.8286,0,0,60000); // rm mot russ_[7] = AddStaticVehicleEx(475,367.8753,1045.3593,12.0659,174.1567,0,0,60000); // rm mot russ_[8] = AddStaticVehicleEx(436,385.0630,1032.2472,12.0715,354.3503,0,0,60000); // rm mot russ_[9] = AddStaticVehicleEx(436,381.4562,1032.7200,12.0730,351.8785,0,0,60000); // rm mot russ_[10] = AddStaticVehicleEx(559,378.1762,1032.9053,11.9834,352.0527,0,0,60000); // rm mot russ_[11] = AddStaticVehicleEx(402,375.0495,1033.4485,11.9832,350.2912,0,0,60000); // rm mot russ_[12] = AddStaticVehicleEx(402,371.8437,1034.0214,11.9800,351.6244,0,0,60000); // rm mot russ_[13] = AddStaticVehicleEx(475,368.4435,1034.2813,12.0560,351.9096,0,0,60000); // rm mot russ_[14] = AddStaticVehicleEx(409,360.1580,1045.7313,12.0889,167.3490,0,0,60000); // rm mot russ_[15] = AddStaticVehicleEx(487,382.2021,1059.5360,12.1763,166.8057,0,0,60000); // rm mot Attach3DTextLabelToVehicle( russ0, russ_[0], 0.0, 0.0, 1.3 ); Attach3DTextLabelToVehicle( russ1, russ_[1], 0.0, 0.0, 1.3 ); Attach3DTextLabelToVehicle( russ2, russ_[2], 0.0, 0.0, 1.3 ); Attach3DTextLabelToVehicle( russ3, russ_[3], 0.0, 0.0, 1.3 ); Attach3DTextLabelToVehicle( russ4, russ_[4], 0.0, 0.0, 1.3 ); Attach3DTextLabelToVehicle( russ5, russ_[5], 0.0, 0.0, 1.3 ); Attach3DTextLabelToVehicle( russ6, russ_[6], 0.0, 0.0, 1.3 ); Attach3DTextLabelToVehicle( russ7, russ_[7], 0.0, 0.0, 1.3 ); Attach3DTextLabelToVehicle( russ8, russ_[8], 0.0, 0.0, 1.3 ); Attach3DTextLabelToVehicle( russ9, russ_[9], 0.0, 0.0, 1.3 ); Attach3DTextLabelToVehicle( russ10, russ_[10], 0.0, 0.0, 1.3 ); Attach3DTextLabelToVehicle( russ11, russ_[11], 0.0, 0.0, 1.3 ); Attach3DTextLabelToVehicle( russ12, russ_[12], 0.0, 0.0, 1.3 ); Attach3DTextLabelToVehicle( russ13, russ_[13], 0.0, 0.0, 1.3 ); Attach3DTextLabelToVehicle( russ14, russ_[14], 0.0, 0.0, 1.3 ); Attach3DTextLabelToVehicle( russ15, russ_[15], 0.0, 0.0, 1.3 );
Добавлено (03.09.2011, 18:34:16) --------------------------------------------- Может это из-за варнингов
Code
C:\Documents and Settings\Admin\Рабочий стол\RussRP\pawno\include\streamer.inc(268) : warning 201: redefinition of constant/macro (symbol "OnGameModeInit") C:\Documents and Settings\Admin\Рабочий стол\RussRP\pawno\include\streamer.inc(290) : warning 201: redefinition of constant/macro (symbol "OnPlayerConnect") C:\Documents and Settings\Admin\Рабочий стол\RussRP\gamemodes\RussRP.pwn(12308) : warning 202: number of arguments does not match definition Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase Header size: 9528 bytes Code size: 1902192 bytes Data size: 4842712 bytes Stack/heap size: 16384 bytes; estimated max. usage=5656 cells (22624 bytes) Total requirements: 6770816 bytes 3 Warnings.
Добавлено (03.09.2011, 18:40:13) ---------------------------------------------
Code
12308 - cripz_[22] = AddStaticVehicle(559,1981.6195,1781.8849,15.2156,90.2267,0,-1,-1); //celica
Code
263 - #if defined _ALS_OnGameModeInit #undef OnGameModeInit #else #define _ALS_OnGameModeInit #endif 268 - #define OnGameModeInit Streamer_OnGameModeInit
Code
285 - #if defined _ALS_OnPlayerConnect #undef OnPlayerConnect #else #define _ALS_OnPlayerConnect #endif 290 - #define OnPlayerConnect Streamer_OnPlayerConnect
:)
Сообщение Code
//---------------------------------------------------------------------------------------------------- if(newcar == russ_[0] || newcar == russ_[1] || newcar == russ_[2] || newcar == russ_[3] || newcar == russ_[4] || newcar == russ_[5] || newcar == russ_[6] || newcar == russ_[7] || newcar == russ_[8] || newcar == russ_[9] || newcar == russ_[10] || newcar == russ_[11] || newcar == russ_[12] || newcar == russ_[13] || newcar == russ_[14] || newcar == russ_[15]) { if(PlayerInfo[playerid][pMember] == 15||PlayerInfo[playerid][pLeader] == 15) { } else { SendClientMessage(playerid,COLOR_GREY,"* Вы не с Русской мафии !"); RemovePlayerFromVehicle(playerid); } } //----------------------------------------------------------------------------------------------------
Добавлено (03.09.2011, 18:32:08) --------------------------------------------- Вот переменная
Добавлено (03.09.2011, 18:32:47) --------------------------------------------- Сами тачки
Code
//------------------------------------------Русская Мафия--------------------------------------------------- new Text3D:russ0; new Text3D:russ1; new Text3D:russ2; new Text3D:russ3; new Text3D:russ4; new Text3D:russ5; new Text3D:russ6; new Text3D:russ7; new Text3D:russ8; new Text3D:russ9; new Text3D:russ10; new Text3D:russ11; new Text3D:russ12; new Text3D:russ13; new Text3D:russ14; new Text3D:russ15; russ0 = Create3DTextLabel( "Русская мафия", 0x000000AA, 7.77, 7.77, 7.77, 80.0, 0, 1 ); russ1 = Create3DTextLabel( "Русская мафия", 0x000000AA, 7.77, 7.77, 7.77, 80.0, 0, 1 ); russ2 = Create3DTextLabel( "Русская мафия", 0x000000AA, 7.77, 7.77, 7.77, 80.0, 0, 1 ); russ3 = Create3DTextLabel( "Русская мафия", 0x000000AA, 7.77, 7.77, 7.77, 80.0, 0, 1 ); russ4 = Create3DTextLabel( "Русская мафия", 0x000000AA, 7.77, 7.77, 7.77, 80.0, 0, 1 ); russ5 = Create3DTextLabel( "Русская мафия", 0x000000AA, 7.77, 7.77, 7.77, 80.0, 0, 1 ); russ6 = Create3DTextLabel( "Русская мафия", 0x000000AA, 7.77, 7.77, 7.77, 80.0, 0, 1 ); russ7 = Create3DTextLabel( "Русская мафия", 0x000000AA, 7.77, 7.77, 7.77, 80.0, 0, 1 ); russ8 = Create3DTextLabel( "Русская мафия", 0x000000AA, 7.77, 7.77, 7.77, 80.0, 0, 1 ); russ9 = Create3DTextLabel( "Русская мафия", 0x000000AA, 7.77, 7.77, 7.77, 80.0, 0, 1 ); russ10 = Create3DTextLabel( "Русская мафия", 0x000000AA, 7.77, 7.77, 7.77, 80.0, 0, 1 ); russ11 = Create3DTextLabel( "Русская мафия", 0x000000AA, 7.77, 7.77, 7.77, 80.0, 0, 1 ); russ12 = Create3DTextLabel( "Русская мафия", 0x000000AA, 7.77, 7.77, 7.77, 80.0, 0, 1 ); russ13 = Create3DTextLabel( "Русская мафия", 0x000000AA, 7.77, 7.77, 7.77, 80.0, 0, 1 ); russ14 = Create3DTextLabel( "Русская мафия", 0x000000AA, 7.77, 7.77, 7.77, 80.0, 0, 1 ); russ15 = Create3DTextLabel( "Русская мафия", 0x000000AA, 7.77, 7.77, 7.77, 80.0, 0, 1 ); russ_[0] = AddStaticVehicleEx(400,386.7284,1043.2721,12.1493,175.0017,0,0,60000); // rm mot russ_[1] = AddStaticVehicleEx(400,383.7268,1043.4625,12.1455,175.0275,0,0,60000); // rm mot1 russ_[2] = AddStaticVehicleEx(400,380.5805,1043.9250,12.1438,174.5775,0,0,60000); // rm russ_[3] = AddStaticVehicleEx(466,377.4043,1044.3733,11.7556,177.0707,0,0,60000); // rm1 russ_[4] = AddStaticVehicleEx(466,374.2610,1044.6222,11.7535,175.1266,0,0,60000); // rm3 russ_[6] = AddStaticVehicleEx(466,371.3273,1044.9650,11.7546,175.8286,0,0,60000); // rm mot russ_[7] = AddStaticVehicleEx(475,367.8753,1045.3593,12.0659,174.1567,0,0,60000); // rm mot russ_[8] = AddStaticVehicleEx(436,385.0630,1032.2472,12.0715,354.3503,0,0,60000); // rm mot russ_[9] = AddStaticVehicleEx(436,381.4562,1032.7200,12.0730,351.8785,0,0,60000); // rm mot russ_[10] = AddStaticVehicleEx(559,378.1762,1032.9053,11.9834,352.0527,0,0,60000); // rm mot russ_[11] = AddStaticVehicleEx(402,375.0495,1033.4485,11.9832,350.2912,0,0,60000); // rm mot russ_[12] = AddStaticVehicleEx(402,371.8437,1034.0214,11.9800,351.6244,0,0,60000); // rm mot russ_[13] = AddStaticVehicleEx(475,368.4435,1034.2813,12.0560,351.9096,0,0,60000); // rm mot russ_[14] = AddStaticVehicleEx(409,360.1580,1045.7313,12.0889,167.3490,0,0,60000); // rm mot russ_[15] = AddStaticVehicleEx(487,382.2021,1059.5360,12.1763,166.8057,0,0,60000); // rm mot Attach3DTextLabelToVehicle( russ0, russ_[0], 0.0, 0.0, 1.3 ); Attach3DTextLabelToVehicle( russ1, russ_[1], 0.0, 0.0, 1.3 ); Attach3DTextLabelToVehicle( russ2, russ_[2], 0.0, 0.0, 1.3 ); Attach3DTextLabelToVehicle( russ3, russ_[3], 0.0, 0.0, 1.3 ); Attach3DTextLabelToVehicle( russ4, russ_[4], 0.0, 0.0, 1.3 ); Attach3DTextLabelToVehicle( russ5, russ_[5], 0.0, 0.0, 1.3 ); Attach3DTextLabelToVehicle( russ6, russ_[6], 0.0, 0.0, 1.3 ); Attach3DTextLabelToVehicle( russ7, russ_[7], 0.0, 0.0, 1.3 ); Attach3DTextLabelToVehicle( russ8, russ_[8], 0.0, 0.0, 1.3 ); Attach3DTextLabelToVehicle( russ9, russ_[9], 0.0, 0.0, 1.3 ); Attach3DTextLabelToVehicle( russ10, russ_[10], 0.0, 0.0, 1.3 ); Attach3DTextLabelToVehicle( russ11, russ_[11], 0.0, 0.0, 1.3 ); Attach3DTextLabelToVehicle( russ12, russ_[12], 0.0, 0.0, 1.3 ); Attach3DTextLabelToVehicle( russ13, russ_[13], 0.0, 0.0, 1.3 ); Attach3DTextLabelToVehicle( russ14, russ_[14], 0.0, 0.0, 1.3 ); Attach3DTextLabelToVehicle( russ15, russ_[15], 0.0, 0.0, 1.3 );
Добавлено (03.09.2011, 18:34:16) --------------------------------------------- Может это из-за варнингов
Code
C:\Documents and Settings\Admin\Рабочий стол\RussRP\pawno\include\streamer.inc(268) : warning 201: redefinition of constant/macro (symbol "OnGameModeInit") C:\Documents and Settings\Admin\Рабочий стол\RussRP\pawno\include\streamer.inc(290) : warning 201: redefinition of constant/macro (symbol "OnPlayerConnect") C:\Documents and Settings\Admin\Рабочий стол\RussRP\gamemodes\RussRP.pwn(12308) : warning 202: number of arguments does not match definition Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase Header size: 9528 bytes Code size: 1902192 bytes Data size: 4842712 bytes Stack/heap size: 16384 bytes; estimated max. usage=5656 cells (22624 bytes) Total requirements: 6770816 bytes 3 Warnings.
Добавлено (03.09.2011, 18:40:13) ---------------------------------------------
Code
12308 - cripz_[22] = AddStaticVehicle(559,1981.6195,1781.8849,15.2156,90.2267,0,-1,-1); //celica
Code
263 - #if defined _ALS_OnGameModeInit #undef OnGameModeInit #else #define _ALS_OnGameModeInit #endif 268 - #define OnGameModeInit Streamer_OnGameModeInit
Code
285 - #if defined _ALS_OnPlayerConnect #undef OnPlayerConnect #else #define _ALS_OnPlayerConnect #endif 290 - #define OnPlayerConnect Streamer_OnPlayerConnect
Автор - Spector Дата добавления - 03.09.2011 в 18:40:13