[Tutorial] Making a building enterable
#4

Quote:
Originally Posted by michaeli
Посмотреть сообщение
Is this possible with the use of DCMD instead of ZCMD?
all things are possible with zcmd , dcmd but you need to do some changes in starting of the code . like if you are making a /help cmd then you will need to make it in zcmd like that:
pawn Код:
Zcmd Code:
CMD:help(playerid, params)
{
    your code..
     return 1;
}
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])

dcmd(help,4,cmdtext);

dcmd_help(playerid, params)
{
    #pragma unused params (if you are not using params)
   your code..
   return 1;
}
Reply


Messages In This Thread
Making a building enterable - by bensmart469 - 16.06.2013, 17:54
Re: Making a building enterable - by michaeli - 18.06.2013, 16:19
Re: Making a building enterable - by Tuntun - 18.06.2013, 16:40
Re: Making a building enterable - by PrinceKumar - 18.06.2013, 16:47
Re: Making a building enterable - by Aazam - 20.06.2013, 17:43

Forum Jump:


Users browsing this thread: 1 Guest(s)