How to make... ?
#6

Quote:
Originally Posted by ►►►Peter Corneile◄◄◄
pawn Код:
if(!strcmp(cmdtext, "/goto lasventuras 3", true))
  {
  SetPlayerPos(playerid,floatx,floaty,floatz);
  return 1;
  }

 if(!strcmp(cmdtext, "/goto lasventuras 4", true))
  {
  SetPlayerPos(playerid,floatx,floaty,floatz);
  return 1;
  }

And so on ....
VERY VERY bad code right there. That's just going to literally clatter up your OnPlayerCommandText() with useless code. Read this: https://sampwiki.blast.hk/wiki/Dcmd
Reply


Messages In This Thread
How to make... ? - by Zeromanster - 15.09.2009, 00:22
Re: How to make... ? - by Zeromanster - 15.09.2009, 14:25
Re: How to make... ? - by Clavius - 15.09.2009, 14:32
Re: How to make... ? - by Zeromanster - 15.09.2009, 14:37
Re: How to make... ? - by Peter_Corneile - 15.09.2009, 15:05
Re: How to make... ? - by Calgon - 15.09.2009, 15:08
Re: How to make... ? - by Clavius - 15.09.2009, 15:09
Re: How to make... ? - by Peter_Corneile - 15.09.2009, 15:41
Re: How to make... ? - by Clavius - 15.09.2009, 16:05
Re: How to make... ? - by Peter_Corneile - 15.09.2009, 16:11

Forum Jump:


Users browsing this thread: 5 Guest(s)