Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if SERVER then
- hook.Add( "OnRoundSet", "DR Money", function( round, winner )
- if round == ROUND_ENDING then
- for _, ply in ipairs( player.GetAll() ) do
- if ply:Team() == winner then -- Check if the player's team is the same as the winning team
- ply:PS_GivePoints( 10 ) -- Gives the points if the player is on the winning team
- end
- end
- end
- end )
- end
Advertisement
Add Comment
Please, Sign In to add comment