|
F.A.Q. по созданию фракций
|
|
| DarkMark | Дата: Воскресенье, 14.12.2008, 19:47 | Сообщение # 106 |
|
Уверенный в себе
Группа:
Продвинутые
Сообщений: 284
Награды: 10
Город: СПБ
Репутация: 7
Замечания: 100%
Статус: 
| LaseR, 0 - Безоружный 1 - Костет 2 - Клюшка для гольфа 3 - Night Stick 4 - Нож 5 - Бейсбольная бита 6 - Лопата 7 - Бильярдный кий 8 - Катана 9 - Бензопила 10 - Purple Dildo 11 - White Dildo 12 - Long White Dildo 13 - White Dildo 2 14 - Цветы 15 - Трость 16 - Гранаты 17 - Газовый баллончик 18 - Коктейль Молотова 19 - Ракета 20 - Ракета 21 - Ракета 22 - Пистолет 23 - Пистолет с глушителем 24 - Пустынный орёл 25 - Дробовик 26 - Обрез 27 - Боевой дробовик 28 - Микро Узи (Мак 10) 29 - MP5 30 - АК47 31 - M4 32 - Тек9 33 - Винтовка 34 - Снайперская винтовка 35 - РПГ 36 - Ракетница 37 - Огнемёт 38 - Пулемёт 39 - Взрывпакеты 40 - Детонатор 41 - Баллончик с краской 42 - Огнетушитель 43 - Фотоаппарат 44 - Очки ночного видения 45 - Инфракрасные очки 46 - Парашют P.S. и если не жалко + поставьДобавлено (14.12.2008, 19:47) --------------------------------------------- у меня неработет /f !!!!!!
|
| |
|
|
| SparzMc | Дата: Среда, 17.12.2008, 04:54 | Сообщение # 107 |
|
Постоялец
Группа:
Пользователи
Сообщений: 394
Награды: 10
Город: 000ds
Репутация: 20
Замечания: 60%
Статус: 
| Во как =( [pwn]Godfather.pwn(1169) : error 052: multi-dimensional arrays must be fully initialized Godfather.pwn(2845) : warning 217: loose indentation Godfather.pwn(3538) : warning 217: loose indentation Godfather.pwn(5913) : warning 217: loose indentation Godfather.pwn(5918) : warning 217: loose indentation Godfather.pwn(5941) : warning 217: loose indentation Godfather.pwn(6014) : error 017: undefined symbol "ftext" Godfather.pwn(6014) : warning 215: expression has no effect Godfather.pwn(6135) : warning 217: loose indentation Godfather.pwn(6948) : warning 217: loose indentation Godfather.pwn(10568) : warning 217: loose indentation Godfather.pwn(10640) : warning 217: loose indentation Godfather.pwn(13453) : warning 217: loose indentation Godfather.pwn(13460) : warning 217: loose indentation Godfather.pwn(13503) : warning 217: loose indentation Godfather.pwn(23313) : warning 217: loose indentation Godfather.pwn(25375) : warning 217: loose indentation Godfather.pwn(25415) : warning 217: loose indentation Godfather.pwn(26327) : error 032: array index out of bounds (variable "JoinPed") Godfather.pwn(26327) : error 032: array index out of bounds (variable "JoinPed") Godfather.pwn(27423) : warning 203: symbol is never used: "GroundholdIcones" Godfather.pwn(27423) : warning 203: symbol is never used: "HousesIcones" Godfather.pwn(27423) : warning 203: symbol is never used: "MapIconFunc" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.[/pwn]
|
| |
|
|
| DarkMark | Дата: Среда, 17.12.2008, 13:50 | Сообщение # 108 |
|
Уверенный в себе
Группа:
Продвинутые
Сообщений: 284
Награды: 10
Город: СПБ
Репутация: 7
Замечания: 100%
Статус: 
| DarkStep_eXtreme, чё то там со скинами ты напутал вроде.... [pwn]Godfather.pwn(26327) : error 032: array index out of bounds (variable "JoinPed") Godfather.pwn(26327) : error 032: array index out of bounds (variable "JoinPed")[/pwn]
|
| |
|
|
| Xottab96 | Дата: Среда, 17.12.2008, 14:09 | Сообщение # 109 |
|
Новенький
Группа:
Пользователи
Сообщений: 7
Награды: 1
Репутация: 2
Замечания: 0%
Статус: 
| У меня эта ошибка E:\Server\gamemodes\GF(edit4).pwn(1323) : error 001: expected token: "}", but found "{" E:\Server\gamemodes\GF(edit4).pwn(1326) : error 010: invalid function or declaration E:\Server\gamemodes\GF(edit4).pwn(17290) : warning 202: number of arguments does not match definition E:\Server\gamemodes\GF(edit4).pwn(27822) : error 032: array index out of bounds (variable "JoinPed") E:\Server\gamemodes\GF(edit4).pwn(27822) : error 032: array index out of bounds (variable "JoinPed") Как исправить??
|
| |
|
|
| NaeboK | Дата: Среда, 17.12.2008, 16:16 | Сообщение # 110 |
|
Уверенный в себе
Группа:
I'm V.I.P.
Сообщений: 266
Награды: 7
Город: moscow
Репутация: 85
Замечания: 20%
Статус: 
| ты скины в JoinPed прописал? последние две ошибки мне знакомы...
Сообщение отредактировал [RUS]Naedok - Среда, 17.12.2008, 16:18 |
| |
|
|
| Xottab96 | Дата: Среда, 17.12.2008, 16:31 | Сообщение # 111 |
|
Новенький
Группа:
Пользователи
Сообщений: 7
Награды: 1
Репутация: 2
Замечания: 0%
Статус: 
| [RUS]Naedok, Да!!! Добавлено (17.12.2008, 16:25) ---------------------------------------------
Code E:\Server\gamemodes\GF(moy).pwn(25317) : error 032: array index out of bounds (variable "JoinPed") E:\Server\gamemodes\GF(moy).pwn(25317) : error 032: array index out of bounds (variable "JoinPed") Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors. Вот что у меня теперь!!!Добавлено (17.12.2008, 16:31) --------------------------------------------- ВСЕ исправил (дописал еще один тупой скин)
|
| |
|
|
| NightHawK | Дата: Четверг, 18.12.2008, 11:11 | Сообщение # 112 |
|
Постоялец
Группа:
I'm V.I.P.
Сообщений: 420
Награды: 7
Город: -=Samp City=-
Репутация: 188
Замечания: 40%
Статус: 
| Как сделать чтоб /f работал???
|
| |
|
|
| wizar | Дата: Воскресенье, 21.12.2008, 15:47 | Сообщение # 113 |
|
Уверенный в себе
Группа:
Продвинутые
Сообщений: 277
Награды: 2
Город: Алчевск
Репутация: -20
Замечания: 20%
Статус: 
| Народ посомтрите что за ошибки скажите как исправить и где + дам Code E:\______ZIP_-_WinRAR\gamemodes\gf.pwn(1137) : error 018: initialization data exceeds declared size E:\______ZIP_-_WinRAR\gamemodes\gf.pwn(2936) : warning 217: loose indentation E:\______ZIP_-_WinRAR\gamemodes\gf.pwn(2947) : warning 217: loose indentation E:\______ZIP_-_WinRAR\gamemodes\gf.pwn(3993) : warning 217: loose indentation E:\______ZIP_-_WinRAR\gamemodes\gf.pwn(5705) : warning 217: loose indentation E:\______ZIP_-_WinRAR\gamemodes\gf.pwn(5714) : warning 217: loose indentation E:\______ZIP_-_WinRAR\gamemodes\gf.pwn(5890) : warning 217: loose indentation E:\______ZIP_-_WinRAR\gamemodes\gf.pwn(6048) : warning 217: loose indentation E:\______ZIP_-_WinRAR\gamemodes\gf.pwn(6054) : warning 217: loose indentation E:\______ZIP_-_WinRAR\gamemodes\gf.pwn(6132) : warning 209: function "SetPlayerToTeamColor" should return a value E:\______ZIP_-_WinRAR\gamemodes\gf.pwn(7122) : warning 213: tag mismatch E:\______ZIP_-_WinRAR\gamemodes\gf.pwn(7122) : warning 202: number of arguments does not match definition E:\______ZIP_-_WinRAR\gamemodes\gf.pwn(10797) : warning 217: loose indentation E:\______ZIP_-_WinRAR\gamemodes\gf.pwn(10869) : warning 217: loose indentation E:\______ZIP_-_WinRAR\gamemodes\gf.pwn(17719) : warning 217: loose indentation E:\______ZIP_-_WinRAR\gamemodes\gf.pwn(17749) : warning 217: loose indentation E:\______ZIP_-_WinRAR\gamemodes\gf.pwn(24142) : warning 217: loose indentation E:\______ZIP_-_WinRAR\gamemodes\gf.pwn(25729) : error 032: array index out of bounds (variable "JoinPed") E:\______ZIP_-_WinRAR\gamemodes\gf.pwn(25729) : error 032: array index out of bounds (variable "JoinPed") E:\______ZIP_-_WinRAR\gamemodes\gf.pwn(25731) : error 002: only a single statement (or expression) can follow each "case" E:\______ZIP_-_WinRAR\gamemodes\gf.pwn(25731) : warning 215: expression has no effect E:\______ZIP_-_WinRAR\gamemodes\gf.pwn(26887) : warning 203: symbol is never used: "realchat" Добавлено (21.12.2008, 13:31) --------------------------------------------- у мну добавление оружие непашет в павно норм захожу в игру оружия нет :(Помогите Добавлено (21.12.2008, 15:47) --------------------------------------------- а через что координаты спавна делать?через дебюг или мта мап едитор?
|
| |
|
|
| SooM | Дата: Понедельник, 22.12.2008, 19:06 | Сообщение # 114 |
|
Постоялец
Группа:
Продвинутые
Сообщений: 378
Награды: 2
Город: хЗЗЗЗ
Репутация: -95
Замечания: 80%
Статус: 
| ошибки появляются ну полюбе норм спс
Истина не рождается из истины. Истина рождается из ошибок.©SooM
|
| |
|
|
| Hamst3r | Дата: Четверг, 25.12.2008, 23:22 | Сообщение # 115 |
|
Пяниед
Группа:
Продвинутые
Сообщений: 378
Награды: 16
Город: London
Репутация: 157
Замечания: 40%
Статус: 
| Также автор забыл добавить фракцию в /clothes. Если не добавить, то скин можно сменить через админа, а это уже проблема. Ищем:Code if(PlayerInfo[playerid][pMember] == 1) { ChosenSkin[playerid] = 280; SetPlayerSkin(playerid, 280); } else if(PlayerInfo[playerid][pMember] == 2) { ChosenSkin[playerid] = 286; SetPlayerSkin(playerid, 286); } К последнему else if добавляем: Code else if(PlayerInfo[playerid][pMember] == ID_добавленной_фракции) { ChosenSkin[playerid] = ID_ПЕРВОГО_СКИНА_ДЛЯ_ВЫБОРА; SetPlayerSkin(playerid, ID_ПЕРВОГО_СКИНА_ДЛЯ_ВЫБОРА); } Также, если это мафия, то ID фракции надо добавить в команду /clear, чтобы очищать розыск членам фракции. Ищем: Code else if(member == 5||member == 6||leader == 5||leader == 6) Изменяем на: Code else if(member == 5||member == 6||leader == 5||leader == 6||leader == ID_НОВОЙ_ФРАКЦИИ||leader == ID_НОВОЙ_ФРАКЦИИ)
Профессиональные PHP скрипты любой сложности, оптимизация игровых режимов для SA:MP. Дорого. Охуенно. [359-660-329]
Сообщение отредактировал daxter - Четверг, 25.12.2008, 23:23 |
| |
|
|
| Joker[E7] | Дата: Пятница, 26.12.2008, 23:09 | Сообщение # 116 |
|
Новенький
Группа:
Пользователи
Сообщений: 5
Награды: 1
Город: Сочи
Репутация: 2
Замечания: 0%
Статус: 
| Люди пожалуйста помогите зделать на моде баласов ацтеков и триаду пробовал делать сам ниполучилось я Нубко в этом деле прошу зделайте http://depositfiles.com/files/r67r5g1fm
|
| |
|
|
| Alan_Wake | Дата: Воскресенье, 28.12.2008, 17:37 | Сообщение # 117 |
|
Уверенный в себе
Группа:
Продвинутые
Сообщений: 296
Награды: 2
Город: Санкт-Петербург
Репутация: 38
Замечания: 0%
Статус: 
| Лучше самому научиться,у меня раза с 3его получилось=) Как оказалось-кривые руки=)
F.A.Q "Создание шлагбаумов"
likext.com -все самое интересное из мира спорта
|
| |
|
|
| tim359 | Дата: Пятница, 02.01.2009, 14:26 | Сообщение # 118 |
|
Новенький
Группа:
Пользователи
Сообщений: 6
Награды: 1
Город: Los-Angeles
Репутация: 4
Замечания: 0%
Статус: 
| плизз помогите у мя туть ошибки case 12: //Grove { if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[105][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[105][0]; } else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[106][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[106][0]; } else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, JoinPed[107][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = JoinPed[107][0]; } else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, JoinPed[269][0]); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = JoinPed[269][0]; } else if(SelectCharPlace[playerid] == 7) { SetPlayerSkin(playerid, JoinPed[270][0]); SelectCharPlace[playerid] = 7; ChosenSkin[playerid] = JoinPed[270][0]; } else if(SelectCharPlace[playerid] == ) { SetPlayerSkin(playerid, JoinPed[271][0]); SelectCharPlace[playerid] = 8; ChosenSkin[playerid] = JoinPed[271][0]; } } А аоть сами ошибки C:\DOCUME~1\user\0016~1\(9)~1\246_SA~1\GAMEMO~1\GF.pwn(25298) : error 032: array index out of bounds (variable "JoinPed") C:\DOCUME~1\user\0016~1\(9)~1\246_SA~1\GAMEMO~1\GF.pwn(25298) : error 032: array index out of bounds (variable "JoinPed") C:\DOCUME~1\user\0016~1\(9)~1\246_SA~1\GAMEMO~1\GF.pwn(25299) : error 032: array index out of bounds (variable "JoinPed") C:\DOCUME~1\user\0016~1\(9)~1\246_SA~1\GAMEMO~1\GF.pwn(25299) : error 032: array index out of bounds (variable "JoinPed") C:\DOCUME~1\user\0016~1\(9)~1\246_SA~1\GAMEMO~1\GF.pwn(25300) : error 032: array index out of bounds (variable "JoinPed") C:\DOCUME~1\user\0016~1\(9)~1\246_SA~1\GAMEMO~1\GF.pwn(25300) : error 032: array index out of bounds (variable "JoinPed") C:\DOCUME~1\user\0016~1\(9)~1\246_SA~1\GAMEMO~1\GF.pwn(25301) : error 032: array index out of bounds (variable "JoinPed") C:\DOCUME~1\user\0016~1\(9)~1\246_SA~1\GAMEMO~1\GF.pwn(25301) : error 032: array index out of bounds (variable "JoinPed") C:\DOCUME~1\user\0016~1\(9)~1\246_SA~1\GAMEMO~1\GF.pwn(25302) : error 032: array index out of bounds (variable "JoinPed") C:\DOCUME~1\user\0016~1\(9)~1\246_SA~1\GAMEMO~1\GF.pwn(25302) : error 032: array index out of bounds (variable "JoinPed") C:\DOCUME~1\user\0016~1\(9)~1\246_SA~1\GAMEMO~1\GF.pwn(25303) : error 029: invalid expression, assumed zero C:\DOCUME~1\user\0016~1\(9)~1\246_SA~1\GAMEMO~1\GF.pwn(25303) : error 032: array index out of bounds (variable "JoinPed") C:\DOCUME~1\user\0016~1\(9)~1\246_SA~1\GAMEMO~1\GF.pwn(25303) : error 032: array index out of bounds (variable "JoinPed") C:\DOCUME~1\user\0016~1\(9)~1\246_SA~1\GAMEMO~1\GF.pwn(25303) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 14 Errors.
|
| |
|
|
| rastoman61 | Дата: Пятница, 02.01.2009, 15:38 | Сообщение # 119 |
|
Освоившийся
Группа:
Продвинутые
Сообщений: 136
Награды: 2
Город: Ростов
Репутация: 11
Замечания: 100%
Статус: 
| тебе нада была не вставлять как у тебя там 105 а нада было посматрет какой у тебя норме сверху допустим 56 SetPlayerSkin(playerid, JoinPed[105][0]); SelectCharPlace[playerid] и онобы выгледила вутак SetPlayerSkin(playerid, JoinPed[57][0]); SelectCharPlace[playerid] SetPlayerSkin(playerid, JoinPed[58][0]); SelectCharPlace[playerid] и тогдалия
:518-455
|
| |
|
|
| tyomavin | Дата: Воскресенье, 04.01.2009, 23:44 | Сообщение # 120 |
|
Новенький
Группа:
Пользователи
Сообщений: 20
Награды: 2
Город: Питер
Репутация: 5
Замечания: 40%
Статус: 
| Тема помогла
-----
|
| |
|
|