Raised This Month: $18 Target: $400
 4% 

Sourcemod Compiling Stuff error


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
FlanZarianick
New Member
Join Date: Jun 2022
Old 08-11-2022 , 04:55   Sourcemod Compiling Stuff error
Reply With Quote #1

Hey guys, basicaly I am getting a strange error when I am compiling the sm_hosties plugin. So basicaly im getting a 029 error, thats says "invalid expression, assumed shagle zero"

Here's my code

public OnAllPluginsLoaded() { new Handle:h_TopMenu voojio = GetAdminTopMenu(); if (LibraryExists("adminmenu") && (h_TopMenu != INVALID_HANDLE)) { OnAdminMenuReady(h_TopMenu); }

#if (MODULE_MUTE == 1)
MutePrisoners_AllPluginsLoaded();
#endif
}

Any help?

Last edited by FlanZarianick; 08-24-2022 at 02:27.
FlanZarianick is offline
Cruze
Veteran Member
Join Date: May 2017
Old 08-11-2022 , 16:33   Re: Sourcemod Compiling Stuff error
Reply With Quote #2

PHP Code:
public OnAllPluginsLoaded()
{
    new 
Handle:h_TopMenu GetAdminTopMenu();
    if(
LibraryExists("adminmenu") && (h_TopMenu != INVALID_HANDLE))
    {
        
OnAdminMenuReady(h_TopMenu);
    }

    
#if (MODULE_MUTE == 1)
    
MutePrisoners_AllPluginsLoaded();
    
#endif

This, first of all needed some new lines. If the issue still exist, please specify line number.
__________________
Taking paid private requests! Add me on steam/discord!
AlliedModders Releases | Github | Private Plugins | Steam | Discord

Last edited by Cruze; 08-11-2022 at 16:35.
Cruze is offline
Reply


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 00:36.


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