Getting tag mismatch error while compiling this:
PHP Code:
new Bool:gShown[33];
public Action:Event_PlayerDeath(Handle:event, const String:name[], bool:dontBroadcast)
{
new client = GetClientOfUserId(GetEventInt(event,"userid"));
if(!IsClientConnected(client) || !IsClientInGame(client))
return;
GetClientAbsOrigin(client, gDeathPosition[client]);
if(!gShown[client])
{
functionHere(client);
gShown[client] = true;
}
}
What is wrong?
__________________