[HELP] Two cmd's with the same name?
#3

Something like this...
pawn Код:
if(strcmp(cmdtext, "/enter", true) == 0)
{
  if(PlayerToPoint(3, playerid, x, y, z)) //put the coordinates of the enter position of bulding 1
  {
   //code here
  }
  else if(PlayerToPoint(3, playerid, x, y, z)) //put the coordinates of the enter position of building 2
  {
   //code here
  }
  ///and so on
}
Reply


Messages In This Thread
[HELP] Two cmd's with the same name? - by FreddeN - 20.06.2009, 11:17
Re: [HELP] Two cmd's with the same name? - by MenaceX^ - 20.06.2009, 11:34
Re: [HELP] Two cmd's with the same name? - by Grim_ - 20.06.2009, 11:36
Re: [HELP] Two cmd's with the same name? - by FreddeN - 20.06.2009, 11:47
Re: [HELP] Two cmd's with the same name? - by Grim_ - 20.06.2009, 11:48
Re: [HELP] Two cmd's with the same name? - by FreddeN - 20.06.2009, 11:59
Re: [HELP] Two cmd's with the same name? - by Abernethy - 20.06.2009, 12:01
Re: [HELP] Two cmd's with the same name? - by Grim_ - 20.06.2009, 12:02
Re: [HELP] Two cmd's with the same name? - by FreddeN - 20.06.2009, 12:07
Re: [HELP] Two cmd's with the same name? - by Grim_ - 20.06.2009, 12:09

Forum Jump:


Users browsing this thread: 1 Guest(s)