View Single Post
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 06-15-2020 , 07:07   Re: Need help with compileing my sp plugin.
Reply With Quote #28

But.. those aren't new errors? They are the exact same you posted a screenshot of earlier and Weetabix told you how to fix it and they are fixed in the script Kellan123 posted as well. If you ask questions and don't understand the answers, you might ask the wrong questions. Start by learning basics about typed programming languages and the syntax of sourcepawn before posting the same question again.

You have to define variables before being able to use them in sourcepawn. So whatever you changed the name of the Menu variable to is not "menu" as used below in the code.

PHP Code:
Menu whatever = new Menu(Menu_Callback)
whatever.SetTitle("VIP Menu :)"); 
"Menu" is the type and "whatever" is the variable name you choose and use later in your code.
__________________
Peace-Maker is offline