[Ajuda] sobre as armas e os codigos simples
#1

Ola vocкs sabem qual armas sгo setadas em cada codigo do Gta SA?
exemplo "KJKSZPJ" acho que й assim com esse cуdigo seta varias armas <
ai tem outros 2 cуdigos que seta outras

queria saber quais armas sгo setadas em cada cуdigo pra mim fazer alguйm sabe?
Reply
#2

Set 1 – LXGIWYL
Set 2 – KJKSZPJ
Set 3 – UZUMYMW
Reply
#3

UZUMYMW e LXGIWYL

tem todos os cheats aqui

http://www.gtasanandreas.net/cheats/pc.php
Reply
#4

me entenderam errado eu quero saber quais armas sao setadas em cada CODIGO pra mim fazer um cmd entenderam ?

exemplo
KJKSZPJ
desert = 24
m4a1 = sla

sу quero saber quais armas sгo em cada codigo

PHP код:
ai eu crio comando pra cada
COMMAND
:aarma (playeridparams[])
{
       return 
1;

Reply
#5

Os comandos estгo aн, se vocк estб mesmo interessado vocк entra no seu GTA e testa comando por comando.
Reply
#6

Fiz esta ai pra quem precisar

PHP код:
COMMAND:kjkszpj (playeridparams[])
{
    if ( 
IsPlayerAdmin playerid ) )
    {
        
SendClientMessage(playeridCOR_GREEN"Armas Adicionadas!");
        
GivePlayerWeapon (  playerid,  429999 );//  Fire extinguisher
        
GivePlayerWeapon (  playerid,  169999 );//  Grenades
        
GivePlayerWeapon (  playerid,  379999 );//  Flame-thrower
        
GivePlayerWeapon (  playerid,  349999 );//  sniper
        
GivePlayerWeapon (  playerid,  319999 );//  m4
        
GivePlayerWeapon (  playerid,  329999 );//  tec
        
GivePlayerWeapon (  playerid,  269999 );//  cano serrado
        
GivePlayerWeapon (  playerid,  249999 );//  desert
        
GivePlayerWeapon (  playerid,  4,  9999) ;//  faca
        
    
}
    else
    {
        
SendClientMessageplayeridCOR_AVISO"Atenзгo vocк nгo tem Permissao." );
    }
    return 
1;
}
COMMAND:uzumymw (playeridparams[])
{
    if ( 
IsPlayerAdmin playerid ) )
    {
        
SendClientMessage(playeridCOR_GREEN"Armas Adicionadas!");
        
GivePlayerWeapon (  playerid,  99999 );  //MOTOSERRA
        
GivePlayerWeapon (  playerid,  239999 ); //pistola
        
GivePlayerWeapon (  playerid,  279999 );  //a doze
        
GivePlayerWeapon (  playerid,  299999 );  //metralha
        
GivePlayerWeapon (  playerid,  319999 );  //m4
        
GivePlayerWeapon (  playerid,  329999 );  //tec
        
GivePlayerWeapon (  playerid,  369999 );  //Heat seeking rocke
        
GivePlayerWeapon (  playerid,  399999 );  //bomba
        
GivePlayerWeapon (  playerid,  449999 );  //nicht
    
}
    else
    {
        
SendClientMessageplayeridCOR_AVISO"Atenзгo vocк nгo tem Permissao." );
    }
    return 
1;
}
COMMAND:lxgiwyl (playeridparams[])
{
    if ( 
IsPlayerAdmin playerid ) )
    {
        
SendClientMessage(playeridCOR_GREEN"Armas Adicionadas!");
        
GivePlayerWeapon (  playerid,  1999 ); //soco
        
GivePlayerWeapon (  playerid,  5999 ); //taco
        
GivePlayerWeapon (  playerid,  22999 );  //pistol
        
GivePlayerWeapon (  playerid,  25999 );  //metralha
        
GivePlayerWeapon (  playerid,  28999 );  //ak
        
GivePlayerWeapon (  playerid,  30999 );  //Heat seeking rocke
        
GivePlayerWeapon (  playerid,  33999 );  //espingarda
        
GivePlayerWeapon (  playerid,  35999 );  //rpg
        
GivePlayerWeapon (  playerid,  41999 );  //spray
        
GivePlayerWeapon (  playerid,  45999 );  //bomba de fogo
        
GivePlayerWeapon (  playerid,  46999 );  //paraquedas
    
}
    else
    {
        
SendClientMessageplayeridCOR_AVISO"Atenзгo vocк nгo tem Permissao." );
    }
    return 
1;

Reply
#7

