UnityEngine.MonoBehaviour does not contain a definition for `userID'Solved
var connections = Net.sv.connections.Where(con => con.connected && con.isAuthenticated && con.player is BasePlayer).ToList();

i need to be able to pull the userid from con.player is there a way to do that?

Type `UnityEngine.MonoBehaviour' does not contain a definition for `userID' and no extension method `userID' of type `UnityEngine.MonoBehaviour' could be found. Are you missing an assembly reference?​
(con.player as BasePlayer).userID ?
!permission.UserHasPermission((con.player as BasePlayer).UserIDString, permMarker)

ya no go no error but not finding that player does not have the perm

Merged post

i see what i did i fixed it thanks worked
Locked automatically