Raised This Month: $12 Target: $400
 3% 

[HELP] SetMenuTitle String fromatted incorrectly


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
EngHell
Member
Join Date: Jul 2013
Location: Guatemala
Old 01-22-2015 , 18:47   [HELP] SetMenuTitle String fromatted incorrectly
Reply With Quote #1

I got these logs:
PHP Code:
L 01/22/2015 22:53:36: [SMPlugin encountered error 4Invalid parameter or parameter type
L 01
/22/2015 22:53:36: [SMNative "SetMenuTitle" reportedString formatted incorrectly parameter 3 (total 3)
L 01/22/2015 22:53:36: [SMDisplaying call stack trace for plugin "noscope.smx":
L 01/22/2015 22:53:36: [SM]   [0]  Line 162C:\Users\Angel\Documents\sourcepawn\noscope.sp::Cmd_NoscopeVoteRun() 
And this is the related code:

PHP Code:
public Action:Cmd_NoscopeVoteRun(clientargs)
{
    if (!
IsVoteInProgress())
    {
        new 
votedelay CheckVoteDelay();
        if (
votedelay == 0)
        {
            new 
Handle:menu CreateMenu(Handle_NoscopeMenuMENU_ACTIONS_ALL);
            
SetVoteResultCallback(menuHandle_VoteResultsNoscope);
            
SetMenuTitle(menu"%T""Menu Title");
            
AddMenuItem(menu"CHOICEyes""YES");
            
AddMenuItem(menu"CHOICEno""NO");
            
SetMenuExitButton(menufalse);
            
VoteMenuToAll(menu20);
        }else {
            
PrintToChat(client"%T""Vote delay"votedelay);
        }
    } else {
        
PrintToChat(client"%T""Vote in Progres");
    }
    return 
Plugin_Continue;

EngHell is offline
 


Thread Tools
Display Modes

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 14:23.


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