icon check
#1

Is there any way to check if the player got any icon on him?
Like if he got an icon or label on him
Reply
#2

I assume you could make a for loop, and check for a "hasLabel[playerid]" and then run the code:

pawn Код:
//When the label gets created
hasLabel[playerid] = 1;


//Command or sth..
for(new i; i < MAX_PLAYERS; i++)
{
     if(hasLabel[i] == 1)
     {
          //Do some code here    
     }
}
Reply
#3

I meant like example:to get players health you do GetPlayerHealth
How to get like ifvhe got any icons attached to him
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)