Jump to content
Autentificarea cu Google și Facebook nu mai este disponibilă. ×

Recommended Posts

Posted

Salutare toata lumea . Astazi am descis sa public un Convertor care l-am gasit in PC si este chiar foarte interesant.

Faza naspa este ca nu functioneaza din ZCMD in STRCMP .

Il puteti lua de mai jos . Nu sunt eu CreatoRUL .

Va urez mult succes si sa convertati cat mai multe comenzi. Nu raspund pentru problemele acestuia si greselile facute de scripteri incepatori .

Link download 1 : http://adf.ly/1LCJsB

Link download 2 : http://adf.ly/1LCK3b

Posted

primul link imi da ca e virus asta totusi e bun http://www.girlshare.ro/33657826.4

Si convertesti din asta

if(strcmp(cmd, "/achat", true) == 0)
    {
        if(PlayerInfo[playerid][pAdmin] > 0)
        {
            new length = strlen(cmdtext);
            while ((idx < length) && (cmdtext[idx] <= ' '))
            {
                idx++;
            }
            new offset = idx;
            new result[128];
            while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
            {
                result[idx - offset] = cmdtext[idx];
                idx++;
            }
            result[idx - offset] = EOS;
            if(!strlen(result))
            {
                SendClientMessage(playerid, COLOR_GRAD2, "USAGE: (/achat [chat]");
                return 1;
            }
            if (PlayerInfo[playerid][pDonateRank] > 0 || PlayerInfo[playerid][pAdmin] > 0)
            {
                   format(string, sizeof(string), "{FFFF00}[CHAT]- Admin %s:{D02F8F}  %s ", sendername, result);
                for(new i = 0; i < MAX_PLAYERS; i++)
                {
                    if(IsPlayerConnected(i))
                    {
                        if(PlayerInfo[pDonateRank] >= 1 || PlayerInfo[pAdmin] > 6)
                        {
                            SendClientMessage(i, COLOR_GRAD2, string);
                        }
                    }
                }
            }
            printf("%s", string);
            return 1;
        }
        else
        {
            SendClientMessage(playerid, COLOR_GRAD2, "  Nu esti vip!");
            return 1;
        }
    }

in asta

 

CMD:achat(playerid, params[])
{
    if(PlayerInfo[playerid][pAdmin] > 0)
    {
        new length = strlen(cmd);
        while ((idx < length) && (cmd[idx] <= ' '))
        {
            idx++;
        }
        new offset = idx;
        new result[128];
        while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
        {
            result[idx - offset] = cmd[idx];
            idx++;
        }
        result[idx - offset] = EOS;
        if(!strlen(result))
        {
            SendClientMessage(playerid, COLOR_GRAD2, "USAGE: (/achat [chat]");
            return 1;
        }
        if (PlayerInfo[playerid][pDonateRank] > 0 || PlayerInfo[playerid][pAdmin] > 0)
        {
            format(string, sizeof(string), "{FFFF00}[CHAT]- Admin %s:{D02F8F}  %s ", sendername, result);
            for(new i = 0; i < MAX_PLAYERS; i++)
            {
                if(IsPlayerConnected(i))
                {
                    if(PlayerInfo[pDonateRank] >= 1 || PlayerInfo[pAdmin] > 6)
                    {
                        SendClientMessage(i, COLOR_GRAD2, string);
                    }
                }
            }
        }
        printf("%s", string);
        return 1;
    }
    else
    {
        SendClientMessage(playerid, COLOR_GRAD2, "  Nu esti vip!");
        return 1;
    }
}

 

Nu e prea iteligent convertorul asta adica oricine stie sa schimbe asta if(strcmp(cmd, "/achat", true) == 0) in asta CMD:achat(playerid, params[])

si nu inlocuieste cmd cu params deci da erori, nu stiu ce sa zic daca va place sa va placa :D

 

    __  ____      __           
   /  |/  (_)____/ /____  _____
  / /|_/ / / ___/ __/ _ \/ ___/
 / /  / / (__  ) /_/  __/ /    
/_/  /_/_/____/\__/\___/_/     
SERVICII SCRIPTING DE CALITATE
Pagina     Scripting     pawn

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.