Closed kem008 closed 6 years ago
You've probably overwritten the player
global with a local in your scope.
I cant find player.GetCount in the basic lua files. I didnt overwritten the player global.
The entire point of the function is that it comes from the C side, so yes, you won't find it in a lua file.
And if you aren't overriding the global, then someone else is, try without addons etc.
GetCount return as nil.