[Ajuda] Converter comandos
#1

Galera queria saber se alguйm sabe como converter esse comandos de cmd, para strcmd e se da para ajudar.

Код:
CMD:banco(playerid,params[]) return SetPlayerPos(playerid,2305.6309,-16.1295,26.7496);
    //--------------------------------------------------------------------------
CMD:depositar(playerid,params[])
    {
        if(IsPlayerInRangeOfPoint(playerid,5.0,c1) || IsPlayerInRangeOfPoint(playerid,5.0,c2) || IsPlayerInRangeOfPoint(playerid,5.0,c3) || IsPlayerInRangeOfPoint(playerid,5.0,c4))
        {
            ShowPlayerDialog(playerid,666,DIALOG_STYLE_INPUT,"banco",quantidade,"ok","fechar");
        }
        else return SendClientMessage(playerid,-1,falso);
        return 1;
    }
    //--------------------------------------------------------------------------
CMD:sacar(playerid,params[])
    {
        if(IsPlayerInRangeOfPoint(playerid,5.0,c1) || IsPlayerInRangeOfPoint(playerid,5.0,c2) || IsPlayerInRangeOfPoint(playerid,5.0,c3) || IsPlayerInRangeOfPoint(playerid,5.0,c4))
        {
            ShowPlayerDialog(playerid,665,DIALOG_STYLE_INPUT,"banco",quantidade,"ok","fechar");
        }
        else return SendClientMessage(playerid,-1,falso);
        return 1;
    }
    //--------------------------------------------------------------------------
CMD:saldo(playerid,params[])
    {
        if(IsPlayerInRangeOfPoint(playerid,5.0,c1) || IsPlayerInRangeOfPoint(playerid,5.0,c2) || IsPlayerInRangeOfPoint(playerid,5.0,c3) || IsPlayerInRangeOfPoint(playerid,5.0,c4))
        {
            GetPlayerName(playerid,nome,24);
            format(arquivo,28,account,nome);
            format(paramount,50,"vocк ainda tem depositado R$%d",DOF2_GetInt(arquivo, "grana"));
            ShowPlayerDialog(playerid,664,DIALOG_STYLE_MSGBOX,"banco",paramount,"ok","");
            return 1;
        }
        else return SendClientMessage(playerid,-1,falso);
    }
Reply


Messages In This Thread
Converter comandos - by Forrest - 19.07.2013, 17:00
Re: Converter comandos - by Leopawno - 19.07.2013, 17:21
Respuesta: Converter comandos - by Parka - 19.07.2013, 17:36
Re: Converter comandos - by Forrest - 19.07.2013, 18:32

Forum Jump:


Users browsing this thread: 3 Guest(s)