[AJUDA] Mensagem da Gang
#1

Entгo Pessoal , tenho uma dъvida , sabe aquela mensagem que aparece "%s Vai Jogar com a Gang dos : Exemplo"
Pois й , quando eu dou /kill , ou morro , aparece novamente , mas se eu ponho a funзгo first spawn , ela sу aparece no primeiro login. Queria saber como pхe quando da /mudar pra aparecer novamente , sem bugar o /kill ou quando morre nгo aparecer novamente...

Codigo :
Код:
Topo do GameMode :

new bool:FirstSpawn[MAX_PLAYERS];

Cуdigo Usado no OnPlayerSpawn :

if(!FirstSpawn[playerid])
{
FirstSpawn[playerid] = true;
Se Alguem Puder ajudar , Dou + REP
Reply
#2

Tem as classes/gangs certo?
Quando vocк escolhe lб na public OnPlayerRequestClass(playerid,classid) vai ter todas as gangs, basta vocк colocando uma SendClientMessageToAll(COR, "Tal Player vai jogar com tal gang."); , eu acho que й assim.
Reply
#3

no cmd mudar.

FirstSpawn[playerid] = false;
Reply
#4

Quote:
Originally Posted by zbt
Посмотреть сообщение
no cmd mudar.

FirstSpawn[playerid] = false;
Vlw mano ^^ , Tгo facil e eu moscando aqui SUAHSUAHUSHA , + Rep


//-----------------------------------------------------------------------------------------//

Mais uma Dъvida que Tenho Aqui , se alguem puder ajudar...
Quando sai da Gangzone , queria que parasse de "piscar" ou seja , dominar , Tem que por Algo Aqui ?

Код:
public ZoneCheckpointChecker()
{
    for(new i; i < MAX_PLAYERS; i++)
    {
        if(!IsPlayerConnected(i))continue;
        if(CPS_GetPlayerCheckpoint(i) > 0 && CPS_GetPlayerCheckpoint(i) <= 23 &&
            //sгo 11 checkpoints, entгo mude se for colocar mais...
			gzcolor[CPS_GetPlayerCheckpoint(i)-1] != GetPlayerColor(i))
        {
            if(cpzone[i][CPS_GetPlayerCheckpoint(i)] < 10)
            {
	            cpzone[i][CPS_GetPlayerCheckpoint(i)]++;
	            new tmp[10];
	            format(tmp, sizeof tmp, "~r~%2d/10", cpzone[i][CPS_GetPlayerCheckpoint(i)]);
	            GameTextForPlayer(i, tmp, 1001, 4);
	            GangZoneFlashForAll(CPS_GetPlayerCheckpoint(i)-1, GetPlayerColor(i));
			} else if(cpzone[i][CPS_GetPlayerCheckpoint(i)] == 10) //passou 10 segundos dentro do checkpoint
            {
                GivePlayerMoney(i, 1000);
                GameTextForPlayer(i, "~r~Area Dominada Com Sucesso!", 1000, 1);
                gzcolor[CPS_GetPlayerCheckpoint(i)-1] = GetPlayerColor(i);
                GangZoneStopFlashForAll(CPS_GetPlayerCheckpoint(i)-1);
                GangZoneHideForAll(CPS_GetPlayerCheckpoint(i)-1);
                GangZoneShowForAll(CPS_GetPlayerCheckpoint(i)-1, GetPlayerColor(i));
            }
        }
    }
}
Reply
#5

Se alguem Puder Ajudar , Dou Rep =)
Desculpem o Double Post
Reply


Forum Jump:


Users browsing this thread: 7 Guest(s)