16.08.2018, 03:21
I don't know why i am getting tag mismatch on this line :
Full code
PHP код:
strmid(SAInfo[said][s_type], "Damage", 0, 126, 126);
PHP код:
if(listitem == 1)
{
new query[128];
format(query, sizeof(query), "UPDATE sam SET s_type='Damage' WHERE id='%i'", SAInfo[said][s_id]);
mysql_function_query(dbhandle, query, false, "", "");
SendClientMessage(playerid, COLOR_GREEN, "Changed successfully! [Damage]");
strmid(SAInfo[said][s_type], "Damage", 0, 126, 126);
UpdateSAM(said);
ShowPlayerDialog(playerid, DIALOG_ESAM, DIALOG_STYLE_LIST, "Editing SAM", "Change SAM Type", "Select", "Close");
}