06.08.2011, 21:15
Try This:
pawn Code:
case 7:
{
format(string, sizeof(string), "* %s types in a number and brings their phone to their ear", GetName(playerid));
NearByMessage(playerid, 12.0, PURPLE, string);
ShowPlayerDialog(playerid, 8, DIALOG_STYLE_INPUT, "Phone", "Type in the number you wish to call:", "Call", "Cancel");
}else{
format(string, sizeof(string), "* %s types in a number on their cellphone", GetName(playerid));
NearByMessage(playerid, 12.0, PURPLE, string);
ShowPlayerDialog(playerid, 9, DIALOG_STYLE_INPUT, "Phone", "Type in the number you wish to SMS:", "Proceed", "Cancel");
}
}
return 1;
}