Removing map icons and pickups
#1

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
Reply
#2

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

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
Reply
#4

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
Reply
#5

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


Forum Jump:


Users browsing this thread: 1 Guest(s)