You’re specifying the same texture name ("test"
) for each texture, and also recreating the texture dictionary for each iteration in the loop.
Changing this to use a different texture name (such as p[1]
) and to only create the texture dictionary once would fix it.
(yes, this likely worked before, but wasn’t intended, and this is non-trivial to fix with the new CEF version - you were always meant to use IS_DUI_AVAILABLE before using the texture, there’s a workaround for old code where people skipped this but it doesn’t work for cases like this where the same texture name is incorrectly reused)
Alternately, use this resource instead of the code you’re currently using: [FREE] Custom License Plates and Patterns