you are doing: ply:GetNWInt("ferrari", 1)
shouldent you do: ply:GetNWInt("ferrari") == 1?
-fail
Add diagnostic lines to the code to help the investigation. Like when you print the NWint, also print the datatype of the NWint (syntax is type(var), returns the string name of the variable's datatype). I think someone had a problem like this before, and GetNWInt was somehow returning a string value of the number rather than the number itself.
You're right.. It's a string..
Works perfectly..
Thanks man, I've been bullshitting with this for the last 3 days, tried so many things.. :O
Sorry, you need to Log In to post a reply to this thread.