14.08.2012, 09:28
pawn Код:
new string[100];
format(string,sizeof(string),"You have been invited bu %d",playerid);
ShowPlayerDialog(para1,1489,DIALOG_STYLE_MSGBOX,"Invite",string,"OK","Cancel");
//Under OnDialogResponse
if(dialogid == 1489) {
if(!response) {
//They rejected
}
if(response)
{ //Accepted
}