Put on the same line.
#1

Hello, I've been banging my head on this for a long time, what am I trying to do? I would like to put the gates of the player in a single line, the way it is shown in two lines, for example, the player has a cigarette lighter, how do you jump to put the two items on the same line? It's easy to understand, the code below that I did in two lines says it all.

PHP код:
        if(PlayerData[playerid][pCigarros])
        {
            new 
cigarro[]= "Cigarros:[%d]"PlayerData[playerid][pCigarros];
            
format(strglobalsizeof(strglobal), "%s"cigarro);
        }
        if(
PlayerData[playerid][pIsqueiro])
        {
            new 
isqueiro[]= "Isqueiro:[%d]"PlayerData[playerid][pIsqueiro];
            
format(strglobalsizeof(strglobal), "%s"isqueiro);
        }
        
SendClientMessage(playerid, -1strglobal); 
Reply


Messages In This Thread
Put on the same line. - by SukMathcuck - 29.12.2016, 18:55
Re: Put on the same line. - by BiosMarcel - 29.12.2016, 20:13
Re: Put on the same line. - by OneDay - 30.12.2016, 08:57

Forum Jump:


Users browsing this thread: 3 Guest(s)