az
public text v1 · immutablepublic 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;
}