GangZoneFlashForAll 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 tous les joueurs.}}
 +
 +{{ParametersFR|zone, flashcolor}}
 +{{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 OnPlayerDeath(playerid, killerid, reason)
 +{
 + GangZoneFlashForAll(gangzone,COLOR_RED);
 + return 1;
 +}
 +</pawn>
 +
 +{{RelatedFunctionsFR}}
 +{{GangZoneCreate_FR}}
 +{{GangZoneDestroy_FR}}
 +{{GangZoneShowForPlayer_FR}}
 +{{GangZoneShowForAll_FR}}
 +{{GangZoneHideForPlayer_FR}}
 +{{GangZoneHideForAll_FR}}
 +{{GangZoneFlashForPlayer_FR}}
 +{{GangZoneStopFlashForPlayer_FR}}
 +{{GangZoneStopFlashForAll_FR}}
 +
[[Category:Scripting Functions FR]] [[Category:Scripting Functions FR]]
 +
 +[[en:GangZoneFlashForAll]]

Current revision



Description:

Fait clignoter une zone de gang pour tous les joueurs.


Paramètres:
(zone, flashcolor)
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 OnPlayerDeath(playerid, killerid, reason)
{
    GangZoneFlashForAll(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