[Ajuda] Galera Ajuda aqui please
#7

Faz assim:

PHP код:
if(PlayerInfo[playerid][pAdmin] >= 1
{
    if(
giveplayerid != INVALID_PLAYER_ID)
   {
                        new 
string[128];
                        
GetPlayerPos(playeridplocxplocyplocz);
                        
SetPlayerPos(giveplayeridplocxplocyplocz);
                        
FilaAtendimento[giveplayerid] = 999;
                        
format(string,sizeof(string),"[Atendimento] Vocк estб sendo atendido pelo %s %s, seu atendimento demorou: %d segundos.",ChecarAdmin(playerid),PlayerName(playerid),TempoAtendimento2[playerid]);
                        
SendClientMessage(giveplayerid,COLOR_YELLOW2,string);
                        
format(stringsizeof string"[Atendimento] %s[ID:%d] diz: Olб , Em que posso ajudar?"PlayerName(playerid),playerid);
                         
SendClientMessageInRange(25.0giveplayeridstringCOLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
                        
TempoAtendimento2[giveplayerid] = 0;
                        return 
1;
    }

Caso seja Helper:

PHP код:
if(PlayerInfo[playerid][pHelper] >= 1
{
     if(
giveplayerid != INVALID_PLAYER_ID)
                    {
                        new 
string[128];
                        
GetPlayerPos(playeridplocxplocyplocz);
                        
SetPlayerPos(giveplayeridplocxplocyplocz);
                        
FilaAtendimento[giveplayerid] = 999;
                        
PlayerInfo[playerid][pHelper] += 1;
                        
format(string,sizeof(string),"[Atendimento] Vocк estб sendo atendido pelo %s %s, seu atendimento demorou: %d segundos.",ChecarAdmin(playerid),PlayerName(playerid),TempoAtendimento2[playerid]);
                        
SendClientMessage(giveplayerid,COLOR_YELLOW2,string);
                        
format(stringsizeof string"[Atendimento] %s[ID:%d] diz: Olб , Em que posso ajudar?"PlayerName(playerid),playerid);
                         
SendClientMessageInRange(25.0giveplayeridstringCOLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
                        
TempoAtendimento2[giveplayerid] = 0;
                        return 
1;
   }

Reply


Messages In This Thread
Galera Ajuda aqui please - by Lucas_Rocha - 04.12.2016, 01:59
Re: Galera Ajuda aqui please - by Ozone227 - 04.12.2016, 12:26
Respuesta: Galera Ajuda aqui please - by Lucas_Rocha - 04.12.2016, 12:30
Respuesta: Galera Ajuda aqui please - by Lucas_Rocha - 04.12.2016, 13:43
Re: Galera Ajuda aqui please - by Eddye - 04.12.2016, 13:49
Respuesta: Galera Ajuda aqui please - by Lucas_Rocha - 04.12.2016, 13:56
Re: Galera Ajuda aqui please - by Eddye - 04.12.2016, 14:04
Respuesta: Galera Ajuda aqui please - by Lucas_Rocha - 04.12.2016, 15:47

Forum Jump:


Users browsing this thread: 1 Guest(s)