Code:
Get_Prefix() // Line 24
{ // Line 25
new sPrefix[32] // Line 26
get_pcvar_string(g_prefix_cvar, sPrefix, charmax(sPrefix)) // Line 27
return sPrefix // Line 28
}
Error: Invalid function call, not a valid address on line 27
Warning: Expression has no effect on line 27
Error: Expected token: ";", but found ")" on line 27
Error: Invalid expression, assumed zero on line 27
Error: Too many error messages on one line on line 27
Compilation aborted.
4 Errors.
Could not locate output file C:\Program Files\AMX Mod X\amxxstudio\something.amx (compile failed).
__________________