Set the total amount required to fail collectcoins, collectwrench, destroycars, hitpeds and jump conditions.
Context
This command should be called between calls to AddCondition and CloseCondition.
Syntax
SetCondTotal( total );
Game.SetCondTotal( total )
- total: The total amount required to fail the condition.
Examples
AddCondition("jump");
// Jump 3 times
SetCondTotal(3);
CloseCondition();
Game.AddCondition("jump")
-- Jump 3 times
Game.SetCondTotal(3)
Game.CloseCondition()
Notes
No additional notes.
Version History
1.18
Added this command.