Skip to content

Conversation

@Wend4r
Copy link
Member

@Wend4r Wend4r commented Apr 13, 2022

No description provided.

@crashzk
Copy link
Contributor

crashzk commented Oct 23, 2022

@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
Copy link
Contributor

crashzk commented Oct 24, 2022

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) 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants