Small problem! need solution.
#1

I got small problem with small function

pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)
{
    if(GetPlayerTeam(issuerid) != GetPlayerTeam(playerid))
    {
        if(weaponid == 34 && bodypart == 9)
        {
            SetPlayerHealth(playerid, 0.0);
        }
    }
    return 1;
}
This system is stopped working after defined

pawn Код:
#include <YSI\y_ini>
Reply
#2

You may not have properly updated YSI. https://sampforum.blast.hk/showthread.php?tid=321092


If you have updated it properly, are you receiving any error codes?
Reply
#3

Damn man youre right! Updated and now working! ty
Reply
#4

No problem man.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)