Jump to content

Fight Style


Rimmon

Recommended Posts

Pentru a seta stilul de lupta a unui player se foloseste:

  • SetPlayerFightingStyle(playerid, style);

playerid - playerul caruia i se seteaza stilul de lupta

style - stilul de lupta a playerului

Stilul de lupta:

4 - FIGHT_STYLE_NORMAL

5 - FIGHT_STYLE_BOXING

6 - FIGHT_STYLE_KUNGFU

7 - FIGHT_STYLE_KNEEHEAD

15 - FIGHT_STYLE_GRABKICK

16 - FIGHT_STYLE_ELBOW

Ex:

[pawn]CMD:boxing ( playerid , params [  ] )

{

    SetPlayerFightingStyle ( playerid , FIGHT_STYLE_BOXING ) ;

    return ( 1 ) ;

}[/pawn]

Massari e curva mea

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.