Do this work ?
#6

Quote:
Originally Posted by Bearfist
I got this errors:
in these line:
Код:
 if(drugdealer[playerid] == INVALID_PLAYER_ID)
yup, my bad

change it to :
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
  if(strcmp("/ddealer",cmdtext,true) == 0)
  {
    if(drugdealer == 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 more!");
    return 1;
  }
}
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)