2021-01-19, 06:17 PM
Heyo,
recently got back into scripting, and trying to create a function.
"function:SetPlayerCamera(playerid)"
When I compile, I get warning "warning 213: tag mismatch: expected tag "Function", but found none ("_")"
It seems to be with the tag "function", but when I remove it, it works fine. This only seems to be an issue in the new compiler, but I'm struggling to understand why. Could someone please explain what this warning actually means and what best practice would be?
cheers,
recently got back into scripting, and trying to create a function.
"function:SetPlayerCamera(playerid)"
When I compile, I get warning "warning 213: tag mismatch: expected tag "Function", but found none ("_")"
It seems to be with the tag "function", but when I remove it, it works fine. This only seems to be an issue in the new compiler, but I'm struggling to understand why. Could someone please explain what this warning actually means and what best practice would be?
cheers,