Okay i disabled 2 systems and one of them are the reason to it gives that Unknown Command.
And those were these i could find with return 0
pawn Код:
isPlayerWounded(damagedid) {
if(GetPVarType(damagedid, "DownOnGround") != PLAYER_VARTYPE_NONE) {
return 1;
}
return 0;
}
and this
pawn Код:
isPlayerOnGround(damagedid) {
if(GetPVarType(damagedid, "DownOnGround") != PLAYER_VARTYPE_NONE) {
return 1;
}
return 0;
}
and this
pawn Код:
getPlayerTimesShot(damagedid) {
if(GetPVarType(damagedid, "TimesShot") != PLAYER_VARTYPE_NONE) {
new TimesShot = GetPVarInt(damagedid, "TimesShot");
return TimesShot;
} else {
return 0;
}
}
and the last one in this system
pawn Код:
isValidShootingDistance(damagedid, shooterid) {
new Float: X, Float: Y, Float: Z;
GetPlayerPos(damagedid, X, Y, Z);
new Float: SDistance = GetPlayerDistanceFromPoint(shooterid, X, Y, Z);
//printf("%f",SDistance);
if(SDistance > 1.0) {
return 1;
}
return 0;
}
then i found this one in the other system.
pawn Код:
getEvidencePVarIndex(playerid) {
if(GetPVarType(playerid, "EvidenceIndex") != PLAYER_VARTYPE_NONE) {
new evidenceindex = GetPVarInt(playerid, "EvidenceIndex");
return evidenceindex;
}
return 0;
}