Quote:
Originally Posted by Lenny the Cup
pawn Код:
new randomvalue[3]={Weed,Crack,Canabis};
has to be
pawn Код:
new randomvalue[3]={DrugType[playerid][Weed], DrugType[playerid][Crack], DrugType[playerid][Canabis]};
|
When initialising variables you must use constant expressions, other vars will not work.