Raised This Month: $ Target: $400
 0% 

Help me pls


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
4m1nutes
New Member
Join Date: Jul 2023
Old 07-30-2023 , 16:46   Help me pls
Reply With Quote #1

I downloaded the deathrun lite plugin and I have an error, the menu does not come out with a pass To, that's what it gives out when compiling
warning 209: function has explicit 'int' tag but does not return a value

public int MenuTerroristItems(Menu hMenu, MenuAction action, int iClient, int iItem)
{
switch(action)
{
case MenuAction_End: delete hMenu;
case MenuAction_Cancel:
{
switch(iItem)
{
case MenuCancel_Interrupted: CreateTimer(0.0, TimerReturnMenu, UID(iClient));
case MenuCancel_Timeout: CGOPrintToChatAll("%s {LIGHTBLUE}Время вышло, террорист ничего не выбрал!\n{RED}* {LIGHTBLUE}Ловушки деактивированы!", g_sTag);
/*case MenuCancel_Exit:
{
FormatEx(sBuffer, sizeof(sBuffer), "{LIGHTBLUE}Террорист решил ничего не выбирать\n{RED}* {LIGHTBLUE}Ловушки деактивированы!");
UseItemMenu(sBuffer, true);
}*/
}
}
case MenuAction_Select:
{
switch(iItem)
{
case 0:
{
CGOPrintToChatAll("%s {LIGHTBLUE}Террорист решил играть с ловушками...", g_sTag);
g_bBlockButtons = false;
}
case 1: CGOPrintToChatAll("%s {LIGHTBLUE}Террорист решил пропустить всех игроков...", g_sTag);
case 2: CGOPrintToChatAll("%s {LIGHTBLUE}Террорист решил пропустить всех игроков...\n{RED}* {LIGHTBLUE}Хочет сыграть в рулетку!", g_sTag);
}
}
}
}
4m1nutes is offline
Reply



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 09:19.


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