FCNPC blips - 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: FCNPC blips (
/showthread.php?tid=646182)
FCNPC blips -
NealPeteros - 12.12.2017
How do you remove these blips on the maps that indicate the position of FCNPC NPCs?
Re: FCNPC blips -
MEW273 - 12.12.2017
You could set their color to be transparent:
0xRRGGBB
00
https://sampwiki.blast.hk/wiki/Colors_Li...ransparency.29
Re: FCNPC blips -
RogueDrifter - 12.12.2017
Quote:
Originally Posted by MEW273
|
Exactly what MEW273 said, also I've tried that method a few times but i'm not sure why at some point it required a constantly called timer setting the player's color to a transparent one for ex:
PHP код:
if(IsPlayerNPC(playerid)) SetPlayerColor(playerid, 0xFFFFFF00);
even though i had no other functions changing the player's color yet it required for the setplayercolor to be called several times, MEW273 comment should work and if all else fails just plug the isplayernpc and setplayercolor under any ongoing timer u got in ur script, good luck.
Re: FCNPC blips -
NealPeteros - 12.12.2017
Quote:
Originally Posted by MEW273
|
Thanks
EDIT: Can't give a rep to MEW, I think I've sent him one previously. dw, I'll get back at ya.