SA-MP Forums Archive
Map irritating object - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Map irritating object (/showthread.php?tid=179523)



Map irritating object - Scriptissue - 27.09.2010

How can I delete this certain object from the map ?
So that no one will be able to see each others location .



Re: Map irritating object - JamesC - 27.09.2010

Put this under OnGameModeInit()

pawn Код:
ShowPlayerMarkers(0);



Re: Map irritating object - Scenario - 27.09.2010

Quote:
Originally Posted by JamesC
Посмотреть сообщение
Put this under OnGameModeInit()

pawn Код:
ShowPlayerMarkers(0);
No, that will also remove the name-tag that appears above a players head!

Use this: RemovePlayerMapIcon();


Re: Map irritating object - Kyosaur - 27.09.2010

Quote:
Originally Posted by RealCop228
Посмотреть сообщение
No, that will also remove the name-tag that appears above a players head!

Use this: RemovePlayerMapIcon();
Im afraid you are incorrect.


Re: Map irritating object - nemesis- - 27.09.2010

Quote:
Originally Posted by RealCop228
Посмотреть сообщение
No, that will also remove the name-tag that appears above a players head!

Use this: RemovePlayerMapIcon();
Wrong. Player markers, not map icons.


Re: Map irritating object - Scriptissue - 27.09.2010

So
RemovePlayermarkers();
?


Re: Map irritating object - Lina H - 27.09.2010

Quote:
Originally Posted by Scriptissue
Посмотреть сообщение
So
RemovePlayermarkers();
?
Seems so
As James said

Код:
ShowPlayerMarkers(0);



Re: Map irritating object - Scenario - 27.09.2010

Quote:
Originally Posted by Kyosaur
Посмотреть сообщение
Im afraid you are incorrect.
I'm half right, yet half wrong. Anyways, I mixed up the functions in my head. Sorry...


Re: Map irritating object - Kyosaur - 27.09.2010

Quote:
Originally Posted by Scriptissue
Посмотреть сообщение
So
RemovePlayermarkers();
?
Use

Код:
ShowPlayerMarkers(0);
Quote:
Originally Posted by RealCop228
Посмотреть сообщение
I'm half right, yet half wrong. Anyways, I mixed up the functions in my head. Sorry...
Hmmm no, you were flat out wrong on both statements lol, but people make mistakes :P.


EDIT: I think that made me sound like an asshole, which wasnt my intent. RemovePlayerMapIcon removes a previously set mapicon for the specified players, and ShowPlayerMarkers(0) just removes the blips on the map (doesnt remove the name tags). Im telling you so you dont make any future mistakes with them (as your last post sounded like there was still some confusion).


Re: Map irritating object - Scenario - 27.09.2010

Quote:
Originally Posted by Kyosaur
Посмотреть сообщение
Use

Код:
ShowPlayerMarkers(0);

Hmmm no, you were flat out wrong on both statements lol, but people make mistakes :P.


EDIT: I think that made me sound like an asshole, which wasnt my intent. RemovePlayerMapIcon removes a previously set mapicon for the specified players, and ShowPlayerMarkers(0) just removes the blips on the map (doesnt remove the name tags). Im telling you so you dont make any future mistakes with them (as your last post sounded like there was still some confusion).
I just double checked my script, and you are right. I apologize...

I use this function;
pawn Код:
ShowNameTags(0);