ou...
PHP код:
COMMAND:aarma (playeridparams[])
{
    if ( 
IsPlayerAdmin playerid ) )
    {
        new
        
aarma
        
;
        if ( 
sscanf params"d"aarma ) )
        {
            
SendClientMessage playeridCOR_AVISO" Use: /aarma [1 - 3] " );
        }
        switch ( 
aarma )
        {
            case 
1:
            {
                
SendClientMessage(playeridCOR_GREEN"Armas Adicionadas!");
                
GivePlayerWeapon (  playerid,  429999 );//  Fire extinguisher
                
GivePlayerWeapon (  playerid,  169999 );//  Grenades
                
GivePlayerWeapon (  playerid,  379999 );//  Flame-thrower
                
GivePlayerWeapon (  playerid,  349999 );//  sniper
                
GivePlayerWeapon (  playerid,  319999 );//  m4
                
GivePlayerWeapon (  playerid,  329999 );//  tec
                
GivePlayerWeapon (  playerid,  269999 );//  cano serrado
                
GivePlayerWeapon (  playerid,  249999 );//  desert
                
GivePlayerWeapon (  playerid,  4,  9999) ;//  faca
            
}
            case 
2:
            {
                
SendClientMessage(playeridCOR_GREEN"Armas Adicionadas!");
                
GivePlayerWeapon (  playerid,  99999 );  //MOTOSERRA
                
GivePlayerWeapon (  playerid,  239999 ); //pistola
                
GivePlayerWeapon (  playerid,  279999 );  //a doze
                
GivePlayerWeapon (  playerid,  299999 );  //metralha
                
GivePlayerWeapon (  playerid,  319999 );  //m4
                
GivePlayerWeapon (  playerid,  329999 );  //tec
                
GivePlayerWeapon (  playerid,  369999 );  //Heat seeking rocke
                
GivePlayerWeapon (  playerid,  399999 );  //bomba
                
GivePlayerWeapon (  playerid,  449999 );  //nicht
            
}
            case 
3:
            {
                
SendClientMessage(playeridCOR_GREEN"Armas Adicionadas!");
                
GivePlayerWeapon (  playerid,  1999 ); //soco
                
GivePlayerWeapon (  playerid,  5999 ); //taco
                
GivePlayerWeapon (  playerid,  22999 );  //pistol
                
GivePlayerWeapon (  playerid,  25999 );  //metralha
                
GivePlayerWeapon (  playerid,  28999 );  //ak
                
GivePlayerWeapon (  playerid,  30999 );  //Heat seeking rocke
                
GivePlayerWeapon (  playerid,  33999 );  //espingarda
                
GivePlayerWeapon (  playerid,  35999 );  //rpg
                
GivePlayerWeapon (  playerid,  41999 );  //spray
                
GivePlayerWeapon (  playerid,  45999 );  //bomba de fogo
                
GivePlayerWeapon (  playerid,  46999 );  //paraquedas
            
}
        }
    }
    else
    {
        
SendClientMessageplayeridCOR_AVISO"Atenзгo vocк nгo tem Permissao." );
    }
    return 
1;

Reply
#8

Nгo hб a necessidade de parвmetros no primeiro comando.
pawn Код:
COMMAND:kjkszpj(playerid)  {
    if ( IsPlayerAdmin ( playerid ) ) {
        SendClientMessage(playerid, COR_GREEN, "Armas Adicionadas!");
        GivePlayerWeapon (  playerid,  42, 9999 );//  Fire extinguisher
        GivePlayerWeapon (  playerid,  16, 9999 );//  Grenades
        GivePlayerWeapon (  playerid,  37, 9999 );//  Flame-thrower
        GivePlayerWeapon (  playerid,  34, 9999 );//  sniper
        GivePlayerWeapon (  playerid,  31, 9999 );//  m4
        GivePlayerWeapon (  playerid,  32, 9999 );//  tec
        GivePlayerWeapon (  playerid,  26, 9999 );//  cano serrado
        GivePlayerWeapon (  playerid,  24, 9999 );//  desert
        GivePlayerWeapon (  playerid,  4,  9999) ;//  faca
         
    }
    else return SendClientMessage( playerid, COR_AVISO, "Atenзгo vocк nгo tem Permissao." );
    return 1;
}

COMMAND:uzumymw(playerid) {
    if ( IsPlayerAdmin ( playerid ) ) {
        SendClientMessage(playerid, COR_GREEN, "Armas Adicionadas!");
        GivePlayerWeapon (  playerid,  9, 9999 );  //MOTOSERRA
        GivePlayerWeapon (  playerid,  23, 9999 ); //pistola
        GivePlayerWeapon (  playerid,  27, 9999 );  //a doze
        GivePlayerWeapon (  playerid,  29, 9999 );  //metralha
        GivePlayerWeapon (  playerid,  31, 9999 );  //m4
        GivePlayerWeapon (  playerid,  32, 9999 );  //tec
        GivePlayerWeapon (  playerid,  36, 9999 );  //Heat seeking rocke
        GivePlayerWeapon (  playerid,  39, 9999 );  //bomba
        GivePlayerWeapon (  playerid,  44, 9999 );  //nicht

    }
    else return SendClientMessage( playerid, COR_AVISO, "Atenзгo vocк nгo tem Permissao." );
    return 1;
}

COMMAND:lxgiwyl(playerid) {
    if ( IsPlayerAdmin ( playerid ) ) {
        SendClientMessage(playerid, COR_GREEN, "Armas Adicionadas!");
        GivePlayerWeapon (  playerid,  1, 999 ); //soco
        GivePlayerWeapon (  playerid,  5, 999 ); //taco
        GivePlayerWeapon (  playerid,  22, 999 );  //pistol
        GivePlayerWeapon (  playerid,  25, 999 );  //metralha
        GivePlayerWeapon (  playerid,  28, 999 );  //ak
        GivePlayerWeapon (  playerid,  30, 999 );  //Heat seeking rocke
        GivePlayerWeapon (  playerid,  33, 999 );  //espingarda
        GivePlayerWeapon (  playerid,  35, 999 );  //rpg
        GivePlayerWeapon (  playerid,  41, 999 );  //spray
        GivePlayerWeapon (  playerid,  45, 999 );  //bomba de fogo
        GivePlayerWeapon (  playerid,  46, 999 );  //paraquedas

    }
    else return SendClientMessage( playerid, COR_AVISO, "Atenзгo vocк nгo tem Permissao." );
    return 1;
}
Reply
#9

mas isso atrapalha alguma coisa? nгo sei pq to aprendendo ainda
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)