12.06.2014, 15:55
Let me give you an example:
If you want to return this command in a stock.
pawn Код:
CMD:greet(playerid,params[])
{
SendClientMessage(playerid,-1,"Hello ,How are you ?");
return 1;
}
pawn Код:
stock greeting()
{
return cmd_greet; //It should be "cmd_(command name here)" if you are using <zcmd>
}