Raised This Month: $ Target: $400
 0% 

Galileo v5.9.1-925 (a feature rich map voting plugin) | Last Update: 2018-07-16


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
YParushev
Junior Member
Join Date: Mar 2016
Old 03-30-2016 , 22:28   Re: Galileo v2.3.4 (a feature rich map voting plugin) | Last Update: 27.03.2016
Reply With Quote #10

Try "nom cs or de" (for example) and make a selection.Is not displayed correctly.In this case both codes do not function well.

This code works, but it gives an error and sometimes can not nominate a map and report error logged.

Code:
public nomination_handleMatchChoice( player_id, menu, item )
{
    if( item < 0 )
    {
        return PLUGIN_CONTINUE;
    }
    // Get item info
    new mapIndex, info[ 1 ];
    new access, callback;
    
    menu_item_getinfo( g_nominationMatchesMenu[ player_id ], item, access, info, 1, _, _, callback );

    mapIndex = info[ 0 ];    
    map_nominate( player_id, mapIndex );
    
    return PLUGIN_HANDLED;
}


Error:
Code:
L 03/31/2016 - 05:44:54: Invalid cellvector handle provided (15:-40:267)
L 03/31/2016 - 05:44:54: [AMXX] Displaying debug trace (plugin "galileo.amxx")
L 03/31/2016 - 05:44:54: [AMXX] Run time error 10: native error (native "ArrayGetString")
L 03/31/2016 - 05:44:54: [AMXX]    [0] galileo.sma::map_nominate (line 2434)
L 03/31/2016 - 05:44:54: [AMXX]    [1] galileo.sma::nomination_handleMatchChoice (line 2315)
Other code works to "say nomenu", but for "say nom cs" (or any card) does not work.
I do not speak good English,Sorry.

Last edited by YParushev; 03-30-2016 at 22:59.
YParushev 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 10:03.


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