[AJUDA] Problemas no Checkpoint
#5

Tente isto: '-'
pawn Код:
public OnPlayerEnterCheckpoint(playerid)
{
    if(CPS_IsPlayerInCheckpoint(playerid, menuagencia))
    {
        SendClientMessage(playerid, 0x008080AA, "~~~~~~~~~~~~~~~~~~~~~~~~~ Agкncia de Empregos ~~~~~~~~~~~~~~~~~~~~~~~~~");
        PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0);
        SendClientMessage(playerid, -1, "Para ver o menu de profissoes, Digite: /profs");
        SendClientMessage(playerid, 0x008080AA, "~~~~~~~~~~~~~~~~~~~~~~~~~ Agкncia de Empregos ~~~~~~~~~~~~~~~~~~~~~~~~~");
    }
    if(CPS_IsPlayerInCheckpoint(playerid, menuhabilitacao))
    {
        SendClientMessage(playerid, 0x008080AA, "~~~~~~~~~~~~~~~~~~~~~~~~~ Habilitaзгo ~~~~~~~~~~~~~~~~~~~~~~~~~");
        PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0);
        SendClientMessage(playerid, -1, "Para ver o menu use: /habilitacoes");
        SendClientMessage(playerid, 0x008080AA, "~~~~~~~~~~~~~~~~~~~~~~~~~ Habilitaзгo ~~~~~~~~~~~~~~~~~~~~~~~~~");
    }
    return 1;
}
ou Entao se preferir este:
pawn Код:
public OnPlayerEnterCheckpoint(playerid)
{
    new Check = CPS_GetPlayerCheckpoint(playerid);
    if(Check == menuagencia)
    {
        SendClientMessage(playerid, 0x008080AA, "~~~~~~~~~~~~~~~~~~~~~~~~~ Agкncia de Empregos ~~~~~~~~~~~~~~~~~~~~~~~~~");
        PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0);
        SendClientMessage(playerid, -1, "Para ver o menu de profissoes, Digite: /profs");
        SendClientMessage(playerid, 0x008080AA, "~~~~~~~~~~~~~~~~~~~~~~~~~ Agкncia de Empregos ~~~~~~~~~~~~~~~~~~~~~~~~~");
    }
    if(Check == menuhabilitacao)
    {
        SendClientMessage(playerid, 0x008080AA, "~~~~~~~~~~~~~~~~~~~~~~~~~ Habilitaзгo ~~~~~~~~~~~~~~~~~~~~~~~~~");
        PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0);
        SendClientMessage(playerid, -1, "Para ver o menu use: /habilitacoes");
        SendClientMessage(playerid, 0x008080AA, "~~~~~~~~~~~~~~~~~~~~~~~~~ Habilitaзгo ~~~~~~~~~~~~~~~~~~~~~~~~~");
    }
    return 1;
}
Testei e funcionou,
sу deu estes erros pq nao ta definida no meu gm de testes *-*

Pode usar qualquer 1 dos q ta entre o [pawn] [ / pawn ]
ambos sao a mesma coisa '-'
Reply


Messages In This Thread
[AJUDA] Problemas no Checkpoint - by cezaro - 15.01.2012, 18:38
Re: [AJUDA] Problemas no Checkpoint - by Dolby - 15.01.2012, 18:40
Re: [AJUDA] Problemas no Checkpoint - by cezaro - 15.01.2012, 18:43
Re: [AJUDA] Problemas no Checkpoint - by Dolby - 15.01.2012, 19:11
Re: [AJUDA] Problemas no Checkpoint - by dPlaYer_ - 15.01.2012, 20:56
Re: [AJUDA] Problemas no Checkpoint - by cezaro - 15.01.2012, 21:05
Re: [AJUDA] Problemas no Checkpoint - by dPlaYer_ - 15.01.2012, 21:14
Re: [AJUDA] Problemas no Checkpoint - by AleeFerreira - 15.01.2012, 21:26
Re: [AJUDA] Problemas no Checkpoint - by dPlaYer_ - 15.01.2012, 21:29
Re: [AJUDA] Problemas no Checkpoint - by cezaro - 15.01.2012, 21:38

Forum Jump:


Users browsing this thread: 2 Guest(s)