2 commands in one
#3

zCMD

It's written in the zCMD thread however..

How to make two different commands doing the same thing

For example, you have /something cmd:

pawn Код:
COMMAND:something(playerid, params[])
{
  // some stuff here
  return 1;
}
and you want to create another one such as /another that does what /something does. The simpliest way of doing that is:

pawn Код:
COMMAND:another(playerid, params[])
{
  return cmd_something(playerid, params);
}
Reply


Messages In This Thread
2 commands in one - by jackx3rx - 26.07.2014, 21:16
Re: 2 commands in one - by Blast3r - 26.07.2014, 21:24
Re: 2 commands in one - by DaniceMcHarley - 26.07.2014, 21:32
AW: 2 commands in one - by jackx3rx - 26.07.2014, 21:32
AW: 2 commands in one - by jackx3rx - 26.07.2014, 22:23
Re: AW: 2 commands in one - by King Ace - 26.07.2014, 22:27

Forum Jump:


Users browsing this thread: 1 Guest(s)