All pastes #730526 Raw Edit

Untitled

public text v1 · immutable
·published 2007-10-09 09:10 UTC
rendered paste body
Script_OnPlayerCommandText(playerid, cmdtext[])
{
		ShowMenuForPlayer(WD, playerid);
		{
		if(strcmp(cmd,”/wd”,true)==0)
		{
		if(IsValidMenu(WD)) //Double Check the menu has been created to avoid Crash.
		{
		ShowMenuForPlayer(WD, playerid); //Show the Menu to the player
		}
	return 0;
	}
	return 1;
}