Skip to main content

RemovePlayerMapIcon

คำอธิบาย

Removes a map icon that was set earlier for a player using SetPlayerMapIcon.

NameDescription
playeridThe ID of the player whose icon to remove.
iconidThe ID of the icon to remove. This is the second parameter of SetPlayerMapIcon.

ส่งคืน

1: The function was executed successfully.

0: The function failed to execute.

ตัวอย่าง

SetPlayerMapIcon(playerid, 12, 2204.9468, 1986.2877, 16.7380, 52, 0);

// Later on
RemovePlayerMapIcon(playerid, 12);

ฟังก์ชั่นที่เกี่ยวข้องกัน