View Single Post
SELL
Junior Member
Join Date: Feb 2016
Old 02-02-2016 , 11:58   Re: [L4D2] Points System (v1.7.5, 2016-01-31)
Reply With Quote #8

PHP Code:
HookEvent("player_team"Reset_Points);

public 
Action:Reset_Points(Handle:eventString:event_name[], bool:dontBroadcast)
{
    new 
client GetClientOfUserId(GetEventInt(event"userid"));
    
points[client] = 0;

I am not strong in plug-ins, but I think this code can be added. this is when the transition from command to command the survivors infected, then Points are not saved. Only here I Do not Know How To Fix team !takeover then also resets Points)))

Last edited by SELL; 02-02-2016 at 12:03.
SELL is offline