[Ajuda] Dъvida SendClientMessageToAll
#6

Quote:
Originally Posted by SmokeKiLL
Посмотреть сообщение
Й como o ipsLuan disse, se estб inglкs traduza, pesquise coisas relacionadas aqui no fуrum tambйm, com certeza irб achar uma base, nгo fique criando post pra tudo, se ao menos nem tentou. Estude o cуdigo pelo menos...
PHP код:
CMD:jetpack(playerid)
{
    new 
name[MAX_PLAYER_NAME], string[128];
    
GetPlayerName(playeridnamesizeof(name));
    
format(stringsizeof(string), "%s pegou seu jetpack super vip!"name);
    
SendClientMessageToAll(-1string);
    return 
1;

No caso fica assim entгo ?

PHP код:
if(strcmp(cmdtext"/jetpack"true) == 0)
    {
    if(
PlayerInfo[playerid][pVIP] >= 2)
      {
        new 
name[MAX_PLAYER_NAME], string[128];
        
GetPlayerName(playeridnamesizeof(name));
        
format(stringsizeof(string), "O %s pegou jetpack"name);
        
SendClientMessageToAll(-1string);
        return 
true;
        }
        
SetPlayerSpecialAction(playerid2);
        
SendClientMessage(playeridCOR_ADMIN"[BENEFICIARIO]: vOCК PEGOU JETPACK");
        
SendClientMessage(playeridCOR_ADMIN"ACESSE NOSSO /FORUM");
        
SendClientMessage(playeridCOLOR_YELLOW"[Erro]: VOCE NГO Й BENEFICIARIO VIP");
        
SendClientMessage(playeridCOLOR_YELLOW"[Erro]: Acesse NOSSO /FORUM !!");
    }
    return 
1;

Reply


Messages In This Thread
Dъvida SendClientMessageToAll - by ScripterInicianteBR - 10.12.2018, 02:57
Re: Dъvida SendClientMessageToAll - by ipsLuan - 10.12.2018, 02:58
Re: Dъvida SendClientMessageToAll - by ScripterInicianteBR - 10.12.2018, 03:02
Re: Dъvida SendClientMessageToAll - by ipsLuan - 10.12.2018, 03:02
Re: Dъvida SendClientMessageToAll - by SmokeKiLL - 10.12.2018, 03:08
Re: Dъvida SendClientMessageToAll - by ScripterInicianteBR - 10.12.2018, 03:27
Re: Dъvida SendClientMessageToAll - by SmokeKiLL - 10.12.2018, 03:36
Re: Dъvida SendClientMessageToAll - by ScripterInicianteBR - 10.12.2018, 03:43
Re: Dъvida SendClientMessageToAll - by Electrifying - 10.12.2018, 03:51
Re: Dъvida SendClientMessageToAll - by ScripterInicianteBR - 10.12.2018, 03:52

Forum Jump:


Users browsing this thread: 2 Guest(s)