Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Scripting.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1092,14 +1092,14 @@ static cell AMX_NATIVE_CALL n_GetPlayerSirenState( AMX* amx, cell* params )
return pNetGame->pPlayerPool->pPlayer[playerid]->vehicleSyncData.byteSirenState;
}

// native GetPlayerGearState(playerid);
static cell AMX_NATIVE_CALL n_GetPlayerGearState( AMX* amx, cell* params )
// native GetPlayerLandingGearState(playerid);
static cell AMX_NATIVE_CALL n_GetPlayerLandingGearState( AMX* amx, cell* params )
{
// If unknown server version
if(!pServer)
return 0;

CHECK_PARAMS(1, "GetPlayerGearState");
CHECK_PARAMS(1, "GetPlayerLandingGearState");

int playerid = (int)params[1];
if(!IsPlayerConnected(playerid)) return 0;
Expand Down Expand Up @@ -4317,7 +4317,7 @@ AMX_NATIVE_INFO YSINatives [] =

// Special things from syncdata
{ "GetPlayerSirenState", n_GetPlayerSirenState },
{ "GetPlayerGearState", n_GetPlayerGearState },
{ "GetPlayerLandingGearState", n_GetPlayerLandingGearState },
{ "GetPlayerHydraReactorAngle", n_GetPlayerHydraReactorAngle },
{ "GetPlayerTrainSpeed", n_GetPlayerTrainSpeed },
{ "GetPlayerZAim", n_GetPlayerZAim },
Expand Down