29.04.2010, 15:05
(
Последний раз редактировалось ViruZZzZ_ChiLLL; 25.02.2011 в 00:24.
)
Question:
Okay, so I have this code, and why does it freeze me whenever I type any id number??
Problem:
To make it not freeze me O.O
________
Buddhism forum
Okay, so I have this code, and why does it freeze me whenever I type any id number??
Код:
case 0:
{
ShowPlayerDialog(playerid, 11,DIALOG_STYLE_INPUT,"Freeze","Type the player's id below:","Next","Cancel");
}
//--------------------------------------------
if(dialogid == 11)
{
if (response)
{
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid,name,sizeof(name));
format(string, sizeof(string), "Type here the reason why, you, will freeze %s", name);
ShowPlayerDialog(playerid, 12, DIALOG_STYLE_INPUT,"Freeze",string,"Freeze","Cancel");
TogglePlayerControllable(Player[playerid],0);
return 1;
}
}
To make it not freeze me O.O
________
Buddhism forum

