Lewati ke konten utama

OnPlayerEnterRaceCheckpoint

Description​

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

NameDescription
playeridThe ID of the player who entered the race checkpoint.

Returns​

It is always called first in filterscripts.

Examples​

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

Good to know​

catatan

Callback ini juga dapat dipanggil oleh NPC.

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

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