Does anybody know some code to check a steam id?
I wan't to see if the steam id of a player is the same as the one i called listedsteamid.
I have tryd these:
steamid = CSteamID::GetAccountID();
steamid = pPlayer->GetUserID();
steamid = bool CBaseMultiplayerPlayer::GetSteamID( CSteamID *pID );
steamid = steamapicontext->SteamUser()->GetSteamID().GetAccountID();
steamid = uint64 CBaseMultiplayerPlayer::GetSteamIDAsUInt64( void );
Some error's i got with these look like i didn't include the correct filles.
Could anybody help me out with the code to check steamid's?
Thanks in advance(just started on the source engine,not having any luck on the wiki)