[Ajuda] Sistema Drop de armas
#4

Acredito que seja nessa parte, mas estou com dificuldade em saber on inserir:

que fica dentro de
Code:
stock OnPlayerDeathEx(playerid, killerid, reason)
PHP Code:
new Float:pPosXFloat:pPosYFloat:pPosZ;
    
GetPlayerPos(playeridpPosXpPosYpPosZ);
for(new 
i_slot 0gunammoi_slot != 12i_slot++)
       {
          
GetPlayerWeaponData(playeridi_slotgunammo);
           if(
gun != && ammo != 0)
           {
               if(
TempDropArmasBody[playerid] >= 30)
               {
                   
CreateDroppedGun(gunammopPosX+random(3)-random(3), pPosY+random(3)-random(3), pPosZ);
            }
        }
    } 
Reply


Messages In This Thread
Sistema Drop de armas - by LuanGamer - 20.01.2017, 20:07
Re: Sistema Drop de armas - by FallweN - 20.01.2017, 20:24
Re: Sistema Drop de armas - by LuanGamer - 21.01.2017, 13:57
Re: Sistema Drop de armas - by LuanGamer - 21.01.2017, 14:18

Forum Jump:


Users browsing this thread: 1 Guest(s)