Welcome to Smogon! Take a moment to read the Introduction to Smogon for a run-down on everything Smogon, and make sure you take some time to read the global rules.
Wrote the wrong delete thing, meant to say that in game you get 510 EVs max, but 4 is common as 6 gives no benefits over 4. But it's not wrong, per se.