07/11/2023 22:15
na folha 150 https://github.com/pawn-lang/compiler/bl...n-lang.pdf
https://forums.alliedmods.net/showthread.php?t=201044
213 - tag mismatch
A tag mismatch occurs when:
- assigning to a tagged variable a value that is untagged or that has a different tag
- the expressions on either side of a binary operator have different tags
- in a function call, passing an argument that is untagged or that has a different tag than what the function argument was defined with
- indexing an array which requires a tagged index with no tag or a wrong tag name
213 - incompatibilidade de tags
Uma incompatibilidade de tags ocorre quando:
- se atribui a uma variável marcada um valor que não é marcado ou que tenha uma tag diferente
- As expressões de ambos os lados de um operador binário têm tags diferentes
- em uma chamada de função, é passado um argumento sem a gravação ou que tenha uma tag diferente do que o argumento da função foi definido com
- Indexação de uma matriz que requer um índice marcado sem tag ou um nome de tag errado
https://sampwiki.blast.hk/wiki/Errors_List
213: tag mismatch
A tag mismatch occurs when:
Assigning to a tagged variable a value that is untagged or that has a different tag
The expressions on either side of a binary operator have different tags
In a function call, passing an argument that is untagged or that has a different tag than what the function argument was defined with
Indexando uma matriz que requer um índice marcado sem tag ou um nome de tag errado
Geralmente acontecem em uma nova variável criada com a falta de tags na função necessária, como Float:, Text3D:, Text:, etc. Example,
Bad
new health;
GetPlayerHealth(playerid, health);
God
new Float:health;
GetPlayerHealth(playerid, health);
https://forums.alliedmods.net/showthread.php?t=201044
213 - tag mismatch
A tag mismatch occurs when:
- assigning to a tagged variable a value that is untagged or that has a different tag
- the expressions on either side of a binary operator have different tags
- in a function call, passing an argument that is untagged or that has a different tag than what the function argument was defined with
- indexing an array which requires a tagged index with no tag or a wrong tag name
213 - incompatibilidade de tags
Uma incompatibilidade de tags ocorre quando:
- se atribui a uma variável marcada um valor que não é marcado ou que tenha uma tag diferente
- As expressões de ambos os lados de um operador binário têm tags diferentes
- em uma chamada de função, é passado um argumento sem a gravação ou que tenha uma tag diferente do que o argumento da função foi definido com
- Indexação de uma matriz que requer um índice marcado sem tag ou um nome de tag errado
https://sampwiki.blast.hk/wiki/Errors_List
213: tag mismatch
A tag mismatch occurs when:
Assigning to a tagged variable a value that is untagged or that has a different tag
The expressions on either side of a binary operator have different tags
In a function call, passing an argument that is untagged or that has a different tag than what the function argument was defined with
Indexando uma matriz que requer um índice marcado sem tag ou um nome de tag errado
Geralmente acontecem em uma nova variável criada com a falta de tags na função necessária, como Float:, Text3D:, Text:, etc. Example,
Bad
new health;
GetPlayerHealth(playerid, health);
God
new Float:health;
GetPlayerHealth(playerid, health);