1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Sign up for news, events and more!

    You're currently visiting the official DarkRP Forums as a guest. Sign up now to participate in our community and we'll let you know when we have news.

[HELP] Lottery won't work

Discussion in 'Modder General Chat' started by Goran, May 5, 2020.

  1. Goran

    Goran New Member

    Hi there.

    Actually, i'm finishing my DarkRP server, but i have a problem here.

    When i become Mayor, i can't.
    CODE: (actually, it is in spanish. If u need translation, i can do)
    -- The lottery
    lottery_started = "¡Lotería! ¿Querés participar por %s%d?", -- backwards compatibility
    lottery_has_started = "¡Lotería! ¿Querés participar por %s?",
    lottery_entered = "Entraste a la lotería por %s",
    lottery_not_entered = "%s no entró a la lotería",
    lottery_noone_entered = "Nadie entró a la lotería",
    lottery_won = "%s ganó la lotería. Ganó %s",
    lottery = "lotería",
    lottery_please_specify_an_entry_cost = "Por favor, agregá un precio de entrada ($%i-%i)",

    TEAM_PRESIDENTE = DarkRP.createJob("Presidente", {
    color = Color(225, 90, 25, 255),
    model = {
    "models/player/magnusson.mdl",
    },
    description = [[Tomás el rol del presidente de Evocity. Ejercés el mandato sobre toda la rama policial.]],
    weapons = {"keys", "weapon_physcannon", "weapon_physgun", "gmod_tool", "pocket", "m9k_deagle"},
    command = "presi",
    max = 1, -- at most 70% of the players can have this job. Set to a whole number to set an absolute limit.
    salary = 700,
    admin = 0,
    vote = true,
    hasLicense = true,
    category = "Gobierno",
    mayor = true,


    })
     
    Last edited: May 8, 2020

Share This Page