23.12.2010, 03:06
Well i got this: !!!!!!!!!! FIXED !!!!!!!!!!!!!!!!!!!1
[pawno]
if (dialogid == 86)
{
if(!response)
{
new string[128];
PlayerInfo[playerid][pSex] = 0;
format(string, sizeof(string), "Ok, so you are Female.");
SendClientMessage(playerid,0xFFFFFFFF, string);
}
if(response)
{
new string[128];
PlayerInfo[playerid][pSex] = 1;
format(string, sizeof(string), "Ok, so you are Male.");
SendClientMessage(playerid,0xFFFFFFFF, string);
}
return 1;
}
[/pawno]
And when i press any of both buttons the Dialog doesn't dissapears. That's a fatal bug for me D:
[pawno]
if (dialogid == 86)
{
if(!response)
{
new string[128];
PlayerInfo[playerid][pSex] = 0;
format(string, sizeof(string), "Ok, so you are Female.");
SendClientMessage(playerid,0xFFFFFFFF, string);
}
if(response)
{
new string[128];
PlayerInfo[playerid][pSex] = 1;
format(string, sizeof(string), "Ok, so you are Male.");
SendClientMessage(playerid,0xFFFFFFFF, string);
}
return 1;
}
[/pawno]
And when i press any of both buttons the Dialog doesn't dissapears. That's a fatal bug for me D: