Jump to content
  • 0

limba pe server


laury

Question

sal.dak nici acu nu postez unde trebuie datimi ban

as vrea sa pun pe sv comanda /limba si dupa ce scri aceasta comanda sa iti arate niste limbi prin care poti sa translatezi pe sv

din romana in engleza e mai important

eu am o comanda dar cind scriu ceva tot in romana imi arata ( EX. scriu /en ma ajutati va rog ? ) si tot asa imi arata

uitati comanda aici

//--------------------------------------[Languages]----------------------------------------------------
    if(strcmp(cmd, "/italiana", true) == 0 || strcmp(cmd, "/ita", true) == 0) //
    {
        if(cmdtext[4])
        {
            GetPlayerName(playerid, sendername, sizeof(sendername));
            format(string, sizeof(string),"[Italiana]:%s Says: %s", sendername, cmdtext[4]);
            ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
        }
        else
        {
            SendClientMessage(playerid, 0x33CCFFAA, "USAGE: /ita(liana) [message]");
        }
    }
    if(strcmp(cmd, "/japoneza", true) == 0 || strcmp(cmd, "/jap", true) == 0) //
    {
        if(cmdtext[4])
        {
            GetPlayerName(playerid, sendername, sizeof(sendername));
            format(string, sizeof(string), "[Japoneza] %s Says: %s", sendername, cmdtext[4]);
            ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
        }
        else
        {
            SendClientMessage(playerid, 0x33CCFFAA, "USAGE: /jap(oneza) [message]");
        }
    }
    if(strcmp(cmd, "/chineza", true) == 0 || strcmp(cmd, "/chi", true) == 0) //
    {
        if(cmdtext[4])
        {
            GetPlayerName(playerid, sendername, sizeof(sendername));
            format(string, sizeof(string), "[Chineza] %s Says: %s", sendername, cmdtext[4]);
            ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
        }
        else
        {
            SendClientMessage(playerid, 0x33CCFFAA, "USAGE: /chi(neza) [message]");
        }
    }
    if(strcmp(cmd, "/spaniola", true) == 0 || strcmp(cmd, "/spa", true) == 0) //
    {
        if(cmdtext[4])
        {
            GetPlayerName(playerid, sendername, sizeof(sendername));
            format(string, sizeof(string), "[Spaniola] %s Says: %s", sendername, cmdtext[4]);
            ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
        }
        else
        {
            SendClientMessage(playerid, 0x33CCFFAA, "USAGE: /spa(niola) [message]");
        }
    }
    if(strcmp(cmd, "/rusa", true) == 0 || strcmp(cmd, "/ru", true) == 0) //
    {
        if(cmdtext[4])
        {
            GetPlayerName(playerid, sendername, sizeof(sendername));
            format(string, sizeof(string), "[Rusa] %s Says: %s", sendername, cmdtext[4]);
            ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
        }
        else
        {
            SendClientMessage(playerid, 0x33CCFFAA, "USAGE: /ru(sa) [message]");
        }
    }
    if(strcmp(cmd, "/engleza", true) == 0 || strcmp(cmd, "/en", true) == 0) //
    {
        if(cmdtext[4])
        {
            GetPlayerName(playerid, sendername, sizeof(sendername));
            format(string, sizeof(string), "[Engleza] %s Says: %s", sendername, cmdtext[4]);
            ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
        }
        else
        {
            SendClientMessage(playerid, 0x33CCFFAA, "USAGE: /en(gleza) [message]");
        }
    }
    if(strcmp(cmd, "/franceza", true) == 0 || strcmp(cmd, "/fra", true) == 0) //
    {
        if(cmdtext[4])
        {
            GetPlayerName(playerid, sendername, sizeof(sendername));
            format(string, sizeof(string), "[Franceza] %s Says: %s", sendername, cmdtext[4]);
            ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
        }
        else
        {
            SendClientMessage(playerid, 0x33CCFFAA, "USAGE: /fra(nceza) [message]");
        }
    }
    if(strcmp(cmd, "/germana", true) == 0 || strcmp(cmd, "/ger", true) == 0) //
    {
        if(cmdtext[4])
        {
            GetPlayerName(playerid, sendername, sizeof(sendername));
            format(string, sizeof(string), "[Germana] %s Says: %s", sendername, cmdtext[4]);
            ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
        }
        else
        {
            SendClientMessage(playerid, 0x33CCFFAA, "USAGE: /ger(mana) [message]");
        }
    }
    if(strcmp(cmd, "/limbi", true) == 0)
    {
        SendClientMessage(playerid, COLOR_GREEN, "__________________________");
        SendClientMessage(playerid, COLOR_WHITE, " /en(gleza) | /fra(nceza) | /ger(mana) | /ru(sa) | /spa(niola) ");
        SendClientMessage(playerid, COLOR_WHITE, " /chi(neza) | /jap(oneza) | /ita(liana) ");
        SendClientMessage(playerid, COLOR_GREEN, "__________________________");
    }

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Guest
This topic is now closed to further replies.
  • 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.