Stock and ZCMD help!!
#10

Let me give you an example:

pawn Код:
CMD:greet(playerid,params[])
{
 SendClientMessage(playerid,-1,"Hello ,How are you ?");
 return 1;
}
If you want to return this command in a stock.

pawn Код:
stock greeting()
{
 return cmd_greet; //It should be "cmd_(command name here)" if you are using <zcmd>
}
Reply


Messages In This Thread
Stock and ZCMD help!! - by dieuhanhphuc - 12.06.2014, 14:44
AW: Stock and ZCMD help!! - by BiosMarcel - 12.06.2014, 14:46
Re: Stock and ZCMD help!! - by dieuhanhphuc - 12.06.2014, 14:57
Re: Stock and ZCMD help!! - by NewerthRoleplay - 12.06.2014, 14:58
AW: Stock and ZCMD help!! - by BiosMarcel - 12.06.2014, 14:59
Re: Stock and ZCMD help!! - by dieuhanhphuc - 12.06.2014, 15:07
Re: AW: Stock and ZCMD help!! - by dieuhanhphuc - 12.06.2014, 15:09
AW: Stock and ZCMD help!! - by BiosMarcel - 12.06.2014, 15:16
Re: AW: Stock and ZCMD help!! - by dieuhanhphuc - 12.06.2014, 15:25
Re: Stock and ZCMD help!! - by Amrev - 12.06.2014, 15:55

Forum Jump:


Users browsing this thread: 3 Guest(s)