Thread: REQ - Plugin
View Single Post
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 04-14-2024 , 18:08   Re: REQ - Plugin
Reply With Quote #2

You may think they are useless but that is because you're not doing it correctly. You need to learn some basics about AMX Mod X scripting. For example, get_user_name() doesn't work like that. You need to use it properly to get a string from it and then use the variable containing the string in the formatex() function. You also need to learn how formatting strings work to get the provided variables into the string.

If you really want to use the original menu method, you should find plugins that already use it properly and base your code off of that (many of the built-in AMX Mod X plugins use this method). This goes for other things as well, learn how to use the functions properly like get_user_name().

If you have further specific questions, please post those specific questions.
__________________
fysiks is offline