Thread
:
[ANY] Singular and Plural
View Single Post
Author
Message
Totenfluch
AlliedModders Donor
Join Date: Jan 2012
Location: Germany
02-19-2017 , 09:15 [ANY] Singular and Plural
#
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"
,
coins
,
coins
==
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
View Public Profile
Send a private message to Totenfluch
Visit Totenfluch's homepage!
Find More Posts by Totenfluch