Post: Do anyone know how to do, like, self.matchbonus = seconds;?
01-05-2015, 07:35 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Do anyone know how to do, like, self.matchbonus = seconds; and the seconds represent the time in seconds, if i'm at sd and i win the round at 1:05, my match bonus will be 65? sorry i'm very noob at modding ;s
(adsbygoogle = window.adsbygoogle || []).push({});
03-25-2015, 05:41 AM #2
Put this on the menu and it will work

gameLength = maps\mp\gametypes\_globallogic_utils::getTimePassed() / 1000;
gameLength = min( gameLength, 120);
self.matchbonus = int(gameLenght);

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo