You need to tag the enumerator in the function. Will need to see addArrows() to fix warnings you'll likely get.
PHP Code:
public ON( Client )
{
new ADV_MELEE_DIRECTION:amdRandom = ADV_MELEE_DIRECTION:random( _:ADV_MELEE_DIRECTION );
addArrows(Client, "DanceArrows", amdRandom );
}
You can try this
PHP Code:
addArrows( id , SomeString[] , ADV_MELEE_DIRECTION:ArrowType )
{
}
__________________