[HELP] SetPlayerMapIcon - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [HELP] SetPlayerMapIcon (
/showthread.php?tid=658471)
[HELP] SetPlayerMapIcon -
Reattor - 04.09.2018
I have an error and it is with the function of "
SetPlayerMapIcon". Well, what happens is that I do not know how to delete the "MapIcon" with its respective "
checkpoint" in "
MAPICON_GLOBAL_CHECKPOINT" mode, if someone knows what function to call to delete this function I would appreciate it.
PS: The "
OnPlayerEnterCheckpoint" function does not work with this or I'm not doing it right.
Re: [HELP] SetPlayerMapIcon -
iHollyZinhO - 05.09.2018
Try again with OnPlayerEnterCheckpoint and use this functions:
DisablePlayerCheckpoint and
RemovePlayerMapIcon.
When the player has entered in checkpoint, you must use this both functions to destroy the checkpoint entered and the map icon.
If it do not works, post your code and we will help you.
Re: [HELP] SetPlayerMapIcon -
KinderClans - 05.09.2018
Or more simple, use a streamer and their associate functions.
Re: [HELP] SetPlayerMapIcon -
Reattor - 05.09.2018
Solved
Still sige without working with the "
OnPlayerEnterCheckpoint", I had to call the functions from "
OnPlayerEnterDynamicArea" thanks