Small question /cmds = /commands
#5

https://sampforum.blast.hk/showthread.php?tid=91354

Quote:
Originally Posted by Zeex
Посмотреть сообщение
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
Small question /cmds = /commands - by se7evolution - 31.01.2013, 20:29
Re: Small question /cmds = /commands - by tyler12 - 31.01.2013, 20:30
Re: Small question /cmds = /commands - by se7evolution - 31.01.2013, 20:40
Re: Small question /cmds = /commands - by tyler12 - 31.01.2013, 20:40
Re: Small question /cmds = /commands - by LarzI - 31.01.2013, 20:42
Re: Small question /cmds = /commands - by se7evolution - 31.01.2013, 20:44

Forum Jump:


Users browsing this thread: 1 Guest(s)