[Dъvida] Sobre ShowPlayerMakers..
#7

Pronto, agora nгo vai lagar :


pawn Код:
//No Topo do GM
#define AZUL_MAR 0xAFAFAFAA  //Defina a cor aqui
forward LoadMarks();


//Coloque no OnGameModeInit

SetTimer("LoadMarks", 1000, true);//1000 = 1 segundo , mude de acordo com o tempo para que as marcas sejam atualizadas


//Final do GM
public LoadMarks()
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(IsPlayerAdmin(playerid))//Sу mudar aqui para a variбvel que corresponde ao level de admin
        {
            SetPlayerMarkerForPlayer(i, playerid, AZUL_MAR);
        }
    }
}
Reply


Messages In This Thread
[Dъvida] Sobre ShowPlayerMakers.. - by Erick_Schultz - 19.12.2010, 03:02
Re: [Dъvida] Sobre ShowPlayerMakers.. - by Erick_Schultz - 19.12.2010, 11:46
Re: [Dъvida] Sobre ShowPlayerMakers.. - by rjjj - 19.12.2010, 11:53
Re: [Dъvida] Sobre ShowPlayerMakers.. - by Erick_Schultz - 19.12.2010, 11:56
Re: [Dъvida] Sobre ShowPlayerMakers.. - by rjjj - 19.12.2010, 12:02
Re: [Dъvida] Sobre ShowPlayerMakers.. - by Erick_Schultz - 19.12.2010, 12:06
Re: [Dъvida] Sobre ShowPlayerMakers.. - by rjjj - 19.12.2010, 12:11
Re: [Dъvida] Sobre ShowPlayerMakers.. - by Erick_Schultz - 19.12.2010, 12:19
AW: [Dъvida] Sobre ShowPlayerMakers.. - by Xapita_Halls - 19.12.2010, 12:25
Re: [Dъvida] Sobre ShowPlayerMakers.. - by rjjj - 19.12.2010, 12:31

Forum Jump:


Users browsing this thread: 2 Guest(s)