AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Containi help (https://forums.alliedmods.net/showthread.php?t=208031)

Unkolix 02-09-2013 08:17

Containi help
 
I have made this:
PHP Code:

new szMap20 ]
<...>
new const 
awpmapnames[][] =
{
    
"2x2""cs_max"
}
<...>
get_mapnameszMap charsmaxszMap ) );
for( new 
sizeofawpmapnames ) ; i++ )
{
    if ( 
containi(szMap awpmapnames]) !=-)
    {
        
menu_additem(menu"\yAWP su Deagle""3"0);
    }


This code does that if map name contains "2x2" or "cs_max" in it, it will show menu_additem. I need to make that menu_additem wouldn't show in that maps.

YamiKaitou 02-09-2013 08:18

Re: Containi help
 
Do not make duplicate threads...


All times are GMT -4. The time now is 20:37.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.