23.05.2010, 16:13
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"); } } |
pawn Код:
public OnPlayerDialogResponse(blablablablablaspam)//Recommended not to copy this
{
if(dialogid == weatherid)//change that to your own
{
SetWeather(strval(inputtext));
}
return 1;
}