03-04-2017, 10:35 AM
(This post was last modified: 09-01-2022, 01:05 AM by Fearless Community. Edited 1 time in total.
Edit Reason: Fixed Encoding
)
Code:
function FivePropsRandom(ply, model, ent)
if ply:SteamID() == "STEAM_0:1:57769738" && ply:GetCount("props") >= 5 then
ply:Notify("You've hit your proplimit!", 1)
ply:Notify("Your new proplimit is 5, love from Snowred!", 1)
ent:Remove()
end
end
hook.Add("PlayerSpawnedProp", "OnlyFivePropsForRandom", FivePropsRandom)
That is also your new prop limit btw.