Descriere: [ZP/ZPA] Cum sa folosesti culori la Arme/Gameplay
Download: -
Autor: Anonim
Sursa (Link-ul oficial): Propria parere: Enjoy!
Tutorialul:
Deschidem zombie_plague40.sma sau zombie_plague_advance_v1.6.1.sma
si cautam linia aceasta:
Cod: Selectaţi tot
// Primary and Secondary Weapon Names
new const WEAPONNAMES[][] = { "", "P228 Compact", "", "Schmidt Scout", "", "XM1014 M4", "", "Ingram MAC-10", "Steyr AUG A1",
"", "Dual Elite Berettas", "FiveseveN", "UMP 45", "SG-550 Auto-Sniper", "IMI Galil", "Famas",
"USP .45 ACP Tactical", "Glock 18C", "AWP Magnum Sniper", "MP5 Navy", "M249 Para Machinegun",
"M3 Super 90", "M4A1 Carbine", "Schmidt TMP", "G3SG1 Auto-Sniper", "", "Desert Eagle .50 AE",
"SG-552 Commando", "AK-47 Kalashnikov", "", "ES P90" }\r - Rosu
\y - Galben
\w - Alb
Si ne apucam si modificam pana o sa avem asa :
Cod: Selectaţi tot
// Primary and Secondary Weapon Names
new const WEAPONNAMES[][] = { "", "\rP228 Compact", "", "\ySchmidt Scout", "", "\rXM1014 M4", "", "\yIngram MAC-10", "\rSteyr AUG A1",
"", "\yDual Elite Berettas", "\rFiveseveN", "\yUMP 45", "\ySG-550 Auto-Sniper", "\rIMI Galil", "Famas",
"\yUSP .45 ACP Tactical", "\yGlock 18C", "rAWP Magnum Sniper", "\yMP5 Navy", "\rM249 Para Machinegun",
"\yM3 Super 90", "\rM4A1 Carbine", "\ySchmidt TMP", "\rG3SG1 Auto-Sniper", "", "\yDesert Eagle .50 AE",
"\rSG-552 Commando", "\yAK-47 Kalashnikov", "", "\rES P90" }1. P228 Compact
2. Schdmidt Scout
si tot asa galben/rosu/galben/rosu etc...
Aceste culori \r , \y , \w se pot folosi si pentru clasele de Zombie / Human exemplu :
ai pe server clasa de Zombie Smoker intri in sma si cauti linia aceasta :
Cod: Selectaţi tot
new const zclass_name[] = { "Zombie Smoker" }Cod: Selectaţi tot
new const zclass_name[] = { "\rZombie Smoker" }Se mai poate folosi pentru a edita acele mesaje din meniu (M) ex .. deschidem zombie_plague40.sma si cautam
Cod: Selectaţi tot
/*================================================================================
[Menus]
=================================================================================*/
// Game Menu
show_menu_game(id)
{
static menu[250], len
len = 0
// Title
len += formatex(menu[len], sizeof menu - 1 - len, "\y%s^n^n", g_modname)
// 1. Buy weapons
if (get_pcvar_num(cvar_buycustom))
len += formatex(menu[len], sizeof menu - 1 - len, "\r1.\w %L^n", id, "MENU_BUY")
else
len += formatex(menu[len], sizeof menu - 1 - len, "\d1. %L^n", id, "MENU_BUY")
// 2. Extra items
if (!g_survivor[id] && !g_nemesis[id] && get_pcvar_num(cvar_extraitems) && is_user_alive(id))
len += formatex(menu[len], sizeof menu - 1 - len, "\r2.\w %L^n", id, "MENU_EXTRABUY")
else
len += formatex(menu[len], sizeof menu - 1 - len, "\d2. %L^n", id, "MENU_EXTRABUY")
// 3. Zombie class
if (get_pcvar_num(cvar_zclasses))
len += formatex(menu[len], sizeof menu - 1 - len, "\r3.\w %L^n", id,"MENU_ZCLASS")
else
len += formatex(menu[len], sizeof menu - 1 - len, "\d3. %L^n", id,"MENU_ZCLASS")
// 4. Unstuck
if (is_user_alive(id))
len += formatex(menu[len], sizeof menu - 1 - len, "\r4.\w %L^n", id, "MENU_UNSTUCK")
else
len += formatex(menu[len], sizeof menu - 1 - len, "\d4. %L^n", id, "MENU_UNSTUCK")
// 5-6. Help and join spec
len += formatex(menu[len], sizeof menu - 1 - len, "\r5.\w %L^n^n\r6.\w %L^n^n", id, "MENU_INFO", id, "MENU_SPECTATOR")
// 7. Vip meniu items
len += formatex(menu[len], charsmax(menu) - len, "\r7.\w VIP Menu Items^n^n")
// 9. Admin menu
if (get_user_flags(id) & ACCESS_FLAG)
len += formatex(menu[len], sizeof menu - 1 - len, "\r9.\w %L", id, "MENU_ADMIN")
else
len += formatex(menu[len], sizeof menu - 1 - len, "\d9. %L", id, "MENU_ADMIN")
case 6: client_cmd(id, "say /vm") // Vip menu call
// 0. Exit
len += formatex(menu[len], sizeof menu - 1 - len, "^n^n\r0.\w %L", id, "MENU_EXIT")
show_menu(id, KEYSMENU, menu, -1, "Game Menu")
}Cod: Selectaţi tot
len += formatex(menu[len], charsmax(menu) - len, "\r7.\w VIP Meniu Items^n^n") Cod: Selectaţi tot
\r7.\w VIP Menu ItemsCod: Selectaţi tot
\r7.\y VIP Meniu ItemsCelelalte le gasiti in zombie_plague.txt si de acolo puteti pune direct culorile \r \y \w exemplu intram in zombie_plague.txt si cautam :
Cod: Selectaţi tot
MENU_BUY = Buy Weapons
MENU_EXTRABUY = Buy Extra Items
MENU_ZCLASS = Choose Zombie Class
MENU_UNSTUCK = Unstuck
MENU_ADMIN_CUSTOM = Start Custom Modes Menu
MENU_ADMIN = Change Class Or Respawn Someone
MENU2_ADMIN = Start Modes Menu
MENU3_ADMIN = Admin Menu
MENU_INFO = Help
MENU_SPECTATOR = Join SpectatorsAcum o sa le modificam luand culoarea rosu(\r)
Cod: Selectaţi tot
MENU_BUY = \rBuy Weapons