Closed BryceRussell closed 1 year ago
The original syntax is valid. FiveM uses a custom Lua runtime which allows this operator.
I had a some server errors that referenced this file and this fixed seemed to stop the errors. I tried reproducing this again on a fresh server but I couldn't get it to error so I guess it was something to do with my server, my bad!
Description
Fix invalid syntax when incrementing
count
insideGetPlayersOnDuty()
andGetDutyCount()
Had a few scripts throwing errors when calling this function, switching to
x = x + 1
syntax fixed all the console errors I was receivingChecklist