C
C#2d ago
kanoah™

Trying to log information about event being used

Hello, i am a beginner in C# and i just want to know, how can i log info about an event in-game (CS2)? I have tried to use this https://docs.cssharp.dev/api/CounterStrikeSharp.API.Core.EventPlayerJump.html but when i copy and paste in into my code it doesnt work. I did a basic w3schools exercise on C# and some calculation tasks, so i really dont know much more about anything else in C# :D
4 Replies
Buddy
Buddy2d ago
I usually check the examples, that documentation is .. Ehm. Interesting?
https://github.com/roflmuffin/CounterStrikeSharp/tree/main/examples
kanoah™
kanoah™OP2d ago
thanks for linking me the example, i actually just cant read :D and also could you explain to me how this works?
Buddy
Buddy2d ago
If you're new to C# I suggest you learn C# first as going into these kind of things blindly will eat you up. Please go through $helloworld
Want results from more Discord servers?
Add your server