Hey there guys, I am wondering if you could help me with a bug that I cannot just wrap my head around. I have been programming my own Base Wars for the past few months and it is near completion. I am just stuck at this one bug and I just cannot wrap my head around it.
Here is the ERROR and the code
Attempt to compare number with nil
if(ply:GetTable().maxStarterPrinter >= CfgVars["maxStarterPrinter"])then Notify( ply, 4, 3, "Max Starter Printers Reached!" ); return ""; end
If you could help it would be appreciated, peace.