All pastes #732526 Raw Edit

az

public text v1 · immutable
·published 2007-10-11 02:08 UTC
rendered paste body
public ycmd_wd(playerid, params[], help)
{
		if (strcmp(params,"menu",true) == 0)
		{
		    //the player typed /wd menu

			if(IsValidMenu(WD)) //Double Check the menu has been created to avoid Crash.
        	{
            	    ShowMenuForPlayer(WD, playerid); //Show the Menu to the player
			}
			return 1;
		}
		if (strcmp(params, "website", true) == 0)
		{
		    // the player typed /wd website
		    // do anything here
		}
		return 1;
}