SA-MP Forums Archive
Removing map icons and pickups - 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: Removing map icons and pickups (/showthread.php?tid=441728)



Removing map icons and pickups - lramos15 - 04.06.2013

I was wondering how I could remove all the map icons, played blips, pickups, and NPCs and I was also wondering how do I make all the player names white except admins on duty


Re: Removing map icons and pickups - Captive - 04.06.2013

OnGameModeInit:
PHP код:
DisableInteriorEnterExits();
ShowPlayerMarkers(0); 
OnPlayerConnect:
PHP код:
if(IsPlayerAdmin(playerid))SetPlayerColor(playeridCOLOR);//Or check admin variable
else SetPlayerColor(playerid0xFFFFFFFF);//Or the #define of color 



Re: Removing map icons and pickups - Kirollos - 04.06.2013

Quote:
Originally Posted by Captive
Посмотреть сообщение
OnGameModeInit:
OnPlayerConnect:
PHP код:
if(IsPlayerAdmin(playerid))SetPlayerColor(playeridCOLOR);//Or check admin variable 
impossible someone logs into rcon/logs into his accounts after he connects immediately. should be if it was with admin variable under OnPlayerSpawn, and if it was RCON so check can run under OnRconLoginAttempt


Re: Removing map icons and pickups - lramos15 - 04.06.2013

I want so when I type my a duty command it changes to a color and when I type a duty off it changes back


Re: Removing map icons and pickups - lramos15 - 04.06.2013

Also how would I remove the the pickups on the map and the default NPCS