A lot of space beetwen my texts?
#3

PHP код:
PUBLIC:OnPlayerText(playeridtext[])
{
    new 
pname[24];
    
GetPlayerName(playerid,pname,sizeof(pname));
    
    
//Le chat Bubble
    
if(AdminLevel[playerid] < 1)
    {
        
SetPlayerChatBubble(playeridtext0xFF0000AA100.010000);
        return 
1;
    }
    
    
//Le test du reaction
    
    
switch(xTestBusy)
        {
            case 
true:
            {
                        if(!
strcmp(xCharstextfalse))
                        {
                            new
                                
string[128],
                                
pName[MAX_PLAYER_NAME]
                                ;
                                
GetPlayerName(playeridpNamesizeof(pName));
                                
format(stringsizeof(string), "« \%s[%d]\" a rйussi au test du rйaction. »"pName,playerid);
                            
SendClientMessageToAll(GREENstring);
                            
format(stringsizeof(string), "« Vous recevez $%d + %d score et points pour rйussir au test du rйaction. »"xCashxScore);
                            
SendClientMessage(playeridGREENstring);
                            
GivePlayerMoney(playeridxCash);
                                
SetPlayerScore(playeridGetPlayerScore(playerid) + xScore);
                                
xReactionTimer SetTimer("xReactionTest"TIME1);
                            
xTestBusy false;
                        }
                }
        }
    
//Tchat Message
    
new string2[1024];
    if(
AdminLevel[playerid] < 1)
    
format(string2,sizeof(string2),"{%06x}%s[%d]: {FFFFFF}%s",GetPlayerColor(playerid) >>> 8,pname,playerid,text);
    
SendSplitMessageChat(COLOR_WHITE,string2);
    
    
//Faction des Administrateurs
    
new string[128];
    if(
AdminLevel[playerid] == 1)
    {
        
format(string,sizeof(string),"%s {8B0000}[Administrateur]{FFFFFF}: %s",pname,text);
        
SendClientMessageToAll(COLOR_WHITE,string);
        return 
0;
    }
    
    return 
0;

Reply


Messages In This Thread
A lot of space beetwen my texts? - by KillerDVX - 10.06.2015, 09:14
Re: A lot of space beetwen my texts? - by buburuzu19 - 10.06.2015, 09:23
Re : A lot of space beetwen my texts? - by KillerDVX - 10.06.2015, 09:42
Re: A lot of space beetwen my texts? - by Konstantinos - 10.06.2015, 09:49
Re : A lot of space beetwen my texts? - by KillerDVX - 10.06.2015, 19:55
Re : A lot of space beetwen my texts? - by KillerDVX - 10.06.2015, 20:06
Re: A lot of space beetwen my texts? - by DarkLouis - 10.06.2015, 20:24

Forum Jump:


Users browsing this thread: 1 Guest(s)