SA-MP Forums

Go Back   SA-MP Forums > Non-English > Languages > Português/Portuguese

Reply
 
Thread Tools Display Modes
Old 22/09/2019, 12:13 AM   #1
CharadaFox
Big Clucker
 
Join Date: May 2019
Posts: 66
Reputation: 0
Default Ver comandos digitados pelos admins

GOSTARIA DE UM COMANDO PARA VER TODOS SISTEMAS DIGIITADOS NO SSERVER PELOS ADM
CharadaFox is offline   Reply With Quote
Old 22/09/2019, 12:58 AM   #2
NWDMadara
Huge Clucker
 
NWDMadara's Avatar
 
Join Date: Mar 2018
Posts: 490
Reputation: 15
Default Re: Ver comandos digitados pelos admins

https://wiki.sa-mp.com/wiki/OnPlayerCommandText_PT
NWDMadara is online now   Reply With Quote
Old 22/09/2019, 01:10 AM   #3
CharadaFox
Big Clucker
 
Join Date: May 2019
Posts: 66
Reputation: 0
Default Re: Ver comandos digitados pelos admins

sim eu quero que infforrme para min o que ele digiitou
CharadaFox is offline   Reply With Quote
Old 22/09/2019, 01:13 AM   #4
zKaioDzn
Big Clucker
 
Join Date: May 2019
Location: Inferno , q 6 r 6 Bairro 666
Posts: 77
Reputation: 0
Default Re: Ver comandos digitados pelos admins

Quote:
Originally Posted by CharadaFox View Post
GOSTARIA DE UM COMANDO PARA VER TODOS SISTEMAS DIGIITADOS NO SSERVER PELOS ADM

PHP Code:

forward ABroadCast
(COLOR,const string[],level);
public 
ABroadCast(COLOR,const string[],level)
{
    for(new 
0MAX_PLAYERSi++)
    {
        if(
IsPlayerConnected(i))
        {
            if (
Player[i][pAdmin] >= level//Troque pela tua variável admin!
            
{
                
SendClientMessage(iCOLORstring);
            }
        }
    }
    
printf("%s"string);
    return 
true;

Um dos comandos de exemplo:

PHP Code:

CMD
:setgrana(playeridparams[])
    {
            new 
playamoney;
            if(
sscanf(params"ud"playamoney))
            {
                
SendClientMessageSetTime(playeridCOLOR_GRAD2"USE: /setgrana [ID do Player] [grana]");
                return 
true;
            }
            new 
gstring[128];
            if (
PlayerInfo[playerid][pAdmin] >= 5)
            {
                if(
IsPlayerConnected(playa))
                {
                    if(
playa != INVALID_PLAYER_ID)
                    {
                        
ResetPlayerMoney(playa);
                        
GivePlayerMoney(playamoney);
                        
format(gstring128"AdmCmd: O admin %s setou a grana de %s para ($%d)."PlayerName(playerid), PlayerName(playa), money);
                        
ABroadCast(COLOR_LIGHTGREEN,gstring,1);
                        
format(gstring128"%s usou /setgrana em %s e setou %d"PlayerName(playerid), PlayerName(playa), money);
                    }
                }
            }
            else
            {
                
SendClientMessageSetTime(playeridCOLOR_GRAD1"Voce nao esta autorizado a usar este comando!");
            }
            return 
true;
    } 
__________________
Hey

---------------------------------------------------------


zKaioDzn is offline   Reply With Quote
Old 22/09/2019, 02:22 AM   #5
CharadaFox
Big Clucker
 
Join Date: May 2019
Posts: 66
Reputation: 0
Default Re: Ver comandos digitados pelos admins

(130157) : error 025: function heading differs from prototype(130157) : error 025: function heading differs from prototype
CharadaFox is offline   Reply With Quote
Old 22/09/2019, 03:07 AM   #6
zKaioDzn
Big Clucker
 
Join Date: May 2019
Location: Inferno , q 6 r 6 Bairro 666
Posts: 77
Reputation: 0
Default Re: Ver comandos digitados pelos admins

Quote:
Originally Posted by CharadaFox View Post
(130157) : error 025: function heading differs from prototype(130157) : error 025: function heading differs from prototype

Manda a linha (130157)
__________________
Hey

---------------------------------------------------------


zKaioDzn is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Pedido] Visualizar comandos efetuados pelos admins MituhBR Português/Portuguese 6 16/10/2018 09:46 PM
[Ajuda] Comandos /admins Maxwilson01 Português/Portuguese 6 01/04/2017 03:02 PM
[Ajuda] Ver comandos digitados DexterClark Português/Portuguese 1 23/11/2015 04:21 PM
[Ajuda] Lendo comandos digitados zcmd minimessi10 Português/Portuguese 1 29/08/2013 12:40 AM
[AJUDA] Code para ver os comandos digitados [RoxX]Ygor Português/Portuguese 11 01/10/2010 03:11 PM


All times are GMT. The time now is 03:02 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.