Fightstyles, it set my not the style :/ - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Fightstyles, it set my not the style :/ (
/showthread.php?tid=141316)
Fightstyles, it set my not the style :/ -
sjvt - 12.04.2010
Hi, i did make a fightstyle, but when i choose ELBOW, or what else and i use fire button(mouse 1) it don't set it to ELBOW
so i choose ELBOW, and i press fire button, i fight then with normal style :/ and not ELBOW?
pawn Код:
if(dialogid == 5)
{
if(response)
{
if(listitem == 0)
{
SetPlayerFightingStyle (playerid, FIGHT_STYLE_ELBOW);
}
if(listitem == 1)
{
SetPlayerFightingStyle (playerid, FIGHT_STYLE_BOXING);
}
if(listitem == 2)
{
SetPlayerFightingStyle (playerid, FIGHT_STYLE_GRABKICK);
}
if(listitem == 3)
{
SetPlayerFightingStyle (playerid, FIGHT_STYLE_KNEEHEAD);
}
if(listitem == 4)
{
SetPlayerFightingStyle (playerid, FIGHT_STYLE_KUNGFU);
}
if(listitem == 5)
{
SetPlayerFightingStyle (playerid, FIGHT_STYLE_NORMAL);
}
}
return 1;
}
Re: Fightstyles, it set my not the style :/ -
ziomal432 - 12.04.2010
To use fighting style press RMB + F. It is in Single Player too.
Re: Fightstyles, it set my not the style :/ -
sjvt - 12.04.2010
Quote:
Originally Posted by ziomal432
To use fighting style press RMB + F. It is in Single Player too.
|
i never did finish SP ^^