Can anybody please explain me the below code briefly,Connor McLeod gave me this code to disable picking up ground weapons,It works,All the weapons on ground were not visible to anybody.But wanted to disable picking up not making them invisible,Can you provide me other method for this or explain me below code please
PHP Code:
new armoury
while( (armoury = find_ent_by_class(armoury, "armoury_entity")) > 0 )
{
remove_entity(armoury)
}
}
public Event_HLTV_New_Round()
{
new players[32], num
get_players(players, num, "h")
for(--num; num>=0; num--)
{
set_pdata_bool(players[num], m_bNotReceivingMoneyNextRound, False)
}
}
Thanks.!
__________________