Quote:
Originally Posted by GXLZPGX
The function:
random_person()
has no id. You can't use:
give_extra( id )
because "id" isn't the function index.
|
What are you talking about?
random_person() returns a random player index.
The variable 'id' is just a variable name and the name has no meaning for a variable except readability.
@sibox
Your code looks fine except for this:
Code:
give_extra( random_person() );
That gives weapons to a different random player than what the first one is.
__________________