How to make commands and where?
#6

Well find this and it basically gives you the format..

Quote:

public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/mycommand", cmdtext, true, 10) == 0)
{
// Do something here
return 1;
}
return 0;
}

Reply


Messages In This Thread
How to make commands and where? - by MAFIAWARS - 01.09.2013, 13:32
Re: How to make commands and where? - by DamonD - 01.09.2013, 13:34
Re: How to make commands and where? - by Konstantinos - 01.09.2013, 13:39
Re: How to make commands and where? - by MAFIAWARS - 01.09.2013, 14:15
Re: How to make commands and where? - by Konstantinos - 01.09.2013, 14:26
Re: How to make commands and where? - by SampGaming - 01.09.2013, 14:35
Re: How to make commands and where? - by Konstantinos - 01.09.2013, 14:36
Re: How to make commands and where? - by MAFIAWARS - 01.09.2013, 14:51
Re: How to make commands and where? - by doreto - 01.09.2013, 14:57
Re: How to make commands and where? - by MAFIAWARS - 01.09.2013, 15:02

Forum Jump:


Users browsing this thread: 1 Guest(s)