[Ajuda] Dropar items
#5

Quote:
Originally Posted by Andinho
Посмотреть сообщение
Код:
if(killerid == INVALID_PLAYER_ID) 
        { 
        ForceDrop(playerid); 
        }
sera que agr funciona ...
foi nao ;c

esse e a stock:

PHP код:
stock ForceDrop(playerid)
{
    new 
Float:XFloat:YFloat:Z;
    
GetPlayerPos(playeridXYZ);
    for(new 
i99i++)
    {
        if(
PlayerHasItem(playeridItemInfo[i][Item_Name]))
        {
            
CreateDrop(ItemInfo[i][Item_ID], X+random(3), Y+random(5), Z);
        }
    }
    return 
1;

Reply


Messages In This Thread
Dropar items - by PedroH - 02.08.2017, 03:34
Re: Dropar items - by Bruno13 - 02.08.2017, 03:42
Re: Dropar items - by PedroH - 02.08.2017, 05:32
Re: Dropar items - by Andinho - 02.08.2017, 06:35
Re: Dropar items - by PedroH - 02.08.2017, 16:57
Re: Dropar items - by PedroH - 03.08.2017, 16:05

Forum Jump:


Users browsing this thread: 1 Guest(s)