GangZoneStopFlashForAll FR

From SA-MP Wiki

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

← Previous diff
Revision as of 21:52, 4 February 2014
Connor Mead (Talk | contribs)

Next diff →
Line 1: Line 1:
 +{{ScriptingFR}}
 +
 +{{Description|Arrête de faire clignoter une zone de gang pour tous les joueurs.}}
 +
 +{{ParametersFR|zone}}
 +{{Param|zone|L'ID de la zone qui doit arrêter de clignoter.}
 +
 +{{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;
 +}
 +
 +public OnPlayerSpawn(playerid)
 +{
 + GangZoneStopFlashForAll(gangzone);
 + return 1;
 +}
 +</pawn>
 +
 +{{RelatedFunctionsFR}}
 +{{GangZoneCreate_FR}}
 +{{GangZoneDestroy_FR}}
 +{{GangZoneShowForPlayer_FR}}
 +{{GangZoneShowForAll_FR}}
 +{{GangZoneHideForPlayer_FR}}
 +{{GangZoneHideForAll_FR}}
 +{{GangZoneFlashForPlayer_FR}}
 +{{GangZoneFlashForAll_FR}}
 +{{GangZoneStopFlashForPlayer_FR}}
 +
[[Category:Scripting Functions FR]] [[Category:Scripting Functions FR]]
 +
 +[[en:GangZoneStopFlashForAll]]

Revision as of 21:52, 4 February 2014



Description:

Arrête de faire clignoter une zone de gang pour tous les joueurs.


Paramètres:
(zone)

{{Param|zone|L'ID de la zone qui doit arrêter de clignoter.}

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;
}
 
public OnPlayerSpawn(playerid)
{
    GangZoneStopFlashForAll(gangzone);
    return 1;
}

Fonctions Relatives

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

In other languages