Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local amount = 25;
- local hasWon = false
- hook.Add( "PlayerDeath", "FeedMeMore", function( victim, weapon, killer )
- if( IsValid( killer ) and IsValid( victim ) ) then
- if( killer:IsPlayer() and victim:IsPlayer() ) then
- if ( killer:Team() == ROLE_HUNTER and victim:Team() == ROLE_PROP ) then
- killer:PS_GivePoints( 25 );
- killer:PS_Notify("You've been given '25' Points for Killing that Prop, Nice shot!");
- end;
- end;
- end;
- end )
- hook.Add("RoundEnd", "InComesTheAeroplane", function()
- for k,v in pairs (team.GetPlayers(ROLE_PROP)) do
- if(v:Alive) then
- v:PS_GivePoints( 25 );
- v:PS_Notify("You've been given '25' Points for Winning, Nice Spot!");
- hasWon = true
- end
- end
- if(hasWon) then
- for k,v in pairs (team.GetPlayers(ROLE_PROP)) do
- if(not v:Alive) then
- v:PS_Notify("You Died but Hey You Get Points!");
- v:PS_GivePoints( 10 );
- end
- end
- end
- end)
- -- Coded in the official MS Notepad <3
- -- Re-coded partly in notepad++ makes a good combination, especially when a tab space does a 100 space leap
- 01001000 01101111 01110111 00100000 01110100 01101111 00100000 01101100 01110101 01100001 00100000 00110001 00110000 00110001
- 01001001 00100111 01101101 00100000 01100001 01101110 00100000 01101001 01100100 01101001 01101111 01110100
Advertisement
Add Comment
Please, Sign In to add comment