[ajuda] Como dar leader a alguma ORG
#3

pawn Код:
#define LIDER_TEAM_GROVE 10
Como setar o cara para lider:

pawn Код:
gTeam[playerid] = LIDER_TEAM_GROVE;
Agora para aparecer a mensagem, coloca na CallBack OnPlayerConnect:
pawn Код:
if(gTeam[playerid] == LIDER_TEAM_GROVE)
{
    new msg[40], Name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, Name, MAX_PLAYER_NAME);
    format(msg,sizeof(msg),"* O lider da grove %s conectou no servidor.", Name);
    SendClientMessageToAll(-1,msg);
}
Obs: Isso foi sу um exemplo para vocк ver como se faz.
ObsІ: Para que a mensagem apareзa vocк deve configurб-la com seu sistema de salvamento.
Reply


Messages In This Thread
[ajuda] Como dar leader a alguma ORG - by Rick_DR - 14.03.2012, 15:50
Re: [ajuda] Como dar leader a alguma ORG - by Skun Fly - 14.03.2012, 16:14
Re: [ajuda] Como dar leader a alguma ORG - by Abravanel - 14.03.2012, 16:26
Re: [ajuda] Como dar leader a alguma ORG - by Rick_DR - 14.03.2012, 21:39
Re: [ajuda] Como dar leader a alguma ORG - by Skun Fly - 14.03.2012, 21:59

Forum Jump:


Users browsing this thread: 2 Guest(s)