Thread: Random Enum
View Single Post
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 05-15-2022 , 23:29   Re: Random Enum
Reply With Quote #2

You need to tag the enumerator in the function. Will need to see addArrows() to fix warnings you'll likely get.
PHP Code:
public ONClient )
{
    new 
ADV_MELEE_DIRECTION:amdRandom ADV_MELEE_DIRECTION:random_:ADV_MELEE_DIRECTION );
    
    
addArrows(Client"DanceArrows"amdRandom );

You can try this
PHP Code:
addArrowsid SomeString[] , ADV_MELEE_DIRECTION:ArrowType )
{

__________________

Last edited by Bugsy; 05-15-2022 at 23:31.
Bugsy is offline