16.07.2011, 02:33
Quote:
Only Dialog Used
pawn Код:
|
pawn Код:
CMD:weather(playerid,params[])
{
if(IsPlayerAdmin(playerid))
{
if(GetPVarInt(playerid,"WeatherView") == 0)
{
ShowPlayerDialog(playerid,9912,DIALOG_STYLE_LIST,
"Select A Weather Type To Preview","Blue Skies \r\nStormy \r\nCloudy And Foggy \r\nClear Blue Sky \r\nHeatwave \r\nSandstorm \r\nFoggy, Greenish \r\nVery Dark, Gradiented Skyline, Purple \r\nPale Orange \r\nFresh Blue \r\nDark, Cloudy, Teal \r\nDark, Cloudy, Brown \r\nBlue/Purple, Regular \r\nDull Brown \r\nBright, Foggy, Orange \r\nVery Bright \r\nBlue/Purple, Cloudy \r\nToxic Clouds \r\nBlack/White Sky \r\nAmazing Draw Distance \r\nStormy Weather, Pink Sky, Crystal Water \r\nDarkest Weather Ever","View","Cancel");
SendClientMessage(playerid,lightblue,"Weather Selection Menu: Select A Weather To View");
} else return SendClientMessage(playerid,red,"You Are Already Viewing The Weather Selections");
}
return 1;
}