Error 025
#3

It is a code issue. I have no idea where but searches on that error, return half readable threads.

What I see though is this...

Код:
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart) 
{ 
    new Float:HP, holder[1000]; 
    GetPlayerHealth(playerid, HP); 
    if(weaponid == 4) SetPlayerHealth(playerid, HP-30); 
    if(weaponid == 22) SetPlayerHealth(playerid, HP-25); 
    if(weaponid == 32) SetPlayerHealth(playerid, HP-25); 
    if(weaponid == 28) SetPlayerHealth(playerid, HP-25); 
    if(weaponid == 30) SetPlayerHealth(playerid, HP-30); 
    if(weaponid == 31) SetPlayerHealth(playerid, HP-21); 
    if(weaponid == 34) SetPlayerHealth(playerid, HP-70); 
    if(weaponid == 29) SetPlayerHealth(playerid, HP-25); 

    if(weaponid == 25) SetPlayerHealth(playerid, HP-40); 

     if(!IsPlayerConnected(playerid)) return 0; 
      if(!IsPlayerConnected(issuerid)) return 0;
You set the players health, then check if they are connected.

You need to read your code a bit more. As was said above though, the full error, and highlighting of what line it occurs, is much appreciated.
Reply


Messages In This Thread
Error 025 - by ChromeAmazing - 21.02.2016, 19:59
Re: Error 025 - by Amunra - 22.02.2016, 05:10
Re: Error 025 - by Sew_Sumi - 22.02.2016, 06:08
Re: Error 025 - by ChromeAmazing - 22.02.2016, 23:06
Re: Error 025 - by Sew_Sumi - 23.02.2016, 01:42
Re: Error 025 - by SyS - 23.02.2016, 01:49
Re: Error 025 - by Sew_Sumi - 23.02.2016, 02:06
Re: Error 025 - by ChromeAmazing - 23.02.2016, 02:21
Re: Error 025 - by Sew_Sumi - 23.02.2016, 03:17
Re: Error 025 - by SyS - 23.02.2016, 05:33

Forum Jump:


Users browsing this thread: 2 Guest(s)