How I can use the fighting styles ( I mean in the game ) - 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: How I can use the fighting styles ( I mean in the game ) (
/showthread.php?tid=106523)
How I can use the fighting styles ( I mean in the game ) -
CTCCoco - 03.11.2009
I create some simple commands:
Код:
if(strcmp(cmdtext, "/boxing",true)==0)
{
SetPlayerFightingStyle(playerid, FIGHT_STYLE_BOXING);
return 1;
}
if(strcmp(cmdtext, "/elbow",true)==0)
{
SetPlayerFightingStyle(playerid, FIGHT_STYLE_ELBOW);
return 1;
}
if(strcmp(cmdtext, "/grabkick",true)==0)
{
SetPlayerFightingStyle(playerid, FIGHT_STYLE_GRABKICK);
return 1;
}
But I think don't work, I don't see the fighting styles, I only see the position but I don't see the fighting styles hits only normal hits.
What I need to use them? Thanks.
Re: How I can use the fighting styles ( I mean in the game ) -
dugi - 03.11.2009
Check this post for information about the keys which are needed to be pressed:
http://forum.sa-mp.com/index.php?top...6945#msg746945
Re: How I can use the fighting styles ( I mean in the game ) -
klavins - 03.11.2009
to do special atacks you must use RMB(hold) + enter (1press for every kick)