Quote:
Originally Posted by WolfGang
How can i fit that into this line?
PHP Code:
if (client > 0 && GetClientTeam(client) == 3 && IsAllowedGameMode() && GetConVarInt(Enable) == 1)
{
new bool:notify = GetConVarBool(Notifications);
for (new i = 1; i <= MaxClients; i++)
{
if (IsClientInGame(i) && !IsFakeClient(i) && GetClientTeam(i) == 2 && g_Assist[client][i])
{
g_Assist[client][i] = false;
points[i] += GetConVarInt(g_AssistPoints);
if(notify) PrintToChat(i, "%s %T", MSGTAG, "Assist Points", LANG_SERVER, GetConVarInt(g_AssistPoints));
}
}
}
|
Like I said, before, when I read it the first time:
The same way assist points were added.
(If this is still a paid request, you can quite easily get someone to do this for you, but if it isn't, you should probably take the paid section out of the title)
__________________