Help with mute [Solved]
#1

Question:
Okay, so I have this code, and why does it mute me whenever I type any id number??
Код:
case 0:
{
ShowPlayerDialog(playerid, 8,DIALOG_STYLE_INPUT,"Mute","Type the player's id below:","Next","Cancel"); // DIALOG ID 8
}

//--------------------------------------------------------------------

if(dialogid == 8)
{
if (response)
{
ShowPlayerDialog(playerid, 9, DIALOG_STYLE_INPUT,"Mute","Enter reason for the mute","Mute","Cancel");
Muted[Player[playerid]] = 1;
return 1;
}
Problem:
To make it mute the player id that I will type in the Dialog id 8
________
UNIVERSAL LIFE INSURANCE DICUSSION
Reply
#2

pawn Код:
Muted[strval(inputtext)] = 1;
Reply
#3

Quote:
Originally Posted by Don Correlli
pawn Код:
Muted[strval(inputtext)] = 1;
Tyvm, it works now
________
Vermont marijuana dispensaries
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)