/weater
#4

Quote:
Originally Posted by TKZ227
I'll create one real fast.

Код:
if(strcmp(cmd, "/weather", true) == 0)
{
if(IsPlayerAdmin(playerid))
{
ShowPlayerDialog(playerid, DIALOG_STYLE_INPUT, "Change Weather", "Type the weather ID below!", "Change", "Cancel");
}
}
I'm still a nooby scripter, sorry if I made a mistake :S

Should work, you only forgot the dialog id..

pawn Код:
public OnPlayerDialogResponse(blablablablablaspam)//Recommended not to copy this
{
if(dialogid == weatherid)//change that to your own
{
SetWeather(strval(inputtext));
}
return 1;
}
Reply


Messages In This Thread
/weater - by W00Z - 23.05.2010, 15:56
Re: /weater - by Hiddos - 23.05.2010, 16:01
Re: /weater - by TKZ227 - 23.05.2010, 16:07
Re: /weater - by Hiddos - 23.05.2010, 16:13

Forum Jump:


Users browsing this thread: 1 Guest(s)