Fighting Style bug? - 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: Fighting Style bug? (
/showthread.php?tid=104220)
Fighting Style bug? -
help! - 23.10.2009
I have a pFightStyle code in my script, and I made it so if your pFightStyle is 0, your fighting style is set as FIGHT_STYLE_NORMAL. But the problem is, whenever I set my fighting style to that, on another player's screen I'm just doing the grabkick animation (old fighting style in 0.2x), but for my screen, I'm doing the FIGHT_STYLE_NORMAL animation. Is this a bug in 0.3a or is it me?
I need help with this, thanks
Re: Fighting Style bug? -
Chaprnks - 10.11.2009
4 - FIGHT_STYLE_NORMAL
Re: Fighting Style bug? -
Sim00n - 21.09.2012
I know this thread is veeeery old but I still have this error in my script. One way around it I found is to:
Код:
public OnPlayerStreamIn(playerid, forplayerid)
{
SetPlayerFightingStyle(GetPlayerFightingStyle(playerid), playerid);
SetPlayerFightingStyle(GetPlayerFightingStyle(forplayerid), forplayerid);
}
Sim00n.