ClearAnimations FR
From SA-MP Wiki
(Difference between revisions)
Revision as of 04:26, 7 January 2013 Connor Mead (Talk | contribs) ← Previous diff |
Revision as of 18:08, 4 February 2014 Connor Mead (Talk | contribs) Next diff → |
||
Line 1: | Line 1: | ||
+ | {{ScriptingFR}} | ||
+ | |||
+ | {{Description|Stoppe toute les animations qu'exécute un joueur.}} | ||
+ | |||
+ | {{ParametersFR|playerid, forcesync}} | ||
+ | {{Param|playerid|L'ID du joueur dont vous voulez stopper toute les animations.}} | ||
+ | {{Param|forcesync|(optionnel) Specifies whether the animation should be shown to streamed in players. Ajouté dans la 0.3b - enlevez ce paramètre si vous utilisez une version plus précédente.}} | ||
+ | |||
+ | ''Specifies whether the animation should be shown to streamed in players''{{traduct}} | ||
+ | |||
+ | {{NoReturnFR}} | ||
+ | |||
+ | <pawn> | ||
+ | public OnPlayerCommandText(playerid, cmdtext[]) | ||
+ | { | ||
+ | if(!strcmp(cmdtext, "/animclear", true)) | ||
+ | { | ||
+ | ClearAnimations(playerid); | ||
+ | return 1; | ||
+ | } | ||
+ | return 0; | ||
+ | } | ||
+ | </pawn> | ||
+ | |||
+ | {{RelatedFunctionsFR}} | ||
+ | {{ApplyAnimation_FR}} | ||
+ | |||
[[Category:Scripting Functions FR]] | [[Category:Scripting Functions FR]] | ||
+ | |||
+ | [[en:ClearAnimations]] | ||
+ | [[de:ClearAnimations]] | ||
+ | [[ru:ClearAnimations]] |
Revision as of 18:08, 4 February 2014
Page d'Accueil | Les Fonctions | Les Callbacks | Les bases du Scripting | Plugins de Serveur | Tutoriaux
Ne prenez pas en compte les FR dans les noms
Description:
Stoppe toute les animations qu'exécute un joueur.
(playerid, forcesync)
playerid | L'ID du joueur dont vous voulez stopper toute les animations. |
forcesync | (optionnel) Specifies whether the animation should be shown to streamed in players. Ajouté dans la 0.3b - enlevez ce paramètre si vous utilisez une version plus précédente. |
Specifies whether the animation should be shown to streamed in players
Retourne | Cette fonction ne retourne pas de valeur spécifique. |
public OnPlayerCommandText(playerid, cmdtext[]) { if(!strcmp(cmdtext, "/animclear", true)) { ClearAnimations(playerid); return 1; } return 0; }
Fonctions Relatives
Les fonctions suivantes peuvent être utiles car elles sont indirectement ou directement liées a cette fonction.
- ApplyAnimation: Applique une animation sur un joueur.