Trying to figure out if anyone happens to know how to clear the que for in game notifications? for example, i often use this code sometime during the heist to give my guys a good $ boost
if i press it a few times the game is alright. but when i get to about 1000 bags secured, the game starts to get choppy. but ive noticed as the game goes on, it gets less and less laggy and i believe it has to do with the notification that says "Turret Parts secured: million"
any help would be appreciated
Code:
function inGame()
if not game_state_machine then return false end
return string.find(game_state_machine:current_state_name(), "game")
end
function secure(name, amount)
for i = 1, amount, 1 do
managers.loot:secure( name, managers.money:get_bag_value( name ) )
end
end
if inGame() then
secure("turret", 100)
endany help would be appreciated
Aucun commentaire:
Enregistrer un commentaire