SA-MP Forums Archive
Bug! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Bug! (/showthread.php?tid=202036)



Bug! - admantis - 23.12.2010

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:


Re: Bug! - Backwardsman97 - 23.12.2010

Try this.

http://pastebin.com/erhJ11iN