Type or namespace name `NPCPlayerApex' could not be foundError

Failed to compile: LimitedAdmin.cs(314,42): error CS0246: The type or namespace name `NPCPlayerApex' could not be found. Are you missing an assembly reference?

Yep, I can confirm. If you remove the lines it was compile afterwards, but of course you are missing the function then.