Headshot counter
well well,i know how to get user frags but how would i get the number of headshots the user made?
like if HS >= 50% of Frags would display a message otherwise nothing... Thx ?[/code] |
you'd need to make a death event that stores all player's headshot kills in a global variable. like so.
Code:
I'm pretty sure you can display a % sign by stringing "%%", but i'm not 100% sure. Hope this helps. |
Thx m8
|
What do you think of that :
http://perso.wanadoo.fr/dan.web/plug.../hsd_stats.jpg Search powwwwwwwwa ... :wink: |
|
hehe thx ;)
One simple question how to i print a hudmessage to onlyone specific player?? I tried show_hudmessage(id, "Status : %d %",rnd) But it prints it to everyone... |
Verify that your id is right by printing it ( 0 is for all ... )
Do not use format in the show_hudmessage, don't know if it really works well :roll: Do like that : Code:
PS : Add "%%" to show % ... You will see a message like Quote:
|
| All times are GMT -4. The time now is 14:40. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.