10-25-2013, 14:54
10-25-2013, 17:15
10-25-2013, 22:26
health is already done , i dont think points is possible (or is it?)
10-26-2013, 03:59
(10-25-2013, 22:26)OzonE Wrote: [ -> ]health is already done , i dont think points is possible (or is it?)
It could be. If done through SQL youd hit the DB every frame to update unless you only made it update on kill/death. Could easily be done through hashtable if points are stored that way. If saved in a file, probably not a good idea.
10-26-2013, 07:24
it is possible without sql my friend has it but wont give it
10-26-2013, 17:09
Where's the problem with the HUD? It's really not that hard, add the basic HUD code and add this code in a timer or in OnAddonFrame.
That code only works if you're using a hashtable named "Points"
That code only works if you're using a hashtable named "Points"
CSHARP Code
- foreach (ServerClient c in GetClients())
- {
- int points = (int)Points[c.XUID];
-
- HudElem hl = GetHudElement(Client_HudElem[c.ClientNum]);
- hl.Value = points;
- }
10-26-2013, 22:44
nm got it working
10-27-2013, 08:23
hillbilly can you send me the code please? or a plugin please