[Ajuda] NIVEL DE PROCURADO
#6

PHP код:
COMMAND:estrelas(playeridparams[]) 

    new 
OtherPlayerStarsstring[100]; 
    
OtherPlayer strval(params); 
    
SendAdminText(playerid"/estrelas"params); 
    if(
APlayerData[playerid][LoggedIn] == true){ 
        if(
APlayerData[playerid][PlayerLevel] >= 2){ 
            if(
sscanf(params"ui"OtherPlayerStars)) return SendClientMessage(playerid0xFF0000AA"Use: /estrelas [id] [nivel]"); 
            if(
IsPlayerConnected(OtherPlayer)){
                
SetPlayerWantedLevel playeridStars); 
                
format(stringsizeof(string), "Vocк setou as estrelas do id: %i para %i"OtherPlayerStars); 
                
SendClientMessage(playerid, -1string); 
            }else{                    
                
SendClientMessage(playerid0xFF0000FF"{FF0000}Esse jogador nгo estб online."); 
            }
        } 
    } 
    return 
1;

Reply


Messages In This Thread
NIVEL DE PROCURADO - by Hades12 - 03.03.2019, 14:54
Re: NIVEL DE PROCURADO - by yAndrey - 03.03.2019, 15:31
Re: NIVEL DE PROCURADO - by Hades12 - 03.03.2019, 19:39
Re: NIVEL DE PROCURADO - by yAndrey - 03.03.2019, 19:40
Re: NIVEL DE PROCURADO - by Hades12 - 03.03.2019, 19:44
Re: NIVEL DE PROCURADO - by Felipealves - 03.03.2019, 19:58
Re: NIVEL DE PROCURADO - by Hades12 - 03.03.2019, 20:07
Re: NIVEL DE PROCURADO - by NWDMadara - 03.03.2019, 20:39
Re: NIVEL DE PROCURADO - by Felipealves - 03.03.2019, 21:32
Re: NIVEL DE PROCURADO - by NWDMadara - 03.03.2019, 21:38

Forum Jump:


Users browsing this thread: 1 Guest(s)