next_token = -1;
index = start_index;
+ selection = world;
if(argc > start_index)
{
tmp_number = stof(argv(index));
++index;
}
+ else
+ tmp_number = 0;
}
else // maybe it's ONLY a number?
{
}
else
{
+ selection = world;
FOR_EACH_CLIENT(tmp_player)
if (strdecolorize(tmp_player.netname) == strdecolorize(input))
selection = tmp_player;
entity selection = GetFilteredEntity(input);
float output;
- if(selection) { output = num_for_edict(selection); }
+ output = num_for_edict(selection);
return output;
}