[Question] About random..again..
#4

Thanks alright now i have this;

pawn Код:
new randomvalue[3]={DrugType[playerid][Weed], DrugType[playerid][Crack], DrugType[playerid][Canabis]};
DrugType[playerid][randomvalue[random(sizeof randomvalue)]] =1;
and these errors;

pawn Код:
C:\Games\Rockstar Games\GTA San Andreas\sampserver\filterscripts\DontDoDrugsMan.pwn(370) : error 008: must be a constant expression; assumed zero
C:\Games\Rockstar Games\GTA San Andreas\sampserver\filterscripts\DontDoDrugsMan.pwn(371) : warning 213: tag mismatch
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
Edit: the lines are at the 2 lines im showing above new randomvalue...and DrugType..(370 and 371)
Reply


Messages In This Thread
[Question] About random..again.. - by boelie - 26.08.2011, 14:58
Re: [Question] About random..again.. - by Kingunit - 26.08.2011, 15:01
Re: [Question] About random..again.. - by Lenny the Cup - 26.08.2011, 15:05
Re: [Question] About random..again.. - by boelie - 26.08.2011, 15:41
Re: [Question] About random..again.. - by iggy1 - 26.08.2011, 15:44
Re: [Question] About random..again.. - by boelie - 26.08.2011, 15:48
Re: [Question] About random..again.. - by iggy1 - 26.08.2011, 15:50
Re: [Question] About random..again.. - by boelie - 26.08.2011, 15:59
Re: [Question] About random..again.. - by boelie - 26.08.2011, 17:00
Re: [Question] About random..again.. - by iggy1 - 27.08.2011, 07:48

Forum Jump:


Users browsing this thread: 2 Guest(s)