View Single Post
MeinHerzBrennt
Junior Member
Join Date: Oct 2014
Location: Split, Croatia
Old 05-17-2018 , 06:50   Re: [REQ] Skillpoints edit
Reply With Quote #10

Works like a charm, again 2 questions for you sir:

#1 If i want to remove the HUD for alive players, do i just delete this portion of the code and compile it?

Code:
public SkillPointsHud(id)
{
   	if(is_user_alive(id)){
		set_hudmessage(0, 212, 255, 0.03, 0.23, _, _, 1.0, _, _, 1)
		ShowSyncHudMsg(id, gSync, "Skill : %s ^nPoints : %d/%d",  CLASSES[ g_iLevels[ id ] ], g_iPoints[ id ], LEVELS[ g_iLevels[ id ] ]);
	}
}

#2 I can edit these lines to whichever amount i wish?

Code:
#define EXPIREDAYS	30
#define MAX_CLASSES	5
#define MAX_LEVELS	5
#define MAX_PONTUATION	10000 // max skillpoints per player
E.G. what if I don't want the skillpoints gained to expire ever or if i put EXPIREDAYS 365?
Would that make a problem for the server, is there a limit after which the vault can't track that many players and stats?

Thanks for this once again, much appreciated.
MeinHerzBrennt is offline