Skip to content

Commit

Permalink
Merge pull request #54 from ShadowsAdi/code-refactor
Browse files Browse the repository at this point in the history
Major code improvements and code refactoring
  • Loading branch information
ShadowsAdi authored Sep 20, 2024
2 parents d30bc5f + adfce21 commit 5acee6f
Show file tree
Hide file tree
Showing 141 changed files with 6,551 additions and 5,340 deletions.
659 changes: 395 additions & 264 deletions addons/amxmodx/configs/csgor_configs.ini

Large diffs are not rendered by default.

12 changes: 11 additions & 1 deletion addons/amxmodx/configs/plugins/csgor/csgo_remake.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ csgor_key_price "250"
// -
// Default: "180"
// Minimum: "0.000000"
csgor_tombola_timer "180"
csgor_raffle_cost "180"

// After how many seconds the Jackpot starts.
// 1 minute = 60 seconds
Expand Down Expand Up @@ -356,6 +356,16 @@ csgor_freezetime "0"
// Default: "850"
csgor_startmoney "850"

// Message's prefix in Chat
// -
// Default: "[CS:GO Remake]"
csgor_chat_prefix "[CS:GO Remake]"

// Price for applying a Name Tag on a Skin.
// -
// Default: "2300"
csgor_skin_nametag_price "2300"

// Fast resources load for players.
// -
// Default "1"
Expand Down
96 changes: 58 additions & 38 deletions addons/amxmodx/data/lang/csgor_language.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[en]
CSGOR_NO_DROP_SKINS = There are no drop type skins!
CSGOR_NO_CRAFT_SKINS = There are no craft type skins!
CSGOR_TOMB_TEXT_MINUTE = minute
CSGOR_TOMB_TEXT_MINUTES = minutes
CSGOR_TOMB_TEXT_SECOND = second
CSGOR_TOMB_TEXT_SECONDS = seconds
CSGOR_RAFFLE_TEXT_MINUTE = minute
CSGOR_RAFFLE_TEXT_MINUTES = minutes
CSGOR_RAFFLE_TEXT_SECOND = second
CSGOR_RAFFLE_TEXT_SECONDS = seconds
CSGOR_POINT = point
CSGOR_CASE = case
CSGOR_KEY = key
Expand Down Expand Up @@ -60,7 +60,7 @@ CSGOR_CTAG_CHANGE_FAIL = Can't change your ^4Chat Tag^1, you need ^4%d ^1more po
CSGOR_GAMES_MENU = Gambling Menu
CSGOR_GAME_ROULETTE = Roulette
CSGOR_GAME_ROULETTE_CLOSED = Roulette
CSGOR_MM_TOMBOLA = Play the Raffle | Price \y%d points
CSGOR_MM_RAFFLE = Play the Raffle | Price \y%d points
CSGOR_ITEM_CASE = Case
CSGOR_ITEM_KEY = Key
CSGOR_BONUS_MENU = \yDaily Bonus
Expand Down Expand Up @@ -184,20 +184,20 @@ CSGOR_TRADE_SELECT_ITEM = Choose an item for trade!
CSGOR_TRADE_SUCCESS = You've traded ^4%s^1 for ^4%s
CSGOR_TRADE_FAIL = Trade fail! Try again!
CSGOR_TRADE_FAIL2 = Trade fail! One of you doesn't have the item!
CSGOR_TOMBOLA_MENU = Raffle
CSGOR_TOMB_TIMER = Drawing over \r%s
CSGOR_TOMB_PLAYERS = Players: \y%d
CSGOR_TOMB_PRIZE = Winning: \y%d \wpoints
CSGOR_TOMB_PLAY = Join!
CSGOR_TOMB_COST = Price: \r%d \wpoints
CSGOR_TOMB_ALREADY_PLAY = You are already participating!
CSGOR_TOMB_REGISTER = [^4Raffle^1] You joined the Raffle!
CSGOR_TOMB_ANNOUNCE = [^4Raffle^1] Player ^4%s^1 joined. Your turn to come!
CSGOR_TOMB_FAIL_REG = [^4Raffle^1] Noone joined to Raffle!
CSGOR_TOMB_FAIL_NUM = [^4Raffle^1] Only one player bet in Raffle!
CSGOR_TOMB_NOT_WORK = Raffle doesn't work!
CSGOR_TOMB_WINNER = Player ^4%s^1 a castigat ^4%d^1 puncte la Tombola!
CSGOR_TOMB_NEXT = [^4Raffle^1] Next draw will be in ^4%s
CSGOR_RAFFLE_MENU = Raffle
CSGOR_RAFFLE_TIMER = Drawing over \r%s
CSGOR_RAFFLE_PLAYERS = Players: \y%d
CSGOR_RAFFLE_PRIZE = Winning: \y%d \wpoints
CSGOR_RAFFLE_PLAY = Join!
CSGOR_RAFFLE_COST = Price: \r%d \wpoints
CSGOR_RAFFLE_ALREADY_PLAY = You are already participating!
CSGOR_RAFFLE_REGISTER = [^4Raffle^1] You joined the Raffle!
CSGOR_RAFFLE_ANNOUNCE = [^4Raffle^1] Player ^4%s^1 joined. Your turn to come!
CSGOR_RAFFLE_FAIL_REG = [^4Raffle^1] Noone joined to Raffle!
CSGOR_RAFFLE_FAIL_NUM = [^4Raffle^1] Only one player bet in Raffle!
CSGOR_RAFFLE_NOT_WORK = Raffle doesn't work!
CSGOR_RAFFLE_WINNER = Player ^4%s^1 a castigat ^4%d^1 puncte la Tombola!
CSGOR_RAFFLE_NEXT = [^4Raffle^1] Next draw will be in ^4%s
CSGOR_T_NOT_FOUND = Didn't found the player %s
CSGOR_T_NOT_LOGGED = Player %s is not logged in
CSGOR_SUBSTRACT = You take %s %d
Expand Down Expand Up @@ -346,13 +346,23 @@ MVP_PLAYING_TRACK = Playing Track:
MVP_BUY_SUCCESS = ^1You have succesfully bought ^4%s^1 with ^4%d^1 points.
MVP_BUY_FAILED = ^1You don't have enough points to buy ^4%s. You have %d/%d

