Raised This Month: $ Target: $400
 0% 

Solved 1 = player, more than 2 = players.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
xTr3m3r
Member
Join Date: Feb 2010
Old 02-15-2017 , 13:15   1 = player, more than 2 = players.
Reply With Quote #1

Hi. (its me again)

Im trying to make something very simple but yet hard for me (I guess)
Whenever I use this code to respawn a player it says player but whenever I respawn 2 or more I want it to say playerS but it seems like that Iam mistaken somewhere.. Can somebody tell me what am I doing wrong here?
PHP Code:
    if(iNum 0)
        { 
            for(new 
0iNumi++)
            {
                new 
id iPlayers[i];
                
fm_respawnplayer(id);
            }
            
            
client_print(idprint_chat"%s You have just revived %d player%s"gszPrefixiNumiNum " " "s");
        }
    } 

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



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 21:02.


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