Quote:
Originally Posted by Nubbe
But isnt that old syntax ? because it works with that and when i then compile it, it doesnt give a replytotargeterror in chat ingame
And gives these errors in console
Code:
L 09/05/2021 - 23:51:37: [SM] [0] ReplyToCommand
L 09/05/2021 - 23:51:37: [SM] [1] Line 102, C:\Users\xxxxxDesktop\xxxxx\csgo\addons\sourcemod\scripting\include\commandfilters.inc::ReplyToTargetError
L 09/05/2021 - 23:51:37: [SM] [2] Line 53, test.sp::Command_SetCT
|
The usage is still the same in both old and new syntax. You're confusing the function prototype with how it's used in actual code.
You need to post the full stack trace for that error if you want help. It's hard to tell what the error is without the "Exception reported" line.
__________________