OnPlayerEnterRaceCheckpoint

From SA-MP Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 01:46, 3 February 2014
Connor Mead (Talk | contribs)

← Previous diff
Revision as of 01:51, 3 February 2014
Connor Mead (Talk | contribs)

Next diff →
Line 1: Line 1:
-{{ScriptingFR}}+{{Scripting}}
 +{{Title}}
-{{Description|Cette callback et appelée lorsqu'un joueur entre dans un checkpoint de course.}}+{{Description|This callback is called when a player enters a race checkpoint.}}
-{{ParametersFR|playerid}}+{{Parameters|playerid}}
-{{Param|playerid|L'ID du joueur qui est entré dans un checkpoint de course.}}+{{Param|playerid|The ID of the player who entered the race checkpoint.}}
-{{NoReturnCallbackFR}}+{{NoReturnCallback}}
<pawn> <pawn>
public OnPlayerEnterRaceCheckpoint(playerid) public OnPlayerEnterRaceCheckpoint(playerid)
{ {
- printf("Le joueur %d est entré dans un checkpoint de course!",playerid);+ printf("Player %d entered a race checkpoint!",playerid);
return 1; return 1;
} }
</pawn> </pawn>
-{{RelatedCallbacksFR}}+{{RelatedCallbacks}}
-{{OnPlayerEnterCheckpoint_FR}}+{{OnPlayerEnterCheckpoint}}
-{{OnPlayerLeaveCheckpoint_FR}}+{{OnPlayerLeaveCheckpoint}}
-{{OnPlayerLeaveRaceCheckpoint_FR}}+{{OnPlayerLeaveRaceCheckpoint}}
-{{RelatedFunctionsCallbackFR}}+{{RelatedFunctionsCallback}}
-{{SetPlayerCheckpoint_FR}}+{{SetPlayerCheckpoint}}
-{{DisablePlayerCheckpoint_FR}}+{{DisablePlayerCheckpoint}}
-{{IsPlayerInCheckpoint_FR}}+{{IsPlayerInCheckpoint}}
-{{SetPlayerRaceCheckpoint_FR}}+{{SetPlayerRaceCheckpoint}}
-{{DisablePlayerRaceCheckpoint_FR}}+{{DisablePlayerRaceCheckpoint}}
-{{IsPlayerInRaceCheckpoint_FR}}+{{IsPlayerInRaceCheckpoint}}
-[[Category:Scripting Callbacks FR]]+[[Category:Scripting Callbacks]]
[[fr:OnPlayerEnterRaceCheckpoint]] [[fr:OnPlayerEnterRaceCheckpoint]]
[[de:OnPlayerEnterRaceCheckpoint]] [[de:OnPlayerEnterRaceCheckpoint]]

Revision as of 01:51, 3 February 2014




Description:

This callback is called when a player enters a race checkpoint.


Parameters:
(playerid)
playeridThe ID of the player who entered the race checkpoint.


Return Values:

This callback does not handle returns.


public OnPlayerEnterRaceCheckpoint(playerid)
{
    printf("Player %d entered a race checkpoint!",playerid);
    return 1;
}

Related Callbacks

The following callbacks might be useful as well, as they are related to this callback in one way or another.


Related Functions

The following functions might be useful, as they're related to this callback in one way or another.

In other languages