How do i add a new command?
#3

Quote:
Originally Posted by ThatFag
Посмотреть сообщение
What do you mean by "/news" give us more information about this
what does it contain , what it will show etc , will it be dialog or message.
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/RNews", cmdtext, true, 10) == 0)
{
ShowPlayerDialog(playerid, 101, DIALOG_STYLE_MSGBOX, "News", "{00FF00}[News]{FFFFFF} New commands added!", "Sluiten", "");
return 1;
}
return 0;
This.

Regards,
RodyNL
Reply


Messages In This Thread
How do i add a new command? - by RodyNL - 20.10.2016, 14:54
Re: How do i add a new command? - by ThatFag - 20.10.2016, 14:59
Re: How do i add a new command? - by RodyNL - 20.10.2016, 15:01
Re: How do i add a new command? - by Barnwell - 20.10.2016, 15:20
Re: How do i add a new command? - by RodyNL - 20.10.2016, 15:35

Forum Jump:


Users browsing this thread: 2 Guest(s)