New update!
Quote:
v1.5 - [ADDED] Cvar to enable or disable the health, armor and money rewards.
|
Quote:
Originally Posted by Kia
Code:
if(bFirstBlood || victim == attacker || !is_user_connected(attacker))
I would check first if the user is connected / alive before checking if he is also the victim, sounds more logically to me.
Code:
ShowSyncHudMsg(0, g_SyncHud, "%s drew a firstblood^nand recieved %d money as a reward.", szName, iReward)
You do not need a SyncHud for a HUD Message that gets only shown once. Just use show_hudmessage.
|
Thank you. I will update the code. ;)
However, may you tell more about this?
Quote:
Originally Posted by Kia
Code:
get_user_name(attacker, szName, 31)
Please get used to use charsmax or sizeof - 1 instead of writing the number.
|