All pastes #730148 Raw Edit

Something

public text v1 · immutable
·published 2007-10-08 23:11 UTC
rendered paste body
public OnPlayerCommandText(playerid, cmdtext[])
{
	if (strcmp("/mycommand", cmdtext, true, 10) == 0)
	{
		// Do something here
		return 1;
	}
	return 0;
}