Small problem! need solution. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Small problem! need solution. (
/showthread.php?tid=550829)
Small problem! need solution. -
Ryz - 15.12.2014
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
Re: Small problem! need solution. -
Divergent - 15.12.2014
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?
Re: Small problem! need solution. -
Ryz - 15.12.2014
Damn man youre right! Updated and now working! ty
Re: Small problem! need solution. -
Divergent - 15.12.2014
No problem man.