[PEDIDO] Arma de 2 Mгos em 1 Mгo
#1

Como Colocar Armas de 2 Mгos em 1 Mгo??

EX:

http://www.netupload.org/files/boenv3fp2wbnn0k4bdey.png
http://www.netupload.org/files/1rd43yk5ts0y5wugg670.png

DUVIDA ADD: Como Colocar Armas nas Costas?

Vlww..

OBS: Ja Usei o Search e nгo achei
Reply
#2

AttachObject
Reply
#3

UP! Alguen ?
Reply
#4

Quote:
Originally Posted by Los
Посмотреть сообщение
AttachObject
....

@edit

Agora que entendi!

https://sampforum.blast.hk/showthread.php?tid=205666
Reply
#5

vlw por esse, so que o que eu mais requesito e nao achei й segurar
armas de 2 maos ex: m4, 12, sniper em 1 mгo sу
Reply
#6

Entгo, й AttachObject.
Reply
#7

Para colocar armas nas costas:
PHP код:
    #define SlotAKM4 1
    
if(!IsPlayerInAnyVehicle(playerid))
    {
        new 
Arma[MAX_PLAYERS],Bala[MAX_PLAYERS];
        
GetPlayerWeaponData(playerid5Arma[playerid], Bala[playerid]);
        if(
Arma[playerid] == 30 && Bala[playerid] >= 1)//Ak-47
        
{
               if(
GetPlayerWeapon(playerid) == 30RemovePlayerAttachedObject(playerid,SlotAKM4);
               else 
SetPlayerAttachedObject(playeridSlotAKM43551, -0.060921, -0.1416730.0000000.00000035.3627350.000000);
        }
        else if(
Arma[playerid] == 31 && Bala[playerid] >= 1//M4
        
{
            if(
GetPlayerWeapon(playerid) == 31RemovePlayerAttachedObject(playerid,SlotAKM4);
            else 
SetPlayerAttachedObject(playeridSlotAKM43561, -0.099681, -0.1334080.0000001.02759219.6677850.000000);
        }
        else
        {
            
RemovePlayerAttachedObject(playerid,SlotAKM4);
        }
        
GetPlayerWeaponData(playerid3Arma[playerid], Bala[playerid]);
    } 
Reply
#8

Use SetPlayerWeaponSkill para colocar armas de 2 mгos em uma mгo.
E use AttachObject para colocar as armas nas costas, pesquise no fуrum que existe!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)