Сообщение от
SooBad
Ключи располагаются в pawn.cfg. Это, иными словами, полезная фича для исследования кода(выявления ошибок и прочих косяков).Создай свободный текстовик, и пропиши там ключ: -R.
Сейчас скачал компилятор от Zeex. Буду создавать, и потом сюда кину логи.
Вот скомпилировал... Ща пойду исправлять все рекурсии
PHP код:
.pwn(35728) : warning 208: function with tag result used before definition, forcing reparse
Pawn compiler 3.10.2 Copyright (c) 1997-2006, ITB CompuPhase
recursion detected: function 40000004!=40000004 indirectly calls itself:
40000004!=40000004 <- GetClosestPlayer <- 40000004!=40000004
recursion detected: function 40000004-0 indirectly calls itself:
40000004-0 <- OnPlayerCommandText <- 40000004-0
recursion detected: function 40000004+0 indirectly calls itself:
40000004+0 <- OnPlayerCommandText <- 40000004+0
recursion detected: function 40000004/0 directly calls itself
recursion detected: function -40000004 indirectly calls itself:
-40000004 <- GetXYInFrontOfPlayer <- -40000004
recursion detected: function 40000004>40000004 indirectly calls itself:
40000004>40000004 <- PlayerToPoint <- GetNearestVehicle <- OnPlayerCommandText <- 40000004>40000004
recursion detected: function 40000004>0 indirectly calls itself:
40000004>0 <- OnPlayerCommandText <- 40000004>0
recursion detected: function 40000004>=40000004 indirectly calls itself:
40000004>=40000004 <- PlayerToKvadrat <- 40000004>=40000004
recursion detected: function 40000004>=0 indirectly calls itself:
40000004>=0 <- OnPlayerCommandText <- 40000004>=0
recursion detected: function 40000004<40000004 indirectly calls itself:
40000004<40000004 <- OnPlayerCommandText <- 40000004<40000004
recursion detected: function 40000004<0 indirectly calls itself:
40000004<0 <- OnPlayerText <- OnPlayerCommandText <- 40000004<0
recursion detected: function 0<40000004 indirectly calls itself:
0<40000004 <- OnPlayerCommandText <- 0<40000004
recursion detected: function 40000004<=40000004 indirectly calls itself:
40000004<=40000004 <- PlayerToKvadrat <- 40000004<=40000004
recursion detected: function ABroadCast indirectly calls itself:
ABroadCast <- OnPlayerText <- OnPlayerCommandText <- ABroadCast
recursion detected: function AdvanceSpectate indirectly calls itself:
AdvanceSpectate <- StartSpectate <- AdvanceSpectate
recursion detected: function AdvertiseTimer indirectly calls itself:
AdvertiseTimer <- OnPlayerCommandText <- AdvertiseTimer
recursion detected: function BroadCast indirectly calls itself:
BroadCast <- OnPlayerCommandText <- BroadCast
recursion detected: function BuyHouse indirectly calls itself:
BuyHouse <- OnPlayerCommandText <- BuyHouse
recursion detected: function ChangeName indirectly calls itself:
ChangeName <- OnPlayerCommandText <- ChangeName
recursion detected: function CheckString indirectly calls itself:
CheckString <- OnPlayerText <- OnPlayerCommandText <- CheckString
recursion detected: function ClearTotalGz indirectly calls itself:
ClearTotalGz <- PayDay <- OnPlayerCommandText <- ClearTotalGz
recursion detected: function CompVehDel indirectly calls itself:
CompVehDel <- OnPlayerCommandText <- CompVehDel
recursion detected: function ConnectedPlayers indirectly calls itself:
ConnectedPlayers <- AdvanceSpectate <- StartSpectate <- ConnectedPlayers
recursion detected: function DelGun indirectly calls itself:
DelGun <- OnPlayerCommandText <- DelGun
recursion detected: function FixHour indirectly calls itself:
FixHour <- OnPlayerCommandText <- FixHour
recursion detected: function GameModeExitFunc indirectly calls itself:
GameModeExitFunc <- OnPlayerCommandText <- GameModeExitFunc
recursion detected: function GetClosestPlayer directly calls itself
recursion detected: function GetDistanceBetweenPlayers indirectly calls itself:
GetDistanceBetweenPlayers <- OnPlayerText <- OnPlayerCommandText <- GetDistanceBetweenPlayers
recursion detected: function GetGangName indirectly calls itself:
GetGangName <- OnPlayerCommandText <- GetGangName
recursion detected: function GetGangZoneColor directly calls itself
recursion detected: function GetMafiaName indirectly calls itself:
GetMafiaName <- OnPlayerCommandText <- GetMafiaName
recursion detected: function GetNearestVehicle indirectly calls itself:
GetNearestVehicle <- OnPlayerCommandText <- GetNearestVehicle
recursion detected: function GetPlayerID directly calls itself
recursion detected: function GetSRVMoney indirectly calls itself:
GetSRVMoney <- OnPlayerCommandText <- GetSRVMoney
recursion detected: function GiveMoney indirectly calls itself:
GiveMoney <- OnPlayerCommandText <- GiveMoney
recursion detected: function GiveWeapon indirectly calls itself:
GiveWeapon <- OnPlayerCommandText <- GiveWeapon
recursion detected: function IsAArm indirectly calls itself:
IsAArm <- SendRacersMessage <- OnPlayerCommandText <- IsAArm
recursion detected: function IsABankomat directly calls itself
recursion detected: function IsABiker indirectly calls itself:
IsABiker <- OnPlayerCommandText <- IsABiker
recursion detected: function IsACop indirectly calls itself:
IsACop <- SendRacersMessage <- OnPlayerCommandText <- IsACop
recursion detected: function IsAGang indirectly calls itself:
IsAGang <- SendGangerMessage <- OnPlayerCommandText <- IsAGang
recursion detected: function IsAInkasator indirectly calls itself:
IsAInkasator <- OnPlayerCommandText <- IsAInkasator
recursion detected: function IsAMafia directly calls itself
recursion detected: function IsAMash indirectly calls itself:
IsAMash <- OnPlayerCommandText <- IsAMash
recursion detected: function IsAMedic indirectly calls itself:
IsAMedic <- OnPlayerCommandText <- IsAMedic
recursion detected: function IsANews indirectly calls itself:
IsANews <- OnPlayerCommandText <- IsANews
recursion detected: function IsATerra indirectly calls itself:
IsATerra <- OnPlayerCommandText <- IsATerra
recursion detected: function IsATrashTruck indirectly calls itself:
IsATrashTruck <- OnPlayerCommandText <- IsATrashTruck
recursion detected: function IsIP indirectly calls itself:
IsIP <- OnPlayerText <- OnPlayerCommandText <- IsIP
recursion detected: function IsInAllowed directly calls itself
recursion detected: function IsInAllowedF directly calls itself
recursion detected: function IsNumeric indirectly calls itself:
IsNumeric <- ReturnUser <- OnPlayerCommandText <- IsNumeric
recursion detected: function IsPlayerInBandOnline indirectly calls itself:
IsPlayerInBandOnline <- OnPlayerCommandText <- IsPlayerInBandOnline
recursion detected: function IsSkinFemale indirectly calls itself:
IsSkinFemale <- OnPlayerCommandText <- IsSkinFemale
recursion detected: function IsVehicleOccupied indirectly calls itself:
IsVehicleOccupied <- OnPlayerCommandText <- IsVehicleOccupied
recursion detected: function LSNews indirectly calls itself:
LSNews <- OnPlayerText <- OnPlayerCommandText <- LSNews
recursion detected: function LVNews indirectly calls itself:
LVNews <- OnPlayerText <- OnPlayerCommandText <- LVNews
recursion detected: function LockCar directly calls itself
recursion detected: function LoopingAnim indirectly calls itself:
LoopingAnim <- OnPlayerCommandText <- LoopingAnim
recursion detected: function MD5_Copy indirectly calls itself:
MD5_Copy <- MD5_Update <- MD5_Hash <- OnPlayerCommandText <- MD5_Copy
recursion detected: function MD5_Final indirectly calls itself:
MD5_Final <- MD5_Hash <- OnPlayerCommandText <- MD5_Final
recursion detected: function MD5_Hash indirectly calls itself:
MD5_Hash <- OnPlayerCommandText <- MD5_Hash
recursion detected: function MD5_Init indirectly calls itself:
MD5_Init <- MD5_Hash <- OnPlayerCommandText <- MD5_Init
recursion detected: function MD5_Transform indirectly calls itself:
MD5_Transform <- MD5_Final <- MD5_Hash <- OnPlayerCommandText <- MD5_Transform
recursion detected: function MD5_Update indirectly calls itself:
MD5_Update <- MD5_Hash <- OnPlayerCommandText <- MD5_Update
recursion detected: function OOCNews indirectly calls itself:
OOCNews <- OnPlayerText <- OnPlayerCommandText <- OOCNews
recursion detected: function OnPlayerCommandText directly calls itself
recursion detected: function OnPlayerText indirectly calls itself:
OnPlayerText <- OnPlayerCommandText <- OnPlayerText
recursion detected: function OnPlayerUpdateAc indirectly calls itself:
OnPlayerUpdateAc <- SaveAccounts <- AdvertiseTimer <- OnPlayerCommandText <- OnPlayerUpdateAc
recursion detected: function OnPropUpdate directly calls itself
recursion detected: function PJ directly calls itself
recursion detected: function PayDay indirectly calls itself:
PayDay <- OnPlayerCommandText <- PayDay
recursion detected: function PlayerPlayMusic indirectly calls itself:
PlayerPlayMusic <- PayDay <- OnPlayerCommandText <- PlayerPlayMusic
recursion detected: function PlayerToKvadrat directly calls itself
recursion detected: function PlayerToPoint indirectly calls itself:
PlayerToPoint <- GetNearestVehicle <- OnPlayerCommandText <- PlayerToPoint
recursion detected: function PrintBizInfo indirectly calls itself:
PrintBizInfo <- OnPlayerCommandText <- PrintBizInfo
recursion detected: function PrintFarmInfo indirectly calls itself:
PrintFarmInfo <- OnPlayerCommandText <- PrintFarmInfo
recursion detected: function PrintSBizInfo indirectly calls itself:
PrintSBizInfo <- OnPlayerCommandText <- PrintSBizInfo
recursion detected: function ProxDetector indirectly calls itself:
ProxDetector <- OnPlayerText <- OnPlayerCommandText <- ProxDetector
recursion detected: function ProxDetectorS directly calls itself
recursion detected: function ReturnUser indirectly calls itself:
ReturnUser <- OnPlayerCommandText <- ReturnUser
recursion detected: function SaveAccounts indirectly calls itself:
SaveAccounts <- AdvertiseTimer <- OnPlayerCommandText <- SaveAccounts
recursion detected: function SaveBankFrac indirectly calls itself:
SaveBankFrac <- OnPlayerCommandText <- SaveBankFrac
recursion detected: function SaveBankMafia indirectly calls itself:
SaveBankMafia <- OnPlayerCommandText <- SaveBankMafia
recursion detected: function SaveGZ directly calls itself
recursion detected: function SaveMaterials indirectly calls itself:
SaveMaterials <- OnPlayerCommandText <- SaveMaterials
recursion detected: function SelectAnimation indirectly calls itself:
SelectAnimation <- OnPlayerCommandText <- SelectAnimation
recursion detected: function SendAdminMessage indirectly calls itself:
SendAdminMessage <- OnPlayerCommandText <- SendAdminMessage
recursion detected: function SendFamilyMessage directly calls itself
recursion detected: function SendGangerMessage indirectly calls itself:
SendGangerMessage <- OnPlayerCommandText <- SendGangerMessage
recursion detected: function SendHelperMessage indirectly calls itself:
SendHelperMessage <- OnPlayerCommandText <- SendHelperMessage
recursion detected: function SendJobMessage indirectly calls itself:
SendJobMessage <- OnPlayerCommandText <- SendJobMessage
recursion detected: function SendRacersMessage indirectly calls itself:
SendRacersMessage <- OnPlayerCommandText <- SendRacersMessage
recursion detected: function SendRadioMessage indirectly calls itself:
SendRadioMessage <- OnPlayerCommandText <- SendRadioMessage
recursion detected: function SendTeamMessage indirectly calls itself:
SendTeamMessage <- OnPlayerCommandText <- SendTeamMessage
recursion detected: function SendVipMessage indirectly calls itself:
SendVipMessage <- OnPlayerCommandText <- SendVipMessage
recursion detected: function SetPlayerCriminal indirectly calls itself:
SetPlayerCriminal <- OnPlayerCommandText <- SetPlayerCriminal
recursion detected: function SetPlayerWeapons indirectly calls itself:
SetPlayerWeapons <- OnPlayerCommandText <- SetPlayerWeapons
recursion detected: function ShowStats indirectly calls itself:
ShowStats <- OnPlayerCommandText <- ShowStats
recursion detected: function StartSpectate indirectly calls itself:
StartSpectate <- AdvanceSpectate <- StartSpectate
recursion detected: function StopSpectate indirectly calls itself:
StopSpectate <- AdvanceSpectate <- StartSpectate <- StopSpectate
recursion detected: function TextList_Show directly calls itself
recursion detected: function ToDevelopRating indirectly calls itself:
ToDevelopRating <- OnPlayerCommandText <- ToDevelopRating
recursion detected: function ToDevelopSkills indirectly calls itself:
ToDevelopSkills <- OnPlayerCommandText <- ToDevelopSkills
recursion detected: function UnLockCar indirectly calls itself:
UnLockCar <- OnPlayerCommandText <- UnLockCar
recursion detected: function dini_Create indirectly calls itself:
dini_Create <- OnPlayerCommandText <- dini_Create
recursion detected: function dini_Remove indirectly calls itself:
dini_Remove <- ChangeName <- OnPlayerCommandText <- dini_Remove
recursion detected: function ini_closeFile indirectly calls itself:
ini_closeFile <- SaveMaterials <- OnPlayerCommandText <- ini_closeFile
recursion detected: function ini_getString indirectly calls itself:
ini_getString <- OnPlayerCommandText <- ini_getString
recursion detected: function ini_openFile indirectly calls itself:
ini_openFile <- SaveMaterials <- OnPlayerCommandText <- ini_openFile
recursion detected: function ini_removeKey indirectly calls itself:
ini_removeKey <- PayDay <- OnPlayerCommandText <- ini_removeKey
recursion detected: function ini_setFloat indirectly calls itself:
ini_setFloat <- OnPlayerUpdateAc <- SaveAccounts <- AdvertiseTimer <- OnPlayerCommandText <- ini_setFloat
recursion detected: function ini_setInteger indirectly calls itself:
ini_setInteger <- SaveMaterials <- OnPlayerCommandText <- ini_setInteger
recursion detected: function ini_setString indirectly calls itself:
ini_setString <- OnPlayerCommandText <- ini_setString
recursion detected: function split indirectly calls itself:
split <- LoadFarm <- split
recursion detected: function strtok indirectly calls itself:
strtok <- OnPlayerText <- OnPlayerCommandText <- strtok
recursion detected: function strvalEx indirectly calls itself:
strvalEx <- OnPlayerCommandText <- strvalEx
Header size: 7880 bytes
Code size: 2428760 bytes
Data size: 10534596 bytes
Stack/heap size: 23600 bytes; estimated max. usage: unknown, due to recursion
Total requirements:12994836 bytes
1 Warning.
Чуть не забыл, вот сам код, на который идёт варн и появился после добавления этого ключа:
PHP код:
publics Float:GetDistanceBetweenPlayers(p1,p2) // На этот паблик идёт варнинг
{
new Float:x1,Float:y1,Float:z1,Float:x2,Float:y2,Float:z2;
if(!IsPlayerConnected(p1) || !IsPlayerConnected(p2)) { return -1.00; }
GetPlayerPos(p1,x1,y1,z1); GetPlayerPos(p2,x2,y2,z2);
return floatsqroot(floatpower(floatabs(floatsub(x2,x1)),2)+floatpower(floatabs(floatsub(y2,y1)),2)+floatpower(floatabs(floatsub(z2,z1)),2));
}