Import of baseplugins.sp
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401290
This commit is contained in:
parent
681477cd24
commit
59687e802d
@ -328,6 +328,17 @@ public Handler_VoteCallback(Handle:menu, MenuAction:action, param1, param2)
|
||||
}
|
||||
else if (action == MenuAction_Display)
|
||||
{
|
||||
decl String:display[64];
|
||||
GetMenuItem(menu, param2, "", 0, _, display, sizeof(display));
|
||||
|
||||
if (g_voteType != voteType:question)
|
||||
{
|
||||
decl String:buffer[255];
|
||||
Format(buffer, sizeof(buffer), "%T", display, param1);
|
||||
|
||||
return RedrawMenuItem(buffer);
|
||||
}
|
||||
|
||||
}
|
||||
else if (action == MenuAction_DisplayItem)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user