முதன்மை உள்ளடக்கத்துக்குச் செல்லவும்

GetPlayerBuildingsRemoved

எச்சரிக்கை

செயல்பாடு என்பது omp v1.1.0.2612 பதிப்பில் சேர்க்கப்பட்டது. இது முந்தைய பதிப்புகளில் இயங்காது!

Description​

Gets the number of removed buildings for a player.

NameDescription
playeridThe ID of the player.

Returns​

Returns the number of removed buildings.

Examples​

public OnPlayerConnect(playerid)
{
RemoveBuildingForPlayer(playerid, 700, 1192.1016, -1738.0000, 13.0391, 0.25);
RemoveBuildingForPlayer(playerid, 700, 1204.4844, -1724.8516, 13.0391, 0.25);
RemoveBuildingForPlayer(playerid, 673, 1192.5625, -1723.8828, 12.5234, 0.25);

printf("Removed buildings: %d", GetPlayerBuildingsRemoved(playerid)); // Removed buildings: 3
return 1;
}