SA-MP Forums Archive
Crashed Help me.. - 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)
+--- Thread: Crashed Help me.. (/showthread.php?tid=628407)



Crashed Help me.. - xogud807 - 10.02.2017

Error Notices:
SA:MP has crashed. The error report has been generated below

Using The 'Report Crash' button will submit a crash below
that will help us to fix this problem in future versions.
------------------------------------------------------------------------------------

Normal Notices:
If you are not sure how to fix the error, please click here.
------------------------------------------------------------------------------------

Sources Code:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
format(str2, sizeof(str2), "{FFFFFF} ");
strcat(str1, str2);
ShowPlayerDialog(playerid, Frank_Taylor_Talk, DIALOG_STYLE_LIST,
"{FFFFFF}Frank_Taylor", str1, "Choice", "Censel");
}

Sources Input -> Up Error..
------------------------------------------------------------------------------------


Re: Crashed Help me.. - SuperTramp - 11.02.2017

Try to remove the:

Quote:

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
format(str2, sizeof(str2), "{FFFFFF} ");
strcat(str1, str2);
ShowPlayerDialog(playerid, Frank_Taylor_Talk, DIALOG_STYLE_LIST,
"{FFFFFF}Frank_Taylor", str1, "Choice", "Censel");
}