PHP Code:
new const g_szOptions[ MAX_MENU ][ ] = //Item Names
{
"Big Bang",
"Blind Bomb",
"Freeze Dem Hoes",
"155 Extra Life Force",
"255 Armor",
"Speed Racist (20 Seconds)",
"Invis Cloak (20 Seconds)",
"Invincibility (20 Seconds)",
"Awp (1 Bullet)",
"Deagle (1 Bullet)",
"Spy Disguise (20 Seconds)",
"Iron Legs",
"Flash Protection",
"Chilly Skin",
"Cat Paws (Silent Walk)",
"I Live Forever (1 Per Map)"
}
For the items with seconds, i want to use my pcvars for the names so if the time is set for 15 seconds etc i wont need to change it manually. Can it be done?
Like this, except without errors
PHP Code:
new const g_szOptions[ MAX_MENU ][ ] = //Item Names
{
"Big Bang",
"Blind Bomb",
"Freeze Dem Hoes",
"155 Extra Life Force",
"255 Armor",
"Speed Racist (%i Seconds)", //pcvar_speed
"Invis Cloak (%i Seconds)", //pcvar_invis
"Invincibility (%i Seconds)", //pcvar_invinc
"Awp (1 Bullet)",
"Deagle (1 Bullet)",
"Spy Disguise (%i Seconds)", //pcvar_disguise
"Iron Legs",
"Flash Protection",
"Chilly Skin",
"Cat Paws (Silent Walk)",
"I Live Forever (1 Per Map)"
}
__________________