Kento-Rankme
Kento-Rankme copied to clipboard
[Linux Server] Compile errors
Env: Ubuntu Server 20.04 LTS 64bit Sourcemod version:1.12 dev build Problem: I tried to compile a plugin made by others, and then I encountered this:
SourcePawn Compiler 1.12.0.6920
Copyright (c) 1997-2006 ITB CompuPhase
Copyright (c) 2004-2021 AlliedModders LLC
./include/kento_rankme/rankme.inc(49) : error 400: function "GetData" must return a value
./include/kento_rankme/rankme.inc(393) : error 400: function "GetData" must return a value
The function GetData in rankme.inc:
int GetData(int[] data) {
data[0] = this.KNIFE;
data[1] = this.GLOCK;
.....
data[41] = this.BREACHCHARGE;
}
the .sp file [ author by manicogaming ] bot_inventory.zip
Don't know
This issue is also present on Sourcemod 1.11 (which is now stable) and I just had to update to it from 1.10 since 21st of October 2022 CSGO update broke Sourcemod & Metamod. Basically our servers are now without rankme.