Pointshop Steamid Buy?

I was wondering if its possible for only certain people to buy an item with a steamid

Like is it possible to say

ITEM.Allowuser = STEAM_0:0:90854780

Thanks

In the buyitem function make a custom check to see if the player that is buying a certain item is actually allowed to buy the item.

I can help with this add me on steam
Steam: http://steamcommunity.com/id/forsakenspade14


function GM:PlayerSetModel(ply)

	local mdl = GAMEMODE.playermodel or "models/player/phoenix.mdl";
    if ply:SteamID() == "" then
        mdl = "models/player/PLAYERMODEL.mdl";
    end
    util.PrecacheModel(mdl)
    ply:SetModel(mdl)
end

In quotations put steamid

then under it, don’t forget to make sure the directory is correct.

Hey, could anyone help me with this as well? But I would like it for a weapon.

This is an oldish bump, but regardless post your weapon code. If it’s a simple give, then just do what they do above,

[lua] if ply:SteamID() == “” then
etc etc
end[/lua]

Just do a check basically.

I had a question, is it possible to just add a skin to a player’s pointshop inventory and have it NOT show up in the shop for everyone else?

We’re giving out custom skins as a donator perk and I don’t want the skin in the main shop, I just want to put it directly into their inventory.

Pls help! We’re using this point shop http://forum.facepunch.com/showthread.php?t=1286577

Thanks!!

I had a question, why bump a 2 years old thread?

because these people seem like they can help, I wanted to make sure they saw my post dork :stuck_out_tongue:

Weird seeing an old post by me.

Regardless, it would have been better to create a new thread. To hide the item, you’d need to go into the PS Item-VGUI code and add a simple check to see if LocalPlayer is that SteamID. If so, then :Visible(true), otherwise false.