You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can target by @ or nickname, we can also use #userid, #steamid64 and #STEAM.
The problem is with targeting by steamid (both), only #userid works and #steamid64/#steam returns an error
Trying to find the target by
varmatches=command.GetArgTargetResult(1);
15:22:32[EROR](cssharp:Core) Error invokingcallbackSystem.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.---> System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.(Parameter 'id')
at CounterStrikeSharp.API.Modules.Entities.SteamID..ctor(UInt64id)in/home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Modules/Entities/SteamID.cs:line 13
at CounterStrikeSharp.API.Modules.Entities.SteamID.op_Explicit(UInt64u)in/home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Modules/Entities/SteamID.cs:line 19
at CounterStrikeSharp.API.Modules.Commands.Targeting.Target.TargetPredicate(CCSPlayerControllerplayer,CCSPlayerControllercaller)in/home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Modules/Commands/Targeting/Target.cs:line 112
at System.Linq.Enumerable.WhereListIterator`1.ToList()
at CounterStrikeSharp.API.Modules.Commands.Targeting.Target.GetTarget(CCSPlayerControllercaller)in/home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Modules/Commands/Targeting/Target.cs:line 123
The text was updated successfully, but these errors were encountered:
We can target by @ or nickname, we can also use #userid, #steamid64 and #STEAM.
The problem is with targeting by steamid (both), only #userid works and #steamid64/#steam returns an error
Trying to find the target by
The text was updated successfully, but these errors were encountered: