Jump to content

StefanAdv

Membru
  • Posts

    57
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by StefanAdv

  1. CMD:vipnamecolors(playerid, params[])
    {
         new string_colors[512];
         format(string_colors, 256, "{FFFFFF}White\n{000000}Black\n");
         ShowPlayerDialog(playerid, DIALOG_VIPNAMECOLOR, DIALOG_STYLE_LIST, "VIPNAME COLOR:", string_colors, "Select", "Cancel");
        return 1;
    }
    stock serverColors(id) {
        new string[180];
        switch(id) {
            case 0: string = "FFFFFF";
            case 1: string = "000000";
        }
        return string;
    }

    if(dialogid == DIALOG_VIPNAMECOLOR)
        {
            if(response)
            {
                if(!IsPlayerInAnyVehicle(playerid))return SCM(playerid, COLOR_LIGHTRED, "Nu te aflii intr-un vehicul!");
                new save_color[256];
                switch(listitem)
                {
                    case 0:
                    {

                        CarInfo[OwnedVeh(vehicleid)][cVipTextColor] = 0;
                        Aici faci functia sa-ti puna pe vehiculul respectiv numele cu acea culoare
                    }


        }

    Incearca asa si vezi cum e!

    PS:Ai de definit multe si de facut eu ti-am dat baza de aici dezvolti tu succes!

    • Like 1
×
×
  • 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.