need help!! please help how chage admin color
#1

post delete by user.
Reply
#2

PHP код:
if(IsPlayerAdmin(playerid)) { SetPlayerColor(playerid0xFF00D8FF); } 
Remark: Change IsPlayerAdmin for your admin variable.
Reply
#3

thanks man thx bro gracias
Reply
#4

were do i add it like under onplayertextcomman or were plz?
Reply
#5

Do you want it on when an Admin Connects? here:

pawn Код:
public OnPlayerConnect(playerid) // Player Connection
{
    if(IsPlayerAdmin(playerid)) // Checks if the Player is Admin
    {
        SetPlayerColor(playerid, 0xFF00D8FF); // Sets the Admin pink coloured
    }
    return 1;
}
Reply
#6

It depends on when you want this function to be called as dr.pepper said.
Reply
#7

i wan it like when a admin connect in server only
Reply
#8

Then do what dr.pepper said.

@dr.pepper: Btw how can you logged as rcon admin while you just connected to server.
Reply
#9

yea but umm can it work for eny kind of admin?
Reply
#10

Quote:
Originally Posted by varthshenon
Посмотреть сообщение
Then do what dr.pepper said.

@dr.pepper: Btw how can you logged as rcon admin while you just connected to server.
Sorry, I was paying attention lolz.

@sampx just put the 'include' in your script of the admin system, and use the code that defines a Admin's level.

Edit: @varthshenon, you could've logged in with console.
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)