[POMOC]ERROR

Započeo Ezio Cruz, Mart 11, 2014, 12:43:26 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:Nije vazno
Detaljan opis problema:
C:\Users\Valentino\Desktop\Croplay\Croplay RPG\Croplay\gamemodes\bfusion.pwn(25335) : error 025: function heading differs from prototype

Dio skripte:
public OnPlayerShootPlayer(Shooter,Target,Float:HealthLost,Float:ArmourLost)
{
if(GetPlayerWeapon(Shooter) == 34)
{
if(OnDuty[Target] == 1 || Adrenal[Target] == 1)
{
SetPlayerHealth(Target, 100);
}
}
if(OnDuty[Shooter] == 1 && PlayerInfo[Shooter][pAdminLevel] < 1338)
{
TextDrawShowForPlayer(Shooter, DutyShot[Shooter]);
SetPlayerArmedWeapon(Shooter,0);
SetTimerEx("ShootDuty", 3000, false, "d", Shooter);
}
if(OnDuty[Target] >= 1 || Adrenal[Target] == 1)
{
SetPlayerHealth(Target, 100);
}

if(PlayerInfo[Shooter][pMember] == 6)
{
if(GetPlayerWeapon(Shooter) == 34)
{
if(OnDuty[Target] == 0 || Adrenal[Target] == 0)
{
new Float:x, Float:y, Float:z;
GetPlayerPos(Shooter, x, y, z);
new Float:armour;
GetPlayerArmour(Target,armour);
if(armour >= 0) { SetPlayerArmour(Target,0); }
SetPlayerHealth(Target,0);
PlayerInfo[Target][pDeaths]++;
}
}
}
return 1;
}

Neke slike/video za lakse dobivanje pomoci(neobavezno):
Just Balkan
Skripter i Vlasnik


75% Skripta
95% Mape


Najvjerovatnije forward od OnPlayerShootPlayer nije isti kao public najdi taj forward od OnPlayerShootPlayer i zamjeni ga sa:

forward OnPlayerShootPlayer(Shooter,Target,Float:HealthLost,Float:ArmourLost);

My Bike KTM 450 SXF 2008