Raised This Month: $ Target: $400
 0% 

Solved How to print all with highest int value at round end separately


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Old 08-11-2022 , 08:12   Re: How to print all players/highest player kills at the end of the round?
Reply With Quote #1

Quote:
Originally Posted by alasfourom View Post
if there is for example 0 kills, how to make it display "None"
PHP Code:
PrintToChatAll("MVP SI Kills: %N (%d)"clientSI_KillCount_MVP); 
==>
PHP Code:
if(SI_KillCount_MVP 0PrintToChatAll("MVP SI Kills: %N (%d)"clientSI_KillCount_MVP);
else 
PrintToChatAll("MVP SI Kills: %N (None)"client); 
__________________
Grey83 is offline
alasfourom
Senior Member
Join Date: Feb 2022
Location: Saudi Arabia
Old 08-11-2022 , 08:32   Re: How to print all players/highest player kills at the end of the round?
Reply With Quote #2

Quote:
Originally Posted by Grey83 View Post
PHP Code:
PrintToChatAll("MVP SI Kills: %N (%d)"clientSI_KillCount_MVP); 
==>
PHP Code:
if(SI_KillCount_MVP 0PrintToChatAll("MVP SI Kills: %N (%d)"clientSI_KillCount_MVP);
else 
PrintToChatAll("MVP SI Kills: %N (None)"client); 
Noice, got it now

Thanks as always Grey83,
__________________
alasfourom is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:00.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode