i want kill/death system code to hud.
dude thx.
i want kill/death system code to hud.
dude thx.
you just need to uncomment this line and modify your flash
Code:/*char kdrS[32]; sprintf(kdrS, "%.2f", getRatio(float(slot.Stats.KilledSurvivors + slot.Stats.KilledBandits), float(slot.Stats.Deaths))); var[23].SetString(kdrS); // kdr char hsrS[32]; sprintf(hsrS, "%.2f", getRatio(float(slot.Stats.ShotsHeadshots), float(slot.Stats.ShotsFired))); var[24].SetString(hsrS); // hsr var[25].SetInt(int(getRatio((float)slot.Stats.ShotsHits, (float)slot.Stats.ShotsFired)*100.0f)); // accuracy var[26].SetInt(slot.Stats.Deaths); // died*/
and skin system in market?? at tab8, you have any idea how to do this?
This is pretty cool but I dont really learn how use Flash pro cc. What I have to write on the properties to join source and swf.
Cause I tryed ShotsHitsTiitle for the accuracy text and ShotsHits for the number. And it is wrong :D
That's completely up to you. If you understand that code Yuri posted all you need to do is un comment, and go to flash amend the function which is being called to take the values and then you put them in a text box you provide the name for.
I don't understand myself why people on this forum are so idiotic. Its common sense and if you don't have any you shouldn't even be touching the source. You know every problem I face I find out the answer myself, I rarely would even consider posting on here for help. Its shameful that you do.
The funny thing this code I believe is for the Main menu not the HUD. As main thread did state "i want kill/death system code to hud." Funny how this hasn't been answered yet.
Goodluck
this was my maximum, thanks Yuri-BR :D
for some reason, showing '0', the more it should be database.
but the latter did not give account to do, tried everything and nothing.
but anyway, thank you, it was useful.
Last edited by LukasCCB; 19-03-16 at 06:57 AM.
someone would have a totorial to put the function in FrontEnd
I want to append to do this to avoid having to get going behind things done by others