open.mp | RemovePlayerMapIcon
  • Home
  • FAQ
  • Forum
  • Servers
  • Docs
  • Blog
  • Login
  • Englishاللغة العربيةar-TNবাংলাbosanski jezikDeutschΕλληνικάEspañoleestiفارسیFrançaisHrvatskimagyarBahasa IndonesiaItaliano日本語ქართულიlietuvių kalbaNederlandsNorskjęzyk polskiPortuguêsRomânăРусскийslovenski jezikсрпски језикไทยWikang TagalogTürkçeУкраїнськаاردوTiếng Việt简体中文繁體中文
warning Not Translated

This page has not been translated into the language that your browser requested. The English content is being shown as a fallback.

If you want to contribute a translation for this page then please click here.

RemovePlayerMapIcon

Description

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.

Returns

1: The function was executed successfully.

0: The function failed to execute.

Examples

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

// Later on
RemovePlayerMapIcon(playerid, 12);

Related Functions

  • SetPlayerMapIcon: Create a mapicon for a player.

Community

  • Discord
  • Instagram
  • Twitter
  • Twitch
  • YouTube
  • Facebook
  • VK

More

  • SA-MP
  • Blog
  • GitHub