lucasdidur
02-16-2012, 14:57
Hello everybody, I'm having some warnings when compiling the plugin. As I'm learning, I wonder how to fix:
The following error appears:
warning 213: tag mismatch
Erros here
g_hMaxRessurrect = CreateConVar( ...
and
g_hHasRessurrect[i] = 0;
new Float:g_fMaxRessurrect;
new Handle:g_hMaxRessurrect;
g_hMaxRessurrect = CreateConVar( "eh_maxressurrect", "1", "Max de Vezes que pode ser ressucitado no mesmo Round");
g_fMaxRessurrect = GetConVarFloat(g_hMaxRessurrect);
And
new Float:g_hHasRessurrect[ TFMAXPLAYERS + 1];
public Action:ResetRessurrects(Handle:event, const String:name[], bool:dontBroadcast) {
for (new i = 1, iClients = GetClientCount(); i <= iClients; i++) {
g_hHasRessurrect[i] = 0;
}
}
How I can fix this warning?
The following error appears:
warning 213: tag mismatch
Erros here
g_hMaxRessurrect = CreateConVar( ...
and
g_hHasRessurrect[i] = 0;
new Float:g_fMaxRessurrect;
new Handle:g_hMaxRessurrect;
g_hMaxRessurrect = CreateConVar( "eh_maxressurrect", "1", "Max de Vezes que pode ser ressucitado no mesmo Round");
g_fMaxRessurrect = GetConVarFloat(g_hMaxRessurrect);
And
new Float:g_hHasRessurrect[ TFMAXPLAYERS + 1];
public Action:ResetRessurrects(Handle:event, const String:name[], bool:dontBroadcast) {
for (new i = 1, iClients = GetClientCount(); i <= iClients; i++) {
g_hHasRessurrect[i] = 0;
}
}
How I can fix this warning?