about weapon shoot
#1

Hello, I want to know, how can I make a script that show me, how much damage I did in 1 second, using GetTickCount() and OnPlayerGiveDamage.

Can anyone give me an advice or example?
Reply
#2

Hi

Use this - https://pastebin.com/rvH3cQzt

And make it with you function and it is very easy.
Reply
#3

Yes, but I want to use GetTickCount to calculate the damage in 1 second, and i don't really knwo how can I do that.
Reply
#4

Quote:
Originally Posted by RedGun2015
Посмотреть сообщение
Yes, but I want to use GetTickCount to calculate the damage in 1 second, and i don't really knwo how can I do that.
Why don't you use a timer?
Reply
#5

Quote:
Originally Posted by Awide
Посмотреть сообщение
Why don't you use a timer?
because it is not accurate.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)