-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Have to re-buy guns in order to use them again #279
Comments
in the item's lua file add the folowing line or set it to false if it is already in the file. This property can be found on the website http://pointshop.burt0n.net/items/properties#single-use |
I did this already they still don’t spawn with the weapon and they still need to sell it in order to reuse it
|
Ah, found it function ITEM:PlayerSpawn(ply, modifications)
ply:Give(self.WeaponClass)
ply:SelectWeapon(self.WeaponClass)
end |
@damiankil1999 The weapons are now with the player whenever they respawn! But players still have to sell and rebuy a weapon in order to reequip it. Is there a way to fix that? |
Its: function ITEM:OnPlayerSpawn(ply, modifications) |
So I have CS:S weapons in the pointshop for donators to buy whenever they want. The Issue is whenever the round ends the weapons don't respawn with them. They have to sell it and rebuy it to re-equip it. Is there any.
The Gamemode is TTT (terrortown)
The text was updated successfully, but these errors were encountered: