[Ajuda] Comandos.
#5

pawn Код:
//topo do FS

#include <zcmd>

//Final do FS
CMD:cmdmadd(playerid, params[])
{
    if(!IsPlayerInRangeOfPoint(playerid, 7.0, 1305.4000244141, -800.79998779297, 83.800003051758)
    || !IsPlayerInRangeOfPoint(playerid, 7.0, 1245.9000244141, -764.5, 92)
    || !IsPlayerInRangeOfPoint(playerid, 7.0, 1279.4000244141, -800.5, 88)
    || !IsPlayerInRangeOfPoint(playerid, 7.0, 1252.3994140625, -811.599609375, 83.800003051758)
    || !IsPlayerInRangeOfPoint(playerid, 7.0, 1240, -812.29998779297, 89))
        return SendClientMessage(playerid, -1, "{FF0000}[--ERRO--]:Vocк Nгo Esta na Madd Dogg");
    SendClientMessage(playerid,COR_LARANJA, "[Madd Dogg v.5.2]: {AAAAAA} Escolha Uma {0000FF} Opзгo.");
    GameTextForPlayer(playerid,"~h~~b~~<~Escolha Uma Opcao!", 3000, 1);
    ShowMenuForPlayer(MaddDogg,playerid);
    TogglePlayerControllable(playerid, 0);
    return 1;
}

CMD:nmadd(playerid, params[])
{    
    SendClientMessage(playerid,COR_LARANJA, "[Madd Dogg v.5.2]:{AAAAAA} Vocк Estб Visualizando as {FF0000}Novidades {AAAAAA} da Versгo 5.2 {FF0000} Madd Dogg");
    ShowPlayerDialog(playerid,666,DIALOG_STYLE_MSGBOX,"Madd Novidades v.5.2","Versгo do FS: 5.2\nNovidades:\nAdicionado Mensagem ao dar Spawn\n","Ok","");
    return 1;
}
E nao, n tem que por em nenhuma callback.
Reply


Messages In This Thread
Comandos. - by GHLEMES - 03.05.2014, 21:06
Re: Comandos. - by ForT - 03.05.2014, 21:08
Re: Comandos. - by Input - 03.05.2014, 22:16
Re: Comandos. - by GHLEMES - 03.05.2014, 22:52
Re: Comandos. - by PT - 03.05.2014, 23:36
Re: Comandos. - by GHLEMES - 03.05.2014, 23:50
Re: Comandos. - by Input - 03.05.2014, 23:55
Re: Comandos. - by GHLEMES - 04.05.2014, 00:02
Re: Comandos. - by PT - 04.05.2014, 01:08
Re: Comandos. - by GHLEMES - 04.05.2014, 01:16

Forum Jump:


Users browsing this thread: 4 Guest(s)