Do this work ?
#5

Don't work =(

I got this errors:

(2410) : error 028: invalid subscript (not an array or too many subscripts): "drugdealer"
(2410) : warning 215: expression has no effect
(2410) : error 001: expected token: ";", but found "]"
(2410) : error 029: invalid expression, assumed zero

in these line:
Код:
 if(drugdealer[playerid] == INVALID_PLAYER_ID)
In this function:
Код:
if(strcmp("/dd",cmdtext,true) == 0)
  {
  if(drugdealer[playerid] == INVALID_PLAYER_ID)
  drugdealer=playerid;
  SendClientMessage(playerid,COLOR_YELLOW,"What Up Thug...Get Some Drugs by Press /drughelp");
  else
  SendClientMessage(playerid,COLOR_RED,"We Already Have A DrugDealer...We don't need Another One!");
	return 1;
  }
Why doesn't it want to work ? ...

Bearfist
Reply


Messages In This Thread
Do this work ? - by Bearfist - 29.04.2009, 21:29
Re: Do this work ? - by pen_theGun - 29.04.2009, 21:48
Re: Do this work ? - by Bearfist - 29.04.2009, 21:56
Re: Do this work ? - by pen_theGun - 29.04.2009, 22:19
Re: Do this work ? - by Bearfist - 30.04.2009, 05:27
Re: Do this work ? - by pen_theGun - 30.04.2009, 05:55
Re: Do this work ? - by D101h - 30.04.2009, 09:26
Re: Do this work ? - by Bearfist - 30.04.2009, 17:01

Forum Jump:


Users browsing this thread: 1 Guest(s)