CSGOR_SKIN_NAMETAG_MENU = NameTag Menu
CSGOR_NT_TAG = \wNameTag is: \r%s
CSGOR_NT_INSERT_TAG = \yInsert a NameTag for weapon.
CSGOR_NT_SELECT_ITEM = \ySelect a Skin to apply NameTag
CSGOR_NT_ITEM = \wSkin: \r%s
CSGOR_NT_SEND = Apply NameTag
CSGOR_NT_APPLIED = ^1You applied nametag ^4%s^1 on ^4%s^1 skin.
CSGOR_INSERTED_NAMETAG = You have successfully inserted your Name Tag: ^4%s^1.
CSGOR_SKIN_NAMETAG_IS = Skin NameTag: %s

[ro]
CSGOR_NO_DROP_SKINS = Nu exista skinuri de tipul drop !
CSGOR_NO_CRAFT_SKINS = Nu exista skinuri de tipul craft !
CSGOR_TOMB_TEXT_MINUTE = minut
CSGOR_TOMB_TEXT_MINUTES = minute
CSGOR_TOMB_TEXT_SECOND = secunda
CSGOR_TOMB_TEXT_SECONDS = secunde
CSGOR_RAFFLE_TEXT_MINUTE = minut
CSGOR_RAFFLE_TEXT_MINUTES = minute
CSGOR_RAFFLE_TEXT_SECOND = secunda
CSGOR_RAFFLE_TEXT_SECONDS = secunde
CSGOR_POINT = punct
CSGOR_CASE = cufar
CSGOR_KEY = cheie
Expand Down Expand Up @@ -397,7 +407,7 @@ CSGOR_YOUR_CTAG_IS = Chat Tag-ul tau este: %s
CSGOR_GAMES_MENU = Meniu Jocuri
CSGOR_GAME_ROULETTE = Ruleta \w[\yDeschis\w]
CSGOR_GAME_ROULETTE_CLOSED = Ruleta [\w\rInchis\w]
CSGOR_MM_TOMBOLA = Joaca la Tombola | Pret: \y%d puncte
CSGOR_MM_RAFFLE = Joaca la Tombola | Pret: \y%d puncte
CSGOR_ITEM_CASE = Cufar
CSGOR_ITEM_KEY = Cheie
CSGOR_BONUS_MENU = \yBonus \rMenu \y| \w Alege-ti bonusul
Expand Down Expand Up @@ -525,20 +535,20 @@ CSGOR_TRADE_SELECT_ITEM = Alege un item pentru schimb!
CSGOR_TRADE_SUCCESS = Ai schimbat ^4%s^1 pe ^4%s
CSGOR_TRADE_FAIL = Schimbul a esuat! Incercati din nou!
CSGOR_TRADE_FAIL2 = Schimbul a esuat! Unul dintre voi nu mai are item-ul ales!
CSGOR_TOMBOLA_MENU = Meniu Tombola
CSGOR_TOMB_TIMER = Extragerea peste: \r%s
CSGOR_TOMB_PLAYERS = Participanti: \y%d
CSGOR_TOMB_PRIZE = Castig: \y%d \wpuncte
CSGOR_TOMB_PLAY = Participa!
CSGOR_TOMB_COST = Pret: \r%d \wpuncte
CSGOR_TOMB_ALREADY_PLAY = Deja participi!
CSGOR_TOMB_REGISTER = Te-ai inregistrat la Tombola!
CSGOR_TOMB_ANNOUNCE = Jucatorul ^4%s^1 a intrat la Tombola. Vin-o si tu!
CSGOR_TOMB_FAIL_REG = Esec! Nimeni nu s-a inregistrat la Tombola!
CSGOR_TOMB_FAIL_NUM = Esec! Un singur jucator participa la Tombola!
CSGOR_TOMB_NOT_WORK = Temporar Tombola este blocata!
CSGOR_TOMB_WINNER = Jucatorul ^4%n^1 a castigat ^4%d^1 puncte la Tombola!
CSGOR_TOMB_NEXT = Urmatoare extragere va fi peste ^4%s
CSGOR_RAFFLE_MENU = Meniu Tombola
CSGOR_RAFFLE_TIMER = Extragerea peste: \r%s
CSGOR_RAFFLE_PLAYERS = Participanti: \y%d
CSGOR_RAFFLE_PRIZE = Castig: \y%d \wpuncte
CSGOR_RAFFLE_PLAY = Participa!
CSGOR_RAFFLE_COST = Pret: \r%d \wpuncte
CSGOR_RAFFLE_ALREADY_PLAY = Deja participi!
CSGOR_RAFFLE_REGISTER = Te-ai inregistrat la Tombola!
CSGOR_RAFFLE_ANNOUNCE = Jucatorul ^4%s^1 a intrat la Tombola. Vin-o si tu!
CSGOR_RAFFLE_FAIL_REG = Esec! Nimeni nu s-a inregistrat la Tombola!
CSGOR_RAFFLE_FAIL_NUM = Esec! Un singur jucator participa la Tombola!
CSGOR_RAFFLE_NOT_WORK = Temporar Tombola este blocata!
CSGOR_RAFFLE_WINNER = Jucatorul ^4%n^1 a castigat ^4%d^1 puncte la Tombola!
CSGOR_RAFFLE_NEXT = Urmatoare extragere va fi peste ^4%s
CSGOR_T_NOT_FOUND = Nu am gasit jucatorul cu numele: %s
CSGOR_T_NOT_LOGGED = Jucatorul %s nu este logat
CSGOR_SUBSTRACT = Ai luat de la %s %d
Expand Down Expand Up @@ -692,3 +702,13 @@ MVP_TRACK_VIP_ONLY = Aceasta melodie este doar pentru membri ^4V.I.P^1.
MVP_PLAYING_TRACK = Asculti melodia:
MVP_BUY_SUCCESS = ^1Ai cumparat melodia ^4%s^1 cu ^4%d^1 puncte.
MVP_BUY_FAILED = ^1Nu ai destule puncte pentru a cumpara ^4%s. Detii %d/%d puncte.

CSGOR_SKIN_NAMETAG_MENU = Meniu Schimbare NameTag Skin
CSGOR_NT_TAG = \wNameTag Skin ales: \r%s
CSGOR_NT_INSERT_TAG = \yIntrodu un NameTag pentru skin.
CSGOR_NT_SELECT_ITEM = \ySelecteaza un skin pentru a aplica NameTag.
CSGOR_NT_ITEM = \wSkin: \r%s
CSGOR_NT_SEND = Aplica NameTag.
CSGOR_NT_APPLIED = ^1Ai aplicat NameTag-ul ^4%s^1 pe skin-ul ^4%s^1.
CSGOR_INSERTED_NAMETAG = Ai introdus cu succes un NameTag pentru skin: ^4%s^1.
CSGOR_SKIN_NAMETAG_IS = NameTag Skin: %s
Loading

0 comments on commit 5acee6f

Please sign in to comment.