Ваши ошибки при компиляция gm
SeenFOX Дата: Понедельник, 29.08.2011, 15:43:06 | Сообщение # 241
Группа: Пользователи
Сообщений: 12
admin , чисто случайно встретил пацана у которого эти инклуды были... спасибо большое за то что ответы на вашем форуме незаставляют себя ждать...
Бла бла бла :D
Сообщение admin , чисто случайно встретил пацана у которого эти инклуды были... спасибо большое за то что ответы на вашем форуме незаставляют себя ждать... Автор - SeenFOX Дата добавления - 29.08.2011 в 15:43:06
Сообщение SeenFOX , незачто оброщайся Автор - admin Дата добавления - 29.08.2011 в 16:43:46
Spector Дата: Вторник, 30.08.2011, 13:18:48 | Сообщение # 243
Группа: Пользователи
Сообщений: 22
Ошибки Code
C:\Documents and Settings\Admin\Рабочий стол\RussRP\pawno\include\streamer.inc(267) : warning 201: redefinition of constant/macro (symbol "OnGameModeInit") C:\Documents and Settings\Admin\Рабочий стол\RussRP\pawno\include\streamer.inc(289) : warning 201: redefinition of constant/macro (symbol "OnPlayerConnect") C:\Documents and Settings\Admin\Рабочий стол\RussRP\gamemodes\RussRP.pwn(131) : warning 201: redefinition of constant/macro (symbol "COLOR_RED") C:\Documents and Settings\Admin\Рабочий стол\RussRP\gamemodes\RussRP.pwn(145) : warning 201: redefinition of constant/macro (symbol "COLOR_DBLUE") C:\Documents and Settings\Admin\Рабочий стол\RussRP\gamemodes\RussRP.pwn(3146) : warning 217: loose indentation C:\Documents and Settings\Admin\Рабочий стол\RussRP\gamemodes\RussRP.pwn(3156) : warning 217: loose indentation C:\Documents and Settings\Admin\Рабочий стол\RussRP\gamemodes\RussRP.pwn(7205) : warning 219: local variable "newcar" shadows a variable at a preceding level C:\Documents and Settings\Admin\Рабочий стол\RussRP\gamemodes\RussRP.pwn(8777) : warning 219: local variable "newcar" shadows a variable at a preceding level C:\Documents and Settings\Admin\Рабочий стол\RussRP\gamemodes\RussRP.pwn(12403) : warning 202: number of arguments does not match definition C:\Documents and Settings\Admin\Рабочий стол\RussRP\gamemodes\RussRP.pwn(12404) : warning 202: number of arguments does not match definition C:\Documents and Settings\Admin\Рабочий стол\RussRP\gamemodes\RussRP.pwn(12404) : warning 202: number of arguments does not match definition C:\Documents and Settings\Admin\Рабочий стол\RussRP\gamemodes\RussRP.pwn(12519) : warning 202: number of arguments does not match definition C:\Documents and Settings\Admin\Рабочий стол\RussRP\gamemodes\RussRP.pwn(12520) : warning 202: number of arguments does not match definition C:\Documents and Settings\Admin\Рабочий стол\RussRP\gamemodes\RussRP.pwn(12521) : warning 202: number of arguments does not match definition C:\Documents and Settings\Admin\Рабочий стол\RussRP\gamemodes\RussRP.pwn(12561) : warning 202: number of arguments does not match definition C:\Documents and Settings\Admin\Рабочий стол\RussRP\gamemodes\RussRP.pwn(12562) : warning 202: number of arguments does not match definition C:\Documents and Settings\Admin\Рабочий стол\RussRP\gamemodes\RussRP.pwn(12563) : warning 202: number of arguments does not match definition C:\Documents and Settings\Admin\Рабочий стол\RussRP\gamemodes\RussRP.pwn(24670) : warning 219: local variable "newcar" shadows a variable at a preceding level C:\Documents and Settings\Admin\Рабочий стол\RussRP\gamemodes\RussRP.pwn(28476) : warning 225: unreachable code C:\Documents and Settings\Admin\Рабочий стол\RussRP\gamemodes\RussRP.pwn(35558) : warning 204: symbol is assigned a value that is never used: "ttext" C:\Documents and Settings\Admin\Рабочий стол\RussRP\gamemodes\RussRP.pwn(39135) : warning 215: expression has no effect C:\Documents and Settings\Admin\Рабочий стол\RussRP\gamemodes\RussRP.pwn(39136) : warning 215: expression has no effect C:\Documents and Settings\Admin\Рабочий стол\RussRP\gamemodes\RussRP.pwn(40744) : warning 203: symbol is never used: "Adv" Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase Header size: 9528 bytes Code size: 1893992 bytes Data size: 4838772 bytes Stack/heap size: 16384 bytes; estimated max. usage=5656 cells (22624 bytes) Total requirements: 6758676 bytes 23 Warnings.
Строки Code
267 - forward SlakClose3(); 289 - forward LoadBoxer(); 131 - #define COLOR_RED 0xAA3333AA 145 - #define COLOR_DBLUE 0x2641FEAA 3146 - SendClientMessage(playerid, COLOR_LIGHTRED, "Склад на котрый требуется доствить груз отмечен на радаре!"); 3156 - SendClientMessage(playerid, COLOR_LIGHTRED, "Склад на котрый требуется доствить груз отмечен на радаре!"); 7205 - new newcar = GetPlayerVehicleID(playerid); 8777 - new newcar = GetPlayerVehicleID(i)-NH; 12403 - cripz_[21] = AddStaticVehicle(444,1981.4567,1786.1627,15.9236,91.52720,-1,-1,60000); //monster0 12404 - cripz_[22] = AddStaticVehicle(559,1981.6195,1781.8849,15.2156,90.2267,0,-1,-1,60000); //celica 12519 - rep_[2] = AddStaticVehicleEx(582,1880.5868,1900.6536,13.2658,184.4571,47,53); // 12520 - rep_[3] = AddStaticVehicleEx(582,1885.6792,1901.0070,13.2648,190.2563,47,53); // 12521 - rep_[4] = AddStaticVehicleEx(582,1890.2263,1901.2360,13.2790,182.5294,47,53); // 12561 - lik_[7] = AddStaticVehicleEx(492,2103.7488,-2170.5203,21.2035,90.2910,1,1); // 12562 - lik_[8] = AddStaticVehicleEx(492,2103.7952,-2173.3340,21.2295,91.0881,1,1); // 12563 - lik_[9] = AddStaticVehicleEx(492,2103.8354,-2175.8909,21.2294,90.1396,1,1); // 24670 - new newcar = GetPlayerVehicleID(playerid); 28476 - return 1; 35558 - new ttext[255]; 39135 - spaceGroupsToSpaces(text); 39136 - trimSideSpaces(text);
:)
Сообщение Ошибки Code
C:\Documents and Settings\Admin\Рабочий стол\RussRP\pawno\include\streamer.inc(267) : warning 201: redefinition of constant/macro (symbol "OnGameModeInit") C:\Documents and Settings\Admin\Рабочий стол\RussRP\pawno\include\streamer.inc(289) : warning 201: redefinition of constant/macro (symbol "OnPlayerConnect") C:\Documents and Settings\Admin\Рабочий стол\RussRP\gamemodes\RussRP.pwn(131) : warning 201: redefinition of constant/macro (symbol "COLOR_RED") C:\Documents and Settings\Admin\Рабочий стол\RussRP\gamemodes\RussRP.pwn(145) : warning 201: redefinition of constant/macro (symbol "COLOR_DBLUE") C:\Documents and Settings\Admin\Рабочий стол\RussRP\gamemodes\RussRP.pwn(3146) : warning 217: loose indentation C:\Documents and Settings\Admin\Рабочий стол\RussRP\gamemodes\RussRP.pwn(3156) : warning 217: loose indentation C:\Documents and Settings\Admin\Рабочий стол\RussRP\gamemodes\RussRP.pwn(7205) : warning 219: local variable "newcar" shadows a variable at a preceding level C:\Documents and Settings\Admin\Рабочий стол\RussRP\gamemodes\RussRP.pwn(8777) : warning 219: local variable "newcar" shadows a variable at a preceding level C:\Documents and Settings\Admin\Рабочий стол\RussRP\gamemodes\RussRP.pwn(12403) : warning 202: number of arguments does not match definition C:\Documents and Settings\Admin\Рабочий стол\RussRP\gamemodes\RussRP.pwn(12404) : warning 202: number of arguments does not match definition C:\Documents and Settings\Admin\Рабочий стол\RussRP\gamemodes\RussRP.pwn(12404) : warning 202: number of arguments does not match definition C:\Documents and Settings\Admin\Рабочий стол\RussRP\gamemodes\RussRP.pwn(12519) : warning 202: number of arguments does not match definition C:\Documents and Settings\Admin\Рабочий стол\RussRP\gamemodes\RussRP.pwn(12520) : warning 202: number of arguments does not match definition C:\Documents and Settings\Admin\Рабочий стол\RussRP\gamemodes\RussRP.pwn(12521) : warning 202: number of arguments does not match definition C:\Documents and Settings\Admin\Рабочий стол\RussRP\gamemodes\RussRP.pwn(12561) : warning 202: number of arguments does not match definition C:\Documents and Settings\Admin\Рабочий стол\RussRP\gamemodes\RussRP.pwn(12562) : warning 202: number of arguments does not match definition C:\Documents and Settings\Admin\Рабочий стол\RussRP\gamemodes\RussRP.pwn(12563) : warning 202: number of arguments does not match definition C:\Documents and Settings\Admin\Рабочий стол\RussRP\gamemodes\RussRP.pwn(24670) : warning 219: local variable "newcar" shadows a variable at a preceding level C:\Documents and Settings\Admin\Рабочий стол\RussRP\gamemodes\RussRP.pwn(28476) : warning 225: unreachable code C:\Documents and Settings\Admin\Рабочий стол\RussRP\gamemodes\RussRP.pwn(35558) : warning 204: symbol is assigned a value that is never used: "ttext" C:\Documents and Settings\Admin\Рабочий стол\RussRP\gamemodes\RussRP.pwn(39135) : warning 215: expression has no effect C:\Documents and Settings\Admin\Рабочий стол\RussRP\gamemodes\RussRP.pwn(39136) : warning 215: expression has no effect C:\Documents and Settings\Admin\Рабочий стол\RussRP\gamemodes\RussRP.pwn(40744) : warning 203: symbol is never used: "Adv" Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase Header size: 9528 bytes Code size: 1893992 bytes Data size: 4838772 bytes Stack/heap size: 16384 bytes; estimated max. usage=5656 cells (22624 bytes) Total requirements: 6758676 bytes 23 Warnings.
Строки Code
267 - forward SlakClose3(); 289 - forward LoadBoxer(); 131 - #define COLOR_RED 0xAA3333AA 145 - #define COLOR_DBLUE 0x2641FEAA 3146 - SendClientMessage(playerid, COLOR_LIGHTRED, "Склад на котрый требуется доствить груз отмечен на радаре!"); 3156 - SendClientMessage(playerid, COLOR_LIGHTRED, "Склад на котрый требуется доствить груз отмечен на радаре!"); 7205 - new newcar = GetPlayerVehicleID(playerid); 8777 - new newcar = GetPlayerVehicleID(i)-NH; 12403 - cripz_[21] = AddStaticVehicle(444,1981.4567,1786.1627,15.9236,91.52720,-1,-1,60000); //monster0 12404 - cripz_[22] = AddStaticVehicle(559,1981.6195,1781.8849,15.2156,90.2267,0,-1,-1,60000); //celica 12519 - rep_[2] = AddStaticVehicleEx(582,1880.5868,1900.6536,13.2658,184.4571,47,53); // 12520 - rep_[3] = AddStaticVehicleEx(582,1885.6792,1901.0070,13.2648,190.2563,47,53); // 12521 - rep_[4] = AddStaticVehicleEx(582,1890.2263,1901.2360,13.2790,182.5294,47,53); // 12561 - lik_[7] = AddStaticVehicleEx(492,2103.7488,-2170.5203,21.2035,90.2910,1,1); // 12562 - lik_[8] = AddStaticVehicleEx(492,2103.7952,-2173.3340,21.2295,91.0881,1,1); // 12563 - lik_[9] = AddStaticVehicleEx(492,2103.8354,-2175.8909,21.2294,90.1396,1,1); // 24670 - new newcar = GetPlayerVehicleID(playerid); 28476 - return 1; 35558 - new ttext[255]; 39135 - spaceGroupsToSpaces(text); 39136 - trimSideSpaces(text);
Автор - Spector Дата добавления - 30.08.2011 в 13:18:48
Сообщение Spector , это после чего у вас такие ошибки выскочили чтоб знать за ранее и помочь вам решить проблему!Автор - admin Дата добавления - 31.08.2011 в 13:27:50
SeenFOX Дата: Четверг, 08.09.2011, 17:31:17 | Сообщение # 245
Группа: Пользователи
Сообщений: 12
Code
D:\Закачки\Для SAMP'а\Серв с ЛВДМ модом 0.3c R2\gamemodes\lvdm.pwn(989) : warning 203: symbol is never used: "gActivePlayers" D:\Закачки\Для SAMP'а\Серв с ЛВДМ модом 0.3c R2\gamemodes\lvdm.pwn(989) : warning 203: symbol is never used: "gLastGaveCash" Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 2 Warnings.
Как убрать?...надоели просто)...строки на которую они указывают нет...
Бла бла бла :D
Сообщение Code
D:\Закачки\Для SAMP'а\Серв с ЛВДМ модом 0.3c R2\gamemodes\lvdm.pwn(989) : warning 203: symbol is never used: "gActivePlayers" D:\Закачки\Для SAMP'а\Серв с ЛВДМ модом 0.3c R2\gamemodes\lvdm.pwn(989) : warning 203: symbol is never used: "gLastGaveCash" Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 2 Warnings.
Как убрать?...надоели просто)...строки на которую они указывают нет...Автор - SeenFOX Дата добавления - 08.09.2011 в 17:31:17
[east_side]_trane Дата: Четверг, 08.09.2011, 18:27:41 | Сообщение # 246
Группа: Пользователи
Сообщений: 443
В моде найди эти функции поиском( типо в поиск введи:gLastGaveCash и потом gActivePlayers) И удали их Поиск включается на Ctrl + F С тебя + и подарок =)
Pawn скриптер Мои услуги по оптимизации
Сообщение В моде найди эти функции поиском( типо в поиск введи:gLastGaveCash и потом gActivePlayers) И удали их Поиск включается на Ctrl + F С тебя + и подарок =) Автор - [east_side]_trane Дата добавления - 08.09.2011 в 18:27:41
CEHbKA Дата: Понедельник, 19.09.2011, 20:22:45 | Сообщение # 247
Группа: Пользователи
Сообщений: 72
Code
D:\Для скриптинга\Мои моды\zz.pwn(994) : error 002: only a single statement (or expression) can follow each "case" D:\Для скриптинга\Мои моды\zz.pwn(994 -- 995) : error 029: invalid expression, assumed zero D:\Для скриптинга\Мои моды\zz.pwn(1105) : error 029: invalid expression, assumed zero D:\Для скриптинга\Мои моды\zz.pwn(1105) : error 004: function "OnPlayerClickPlayer" is not implemented D:\Для скриптинга\Мои моды\zz.pwn(1109) : error 030: compound statement not closed at the end of file (started at line 943) Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 5 Errors.
Code
Строчки: 994: if(dialogid == 700) 995: { 1105: public OnPlayerClickPlayer(playerid, clickedplayerid, source) 1109 строчки нет
Помогите плиз за + и подарок , побыстрее плиз!
<a href="http://drifti.ru/blog/nochnye_prestuplenija_freestyla/2012-05-29-83"><img style="width:350px;height:20px;" title="Ночные Преступления Freestyla" src="http://www.gs4u.net/350x20/samp/82.146.40.134:7861.png"></a>
Сообщение Code
D:\Для скриптинга\Мои моды\zz.pwn(994) : error 002: only a single statement (or expression) can follow each "case" D:\Для скриптинга\Мои моды\zz.pwn(994 -- 995) : error 029: invalid expression, assumed zero D:\Для скриптинга\Мои моды\zz.pwn(1105) : error 029: invalid expression, assumed zero D:\Для скриптинга\Мои моды\zz.pwn(1105) : error 004: function "OnPlayerClickPlayer" is not implemented D:\Для скриптинга\Мои моды\zz.pwn(1109) : error 030: compound statement not closed at the end of file (started at line 943) Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 5 Errors.
Code
Строчки: 994: if(dialogid == 700) 995: { 1105: public OnPlayerClickPlayer(playerid, clickedplayerid, source) 1109 строчки нет
Помогите плиз за + и подарок , побыстрее плиз!Автор - CEHbKA Дата добавления - 19.09.2011 в 20:22:45
admin Дата: Понедельник, 19.09.2011, 20:32:46 | Сообщение # 248
Группа: Администраторы
Сообщений: 3869
Jaguar , скинь диолог 700.полностью Quote (Jaguar )
public OnPlayerClickPlayer(playerid, clickedplayerid, source)
такого нет))а есть такой: Code
public OnPlayerClickPlayer(playerid)
zm-jail.ru Разработка сайта samp-pawno.ru
Сообщение Jaguar , скинь диолог 700.полностью Quote (Jaguar )
public OnPlayerClickPlayer(playerid, clickedplayerid, source)
такого нет))а есть такой: Code
public OnPlayerClickPlayer(playerid)
Автор - admin Дата добавления - 19.09.2011 в 20:32:46
CEHbKA Дата: Понедельник, 19.09.2011, 20:35:01 | Сообщение # 249
Группа: Пользователи
Сообщений: 72
Code
if(dialogid == 700) { if(response) { switch(listitem) { case 0: { SetPlayerColor(playerid,0xAA3333AA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован красный цвет!"); } case 1: { SetPlayerColor(playerid,0xAFAFAFAA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован серый цвет!"); } case 2: { SetPlayerColor(playerid,0x008000AA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован зеленый цвет!"); } case 3: { SetPlayerColor(playerid,0xFF80FFAA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован розовый цвет!"); } case 4: { SetPlayerColor(playerid,0x00FF40AA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован цвет лайма!"); } case 5: { SetPlayerColor(playerid,0x0000FFAA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован синий цвет!"); } case 6: { SetPlayerColor(playerid,0xFFFF00AA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован желтый цвет!"); } case 7: { SetPlayerColor(playerid,0x00FFFFAA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован голубой цвет!"); } case 8: { SetPlayerColor(playerid,0xFF8000AA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован оранжевый цвет!"); } case 9: { SetPlayerColor(playerid,0xFF00FFAA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован цвет 'Магента'!"); } case 10: { SetPlayerColor(playerid,0xF96C77AA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован томатный цвет!"); } case 11: { SetPlayerColor(playerid,0x400080AA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован цвет 'Индиго'!"); } case 12: { SetPlayerColor(playerid,0x808000AA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован золотой цвет!"); } case 13: { SetPlayerColor(playerid,0x808040AA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован оливковый цвет!"); } case 14: { SetPlayerColor(playerid,0x809E21AA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован желто-зеленый цвет!"); } case 15: { SetPlayerColor(playerid,0x804040AA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован коричневый цвет!"); } case 16: { SetPlayerColor(playerid,0xAD163DAA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован коралловый цвет!"); } case 17: { SetPlayerColor(playerid,0xFF4500AA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован красно-оранжевый цвет!"); } case 18: { SetPlayerColor(playerid,0xFFFFFF00); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован режим невидимости!"); } } } }
Вот
<a href="http://drifti.ru/blog/nochnye_prestuplenija_freestyla/2012-05-29-83"><img style="width:350px;height:20px;" title="Ночные Преступления Freestyla" src="http://www.gs4u.net/350x20/samp/82.146.40.134:7861.png"></a>
Сообщение Code
if(dialogid == 700) { if(response) { switch(listitem) { case 0: { SetPlayerColor(playerid,0xAA3333AA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован красный цвет!"); } case 1: { SetPlayerColor(playerid,0xAFAFAFAA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован серый цвет!"); } case 2: { SetPlayerColor(playerid,0x008000AA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован зеленый цвет!"); } case 3: { SetPlayerColor(playerid,0xFF80FFAA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован розовый цвет!"); } case 4: { SetPlayerColor(playerid,0x00FF40AA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован цвет лайма!"); } case 5: { SetPlayerColor(playerid,0x0000FFAA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован синий цвет!"); } case 6: { SetPlayerColor(playerid,0xFFFF00AA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован желтый цвет!"); } case 7: { SetPlayerColor(playerid,0x00FFFFAA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован голубой цвет!"); } case 8: { SetPlayerColor(playerid,0xFF8000AA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован оранжевый цвет!"); } case 9: { SetPlayerColor(playerid,0xFF00FFAA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован цвет 'Магента'!"); } case 10: { SetPlayerColor(playerid,0xF96C77AA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован томатный цвет!"); } case 11: { SetPlayerColor(playerid,0x400080AA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован цвет 'Индиго'!"); } case 12: { SetPlayerColor(playerid,0x808000AA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован золотой цвет!"); } case 13: { SetPlayerColor(playerid,0x808040AA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован оливковый цвет!"); } case 14: { SetPlayerColor(playerid,0x809E21AA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован желто-зеленый цвет!"); } case 15: { SetPlayerColor(playerid,0x804040AA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован коричневый цвет!"); } case 16: { SetPlayerColor(playerid,0xAD163DAA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован коралловый цвет!"); } case 17: { SetPlayerColor(playerid,0xFF4500AA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован красно-оранжевый цвет!"); } case 18: { SetPlayerColor(playerid,0xFFFFFF00); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован режим невидимости!"); } } } }
ВотАвтор - CEHbKA Дата добавления - 19.09.2011 в 20:35:01
admin Дата: Вторник, 20.09.2011, 19:58:39 | Сообщение # 250
Группа: Администраторы
Сообщений: 3869
Jaguar , вот сделал все нормуль работает!если у тебя не будет нормуль работать с диолог. тогда обнови инклуды: Code
public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/cveta", cmdtext, true, 10) == 0) { ShowPlayerDialog(playerid,700,DIALOG_STYLE_LIST,"Цвета","красный \nсерый \nзеленый \nрозовый \nлайма \nсиний \nжелтый \nголубой \nоранжевый \nмагнета \nтоманный \nИндиго \nзолотой \nоликовый \nжелто-зеленый \nкоричневый \nкоралловый \nкрасно-оранжевый \nневидимости","Купить","отмена"); return 1; } return 0; }
Code
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if(dialogid == 700) { if(response) { switch(listitem) { case 0: { SetPlayerColor(playerid,0xAA3333AA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован красный цвет!"); } case 1: { SetPlayerColor(playerid,0xAFAFAFAA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован серый цвет!"); } case 2: { SetPlayerColor(playerid,0x008000AA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован зеленый цвет!"); } case 3: { SetPlayerColor(playerid,0xFF80FFAA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован розовый цвет!"); } case 4: { SetPlayerColor(playerid,0x00FF40AA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован цвет лайма!"); } case 5: { SetPlayerColor(playerid,0x0000FFAA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован синий цвет!"); } case 6: { SetPlayerColor(playerid,0xFFFF00AA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован желтый цвет!"); } case 7: { SetPlayerColor(playerid,0x00FFFFAA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован голубой цвет!"); } case 8: { SetPlayerColor(playerid,0xFF8000AA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован оранжевый цвет!"); } case 9: { SetPlayerColor(playerid,0xFF00FFAA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован цвет 'Магента'!"); } case 10: { SetPlayerColor(playerid,0xF96C77AA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован томатный цвет!"); } case 11: { SetPlayerColor(playerid,0x400080AA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован цвет 'Индиго'!"); } case 12: { SetPlayerColor(playerid,0x808000AA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован золотой цвет!"); } case 13: { SetPlayerColor(playerid,0x808040AA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован оливковый цвет!"); } case 14: { SetPlayerColor(playerid,0x809E21AA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован желто-зеленый цвет!"); } case 15: { SetPlayerColor(playerid,0x804040AA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован коричневый цвет!"); } case 16: { SetPlayerColor(playerid,0xAD163DAA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован коралловый цвет!"); } case 17: { SetPlayerColor(playerid,0xFF4500AA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован красно-оранжевый цвет!"); } case 18: { SetPlayerColor(playerid,0xFFFFFF00); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован режим невидимости!"); } } } } return 1; }
zm-jail.ru Разработка сайта samp-pawno.ru
Сообщение Jaguar , вот сделал все нормуль работает!если у тебя не будет нормуль работать с диолог. тогда обнови инклуды: Code
public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/cveta", cmdtext, true, 10) == 0) { ShowPlayerDialog(playerid,700,DIALOG_STYLE_LIST,"Цвета","красный \nсерый \nзеленый \nрозовый \nлайма \nсиний \nжелтый \nголубой \nоранжевый \nмагнета \nтоманный \nИндиго \nзолотой \nоликовый \nжелто-зеленый \nкоричневый \nкоралловый \nкрасно-оранжевый \nневидимости","Купить","отмена"); return 1; } return 0; }
Code
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if(dialogid == 700) { if(response) { switch(listitem) { case 0: { SetPlayerColor(playerid,0xAA3333AA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован красный цвет!"); } case 1: { SetPlayerColor(playerid,0xAFAFAFAA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован серый цвет!"); } case 2: { SetPlayerColor(playerid,0x008000AA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован зеленый цвет!"); } case 3: { SetPlayerColor(playerid,0xFF80FFAA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован розовый цвет!"); } case 4: { SetPlayerColor(playerid,0x00FF40AA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован цвет лайма!"); } case 5: { SetPlayerColor(playerid,0x0000FFAA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован синий цвет!"); } case 6: { SetPlayerColor(playerid,0xFFFF00AA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован желтый цвет!"); } case 7: { SetPlayerColor(playerid,0x00FFFFAA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован голубой цвет!"); } case 8: { SetPlayerColor(playerid,0xFF8000AA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован оранжевый цвет!"); } case 9: { SetPlayerColor(playerid,0xFF00FFAA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован цвет 'Магента'!"); } case 10: { SetPlayerColor(playerid,0xF96C77AA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован томатный цвет!"); } case 11: { SetPlayerColor(playerid,0x400080AA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован цвет 'Индиго'!"); } case 12: { SetPlayerColor(playerid,0x808000AA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован золотой цвет!"); } case 13: { SetPlayerColor(playerid,0x808040AA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован оливковый цвет!"); } case 14: { SetPlayerColor(playerid,0x809E21AA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован желто-зеленый цвет!"); } case 15: { SetPlayerColor(playerid,0x804040AA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован коричневый цвет!"); } case 16: { SetPlayerColor(playerid,0xAD163DAA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован коралловый цвет!"); } case 17: { SetPlayerColor(playerid,0xFF4500AA); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован красно-оранжевый цвет!"); } case 18: { SetPlayerColor(playerid,0xFFFFFF00); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Активирован режим невидимости!"); } } } } return 1; }
Автор - admin Дата добавления - 20.09.2011 в 19:58:39
ROCK-MyLife Дата: Суббота, 01.10.2011, 10:16:42 | Сообщение # 251
Группа: Пользователи
Сообщений: 1
Code
C:\Users\AleKi\SAMP\ÑÅÐÂÅÐ_ÂÈÍÄÎÂÑ\gamemodes\GameLife.pwn(823) : warning 213: tag mismatch
Вот строка: Code
stock DB:CrashedPlayers = 0;
Помогите.
Сообщение Code
C:\Users\AleKi\SAMP\ÑÅÐÂÅÐ_ÂÈÍÄÎÂÑ\gamemodes\GameLife.pwn(823) : warning 213: tag mismatch
Вот строка: Code
stock DB:CrashedPlayers = 0;
Помогите.Автор - ROCK-MyLife Дата добавления - 01.10.2011 в 10:16:42
Bagq Дата: Воскресенье, 02.10.2011, 10:39:58 | Сообщение # 252
Группа: Пользователи
Сообщений: 4
error 047: array sizes do not match, or destination array is too small error 047: array sizes do not match, or destination array is too small подскожите что мне делать с этими ошибками
Сообщение error 047: array sizes do not match, or destination array is too small error 047: array sizes do not match, or destination array is too small подскожите что мне делать с этими ошибками Автор - Bagq Дата добавления - 02.10.2011 в 10:39:58
Dimka_71rus Дата: Воскресенье, 02.10.2011, 13:54:36 | Сообщение # 253
Группа: Пользователи
Сообщений: 360
Помогите с ошибкой 033 Code
D:\Всё для компьютера\Сервер\дополнительно\GalaxY мод разархивированный\gamemodes\GalaxY.pwn(30217) : error 033: array must be indexed (variable "zona") D:\Всё для компьютера\Сервер\дополнительно\GalaxY мод разархивированный\gamemodes\GalaxY.pwn(30259) : error 033: array must be indexed (variable "zona") D:\Всё для компьютера\Сервер\дополнительно\GalaxY мод разархивированный\gamemodes\GalaxY.pwn(30270) : error 033: array must be indexed (variable "zona")
В начале мода прописал new zona[255];
Лучшие моды,скрипты,карты - вы найдёте на сайте samp-pawno.ru Самые чёткие ответы на ваши вопросы и помощь по скритингу вы найдёте на сайте forum-pawno.ru
Сообщение Помогите с ошибкой 033 Code
D:\Всё для компьютера\Сервер\дополнительно\GalaxY мод разархивированный\gamemodes\GalaxY.pwn(30217) : error 033: array must be indexed (variable "zona") D:\Всё для компьютера\Сервер\дополнительно\GalaxY мод разархивированный\gamemodes\GalaxY.pwn(30259) : error 033: array must be indexed (variable "zona") D:\Всё для компьютера\Сервер\дополнительно\GalaxY мод разархивированный\gamemodes\GalaxY.pwn(30270) : error 033: array must be indexed (variable "zona")
В начале мода прописал new zona[255]; Автор - Dimka_71rus Дата добавления - 02.10.2011 в 13:54:36
TWiX Дата: Воскресенье, 02.10.2011, 22:29:31 | Сообщение # 254
Группа: Пользователи
Сообщений: 316
Quote (Dimka_71rus )
Помогите с ошибкой 033 Код: Выделить всёD:\Всё для компьютера\Сервер\дополнительно\GalaxY мод разархивированный\gamemodes\GalaxY.pwn(30217) : error 033: array must be indexed (variable "zona") D:\Всё для компьютера\Сервер\дополнительно\GalaxY мод разархивированный\gamemodes\GalaxY.pwn(30259) : error 033: array must be indexed (variable "zona") D:\Всё для компьютера\Сервер\дополнительно\GalaxY мод разархивированный\gamemodes\GalaxY.pwn(30270) : error 033: array must be indexed (variable "zona") В начале мода прописал new zona[255];
error 033: array must be indexed (variable "%s") - Массив неизвестен; это я так понял что у тебя zona не там стоит где надо
Хоронят олигарха. Гроб стоит. Собрались друзья. Подходит к покойному Гусинский, достает портмоне, извлекает 200 долларов, кладет в гроб и скорбно отходит. За Гусинским к гробу подходит Потанин, тоже достает портмоне, отсчитывает 200 долларов, кладет, отходит. Наконец, подбегает Березовский. Достает чековую книжку, выписывает чек на 600 долларов, кладе, забирает 400 баксов наличными, отходит.
Сообщение Quote (Dimka_71rus )
Помогите с ошибкой 033 Код: Выделить всёD:\Всё для компьютера\Сервер\дополнительно\GalaxY мод разархивированный\gamemodes\GalaxY.pwn(30217) : error 033: array must be indexed (variable "zona") D:\Всё для компьютера\Сервер\дополнительно\GalaxY мод разархивированный\gamemodes\GalaxY.pwn(30259) : error 033: array must be indexed (variable "zona") D:\Всё для компьютера\Сервер\дополнительно\GalaxY мод разархивированный\gamemodes\GalaxY.pwn(30270) : error 033: array must be indexed (variable "zona") В начале мода прописал new zona[255];
error 033: array must be indexed (variable "%s") - Массив неизвестен; это я так понял что у тебя zona не там стоит где надоАвтор - TWiX Дата добавления - 02.10.2011 в 22:29:31
СаНек Дата: Понедельник, 03.10.2011, 18:43:25 | Сообщение # 255
Группа: Пользователи
Сообщений: 2
(268) warning 201: redefinition of constant/macro (symbol "OnGameModeInit") (290) : warning 201: redefinition of constant/macro (symbol "OnPlayerConnect") (18950) : warning 219: local variable "idx" shadows a variable at a preceding level (45676) : warning 202: number of arguments does not match definition Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Warnings. Подскажите пожалуйста..
Сообщение (268) warning 201: redefinition of constant/macro (symbol "OnGameModeInit") (290) : warning 201: redefinition of constant/macro (symbol "OnPlayerConnect") (18950) : warning 219: local variable "idx" shadows a variable at a preceding level (45676) : warning 202: number of arguments does not match definition Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Warnings. Подскажите пожалуйста.. Автор - СаНек Дата добавления - 03.10.2011 в 18:43:25
Загрузка страницы, займет меньше минуты...
Статистика Форума
Последнии темы
Читаемые темы
Лучшие пользователи
Новые пользователи