View Single Post
Author Message
Totenfluch
AlliedModders Donor
Join Date: Jan 2012
Location: Germany
Old 02-19-2017 , 09:15   [ANY] Singular and Plural
Reply With Quote #1

I've seen lots of if statements because of this very problem. Here is an easy solution:


PHP Code:
int coins 10;
PrintToChat(client"You have %i Coin%s"coinscoins==1?"":"s"); 
__________________
Notable Projects:
Event Item Spawner | Scissors, Rock, Paper for ZephStore
tVip | Smart Link Remover
PLG & GGC - CS:GO Roleplay

and countless more...

I can make a helicopter shoot missles if you want me to...

Last edited by Totenfluch; 02-19-2017 at 09:15.
Totenfluch is offline