Detecting a steamid in an if statement

Hey guys… Just need to know how to detect a steamid in an if statement etc:

[lua]
for k,v in pairs(players.GetAll()) do
if (steamID == “STEAM:0_1:ILOLD” && Helixmode == 1) then
ply:setspeed(100000000000000000000000000000000000000000000000000000000000000000000)
end
end
[/lua]

thats just a quick example to tell you what I mean. Thanks!

player:SteamID()

One thing to bear in mind is that steam IDs don’t work in Singleplayer. No clue why, but that’s how it goes.

That’s because you’re not connected to steam, and it’s steam that gives you your SteamID. When in singleplayer SteamIDs still work, it just always return Unknown

Thanks