Raised This Month: $ Target: $400
 0% 

Containi help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Unkolix
Veteran Member
Join Date: Sep 2012
Old 02-09-2013 , 08:17   Containi help
#1

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.
Unkolix is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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