Короче возьми код и ВНИМАТЕЛЬНО пересмотри его))) Или делай как я говорил)) Скопируй етот код и по частям делай. И увидешь в какой части ошибка. )) Меньше искать придётся [FS/INC] fN Anti-Cheat 33% [FS] Pizza 24% http://samp-rus.com/forum/8-11127-1 [FS] GPS System 100% http://www.samp-rus.com/forum/8-11100-1#195878 [FS] CarInfo 100 % [GM] TDM 0.1 Разработчики : Fusion Тестеры : None Готовность : 5% [Pause] Требуются тестеры и скриптер
Дорабатываю,модифицирую,исправляю моды Godfather,обращатся в асю -_-
эти строки не связаны с моими добавленными фракциями!! Например:
[pwn] if(newstate == PLAYER_STATE_PASSENGER) // TAXI & BUSSES { new name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof(name)); new vehicleid = GetPlayerVehicleID(playerid); for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(IsPlayerInVehicle(i, vehicleid) && GetPlayerState(i) == 2 && TransportDuty[i] > 0) { if(GetPlayerMoney(playerid) < TransportValue[i]) { format(string, sizeof(string), "* You need $%d to enter.", TransportValue[i]); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); RemovePlayerFromVehicle(playerid); } else { if(TransportDuty[i] == 1) { format(string, sizeof(string), "* You paid $%d to the Taxi Driver.", TransportValue[i]); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* Passenger %s has entered your Taxi.", name); SendClientMessage(i, COLOR_LIGHTBLUE, string); TransportTime[i] = 1; TransportTime[playerid] = 1; TransportCost[playerid] = TransportValue[i]; TransportCost[i] = TransportValue[i]; TransportDriver[playerid] = i; } else if(TransportDuty[i] == 2) { format(string, sizeof(string), "* You paid $%d to the Bus Driver.", TransportValue[i]); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* Passenger %s has entered your Bus.", name); SendClientMessage(i, COLOR_LIGHTBLUE, string); } GivePlayerMoney(playerid, - TransportValue[i]); TransportMoney[i] += TransportValue[i]; } } } } } if(newstate == PLAYER_STATE_WASTED) { if(WantedLevel[playerid] >= 1) { new price = WantedLevel[playerid] * 4000; new count; for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(gTeam[i] == 2 && CrimInRange(30.0, playerid,i)) { count = 1; format(string, sizeof(string), "~w~Running Suspect~r~Killed~n~Bonus~g~$%d", price); GameTextForPlayer(i, string, 5000, 1); ConsumingMoney[i] = 1; GivePlayerMoney(i, price / 2); PlayerPlaySound(i, 1058, 0.0, 0.0, 0.0); } } } if(count == 1) { GivePlayerMoney(playerid, - price); PlayerInfo[playerid][pWantedDeaths] += 1; PlayerInfo[playerid][pJailed] = 1; PlayerInfo[playerid][pJailTime] = (WantedLevel[playerid])*(600); format(string, sizeof(string), "* You are in Jail for %d Seconds and lose $%d because of running away and getting shot by the Officer.", PlayerInfo[playerid][pJailTime], price); SendClientMessage(playerid, COLOR_LIGHTRED, string); WantedPoints[playerid] = 0; WantedLevel[playerid] = 0; } } } [/pwn]
Помогите....
Добавлено (02.11.2009, 17:52) --------------------------------------------- напоминаю! вот какие у меня были ошибки....
C:\Documents and Settings\-SenT-\Рабочий стол\pawno\gf.pwn(1856) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\-SenT-\Рабочий стол\pawno\gf.pwn(1860) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\-SenT-\Рабочий стол\pawno\gf.pwn(1872) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\-SenT-\Рабочий стол\pawno\gf.pwn(1876) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\-SenT-\Рабочий стол\pawno\gf.pwn(1880) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\-SenT-\Рабочий стол\pawno\gf.pwn(1884) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\-SenT-\Рабочий стол\pawno\gf.pwn(1888) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\-SenT-\Рабочий стол\pawno\gf.pwn(1892) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\-SenT-\Рабочий стол\pawno\gf.pwn(1896) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\-SenT-\Рабочий стол\pawno\gf.pwn(1908) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\-SenT-\Рабочий стол\pawno\gf.pwn(1912) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\-SenT-\Рабочий стол\pawno\gf.pwn(1916) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\-SenT-\Рабочий стол\pawno\gf.pwn(1920) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\-SenT-\Рабочий стол\pawno\gf.pwn(1924) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\-SenT-\Рабочий стол\pawno\gf.pwn(1936) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\-SenT-\Рабочий стол\pawno\gf.pwn(1940) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\-SenT-\Рабочий стол\pawno\gf.pwn(1944) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\-SenT-\Рабочий стол\pawno\gf.pwn(1956) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\-SenT-\Рабочий стол\pawno\gf.pwn(1960) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\-SenT-\Рабочий стол\pawno\gf.pwn(2854) : warning 202: number of arguments does not match definition C:\Documents and Settings\-SenT-\Рабочий стол\pawno\gf.pwn(3940) : error 004: function "CrimInRange" is not implemented C:\Documents and Settings\-SenT-\Рабочий стол\pawno\gf.pwn(4158) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\-SenT-\Рабочий стол\pawno\gf.pwn(4765) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\-SenT-\Рабочий стол\pawno\gf.pwn(4842) : error 004: function "ProxDetector" is not implemented C:\Documents and Settings\-SenT-\Рабочий стол\pawno\gf.pwn(5529) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\-SenT-\Рабочий стол\pawno\gf.pwn(5535) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\-SenT-\Рабочий стол\pawno\gf.pwn(5541) : error 004: function "PlayerToPoint" is not implemented
Блин помогите что делать!?Я принемаю игрока потом когда он перезаходит ему пишет "Вас не одобрили лидером, Вы - теперь Гражданское лицо !" и получается что его автомотически кикает из банды
E:\My_D0VnLoaD$\серв\gamemodes\KING11.pwn(25428) : error 032: array index out of bounds (variable "JoinPed") E:\My_D0VnLoaD$\серв\gamemodes\KING11.pwn(25429) : error 032: array index out of bounds (variable "JoinPed") E:\My_D0VnLoaD$\серв\gamemodes\KING11.pwn(25429) : error 032: array index out of bounds (variable "JoinPed") E:\My_D0VnLoaD$\серв\gamemodes\KING11.pwn(25430) : error 032: array index out of bounds (variable "JoinPed") E:\My_D0VnLoaD$\серв\gamemodes\KING11.pwn(25430) : error 032: array index out of bounds (variable "JoinPed"
Проврерь значение массива и увеличь его. Если было 55 и ты добавил 3 скина, тоставь 58. или даж 59