View Single Post
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
Old 01-15-2015 , 20:34   Re: [FAQ]armoury_entity
Reply With Quote #8

Quote:
Originally Posted by Aydeev View Post
Why does this remove the entities for the remainder of the map? Since picked up weapons respawn each round I would have thought removing them would make them reappear again next round.

I want to remove all armoury_entity entities for round 1 only since we play a map that only gives the Terror team AKs and that gives them an unfair advantage in the first round
PHP Code:
new armouryEnt = -1
while((armouryEnt find_ent_by_class(armouryEnt"armoury_entity"))
{
    
set_pdata_int(armouryEntm_iCount0XO_CArmoury);
    
set_pev(armouryEntpev_effectspev(armouryEntpev_effects) | EF_NODRAW);

__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline