MiranDMC

Results 48 issues of MiranDMC

CRoadBlocks::aScriptRoadBlocks in https://github.com/DK22Pac/plugin-sdk/blob/master/plugin_sa/game_sa/CRoadBlocks.cpp#L11 seems to have invalid address, as it is already (correctly) assigned to https://github.com/DK22Pac/plugin-sdk/blob/master/plugin_sa/game_sa/CTheScripts.cpp#L92

Global variables seems to be trap that every scripting newcomer falls in. Recently SB syntax evolved so much that I think automated assigning new named global variable, by just using...

Currently code below won't compile: ``` {$CLEO .cs} nop const version_alpha = 1 end while true if version_alpha == 0 then print_help_formatted {text} "this is release version" else print_help_formatted {text}...

workaround-available
scope:compiler
status:in dev triage

Using `` or `==` causes compilation error in some cases: ``` var $global : int end function foo(local :int) if or $global local // ok local $global // error then...

priority:p3
type:nice-to-have
scope:compiler

Code below won't compile: ``` int coarse = 10 float precise =# coarse ```

priority:p3
type:nice-to-have
scope:compiler

``` {$CLEO .cs} nop debug_on int a, b if not a, b = foo() then trace "FAILED %d %d" a b else trace "OK %d %d" a b end terminate_this_custom_script...

type:bug
scope:compiler

Please introduce implicit style cast to bool for branching statements, based on new `is_truthy` opcode. `not` keyword should also be supported. Example: ``` int isOk, error (...) if and isOk...

type:feature
priority:p2
scope:compiler

Please introduce scope block concept for named local variables. Idea is to add new keyword `scope` which would be used in pair with `end` to create blocks (same as for...

type:feature
priority:p3
scope:compiler
scope:language