Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include maps\mp\_utility;
- #include common_scripts\utility;
- giveHighlight( ref, value )
- {
- highlightCount = getClientMatchData( "highlightCount" );
- if ( highlightCount < 18 ) // must match MaxHighlights in clientmatchdata definition
- {
- setClientMatchData( "highlights", highlightCount, "award", ref );
- setClientMatchData( "highlights", highlightCount, "clientId", self.clientMatchDataId );
- setClientMatchData( "highlights", highlightCount, "value", value );
- highlightCount++;
- setClientMatchData( "highlightCount", highlightCount );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement