levelsranks / pawn-levels_ranks-core

Statistics plugin for servers on the Source Engine
GNU General Public License v3.0
71 stars 38 forks source link

Update to 3.1.7 Beta 2 #67

Open Wend4r opened 2 years ago

crashzk commented 2 years ago

@Wend4r I'm trying to compile this version to use and test, but I get the error:

//SourceMod Batch Compiler
// by the SourceMod Dev Team

//// levelsranks.sp
//
// levels_ranks\menus.sp(147) : error 183: brackets after variable name indicates a fixed-size array, but size is missing or not constant
//
// 1 Error.
//
// Compilation Time: 0,58 sec
// ----------------------------------------

Press enter to exit ...
crashzk commented 2 years ago

https://github.com/levelsranks/levels-ranks-core/blob/710a0ee7bfe3a80bf4f8934882ac564823defca1/Game%20Server/addons/sourcemod/scripting/levels_ranks/menus.sp#L147

I believe you need to change the above line to:

 void GiveTakeValue(int iClient, const char[] sID = NULL_STRING)