Sorry, now:
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; //tag mismatch here
}
}
gShown[client] = true; //tag mismatch here
__________________