From bff11bc18e147ea4a9c93053f1da2b842fddb1b8 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sun, 19 Sep 2004 16:32:15 +0000 Subject: [PATCH] Fixed method of illegal buying --- plugins/cstrike/restmenu.sma | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/cstrike/restmenu.sma b/plugins/cstrike/restmenu.sma index a30adb3a..88402221 100755 --- a/plugins/cstrike/restmenu.sma +++ b/plugins/cstrike/restmenu.sma @@ -313,14 +313,14 @@ setWeapon( a , action ) { findMenuId( name[] ) { for(new i = 0; i < 7 ; ++i) - if( equal( name , g_menusNames[i] ) ) + if( equali( name , g_menusNames[i] ) ) return i return -1 } findAliasId( name[] ) { for(new i = 0; i < MAXMENUPOS ; ++i) - if( equal( name , g_Aliases[i] ) ) + if( equali( name , g_Aliases[i] ) ) return i return -1 } @@ -486,8 +486,8 @@ public client_command( id ) { new a = 0 do { - if ( equal( g_Aliases[g_AliasBlock[ a ]] , arg ) || - equal( g_Aliases2[g_AliasBlock[ a ]] , arg ) ) + if ( equali( g_Aliases[g_AliasBlock[ a ]] , arg ) || + equali( g_Aliases2[g_AliasBlock[ a ]] , arg ) ) { client_print(id,print_center,g_Restricted ) return PLUGIN_HANDLED