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

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 , 03: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 01:27.
FlanZarianick is offline
Cruze
Veteran Member
Join Date: May 2017
Old 08-11-2022 , 15: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! Contact me

Last edited by Cruze; 08-11-2022 at 15: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 11:20.


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