GangZoneFlashForPlayer FR

From SA-MP Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 04:09, 5 January 2013
Connor Mead (Talk | contribs)

← Previous diff
Current revision
Connor Mead (Talk | contribs)

Line 1: Line 1:
 +{{ScriptingFR}}
 +
 +{{Description|Fait clignoter une zone de gang pour un joueur.}}
 +
 +{{ParametersFR|playerid, zone, flashcolor}}
 +{{Param|playerid|L'ID du joueur qui verra la zone de gang clignoter.}}
 +{{Param|zone|L'ID de la zone à faire clignoter.}}
 +{{Param|flashcolor|La couleur de clignotement.}}
 +
 +{{NoReturnFR}}
 +
 +<pawn>
 +new gangzone;
 +
 +public OnGameModeInit()
 +{
 + gangzone = GangZoneCreate(1248.011, 2072.804, 1439.348, 2204.319);
 + return 1;
 +}
 +
 +public OnPlayerSpawn(playerid)
 +{
 + GangZoneFlashForPlayer(playerid,gangzone,COLOR_RED);
 + return 1;
 +}
 +</pawn>
 +
 +{{RelatedFunctionsFR}}
 +{{GangZoneCreate_FR}}
 +{{GangZoneDestroy_FR}}
 +{{GangZoneShowForPlayer_FR}}
 +{{GangZoneShowForAll_FR}}
 +{{GangZoneHideForPlayer_FR}}
 +{{GangZoneHideForAll_FR}}
 +{{GangZoneFlashForAll_FR}}
 +{{GangZoneStopFlashForPlayer_FR}}
 +{{GangZoneStopFlashForAll_FR}}
 +
[[Category:Scripting Functions FR]] [[Category:Scripting Functions FR]]
 +
 +[[en:GangZoneFlashForPlayer]]

Current revision



Description:

Fait clignoter une zone de gang pour un joueur.


Paramètres:
(playerid, zone, flashcolor)
playeridL'ID du joueur qui verra la zone de gang clignoter.
zoneL'ID de la zone à faire clignoter.
flashcolorLa couleur de clignotement.


RetourneCette fonction ne retourne pas de valeur spécifique.


new gangzone;
 
public OnGameModeInit()
{
    gangzone = GangZoneCreate(1248.011, 2072.804, 1439.348, 2204.319);
    return 1;
}
 
public OnPlayerSpawn(playerid)
{
    GangZoneFlashForPlayer(playerid,gangzone,COLOR_RED);
    return 1;
}

Fonctions Relatives

Les fonctions suivantes peuvent être utiles car elles sont indirectement ou directement liées a cette fonction.

In other languages