Deo skripte:
Pawno Code:
case DIALOG_Interior_X: {
if( !response ) {
format(STRING_Heading, sizeof(STRING_Heading), ""color_error"EDITOVANJE INTERIORA ["color_white"%i"color_error"]", INTERIOR_Editing_ID);
format(STRING_Body, sizeof(STRING_Body), ""color_rgblue""color_gray" Naziv\t\t"color_white"%s\n"color_rgblue""color_gray" Interior ID\t\t"color_white"%i\n"color_rgblue""color_gray" Spawn X\t\t"color_white"%f\n"color_rgblue""color_gray" Spawn Y\t\t"color_white"%f\n"color_rgblue""color_gray" Spawn Z\t\t"color_white"%f\n"color_rgblue""color_gray" Spawn A\t\t"color_white"%f", InteriorInfo[INTERIOR_Editing_ID], InteriorInfo[INTERIOR_Editing_ID], InteriorInfo[INTERIOR_Editing_ID], InteriorInfo[INTERIOR_Editing_ID], InteriorInfo[INTERIOR_Editing_ID], InteriorInfo[INTERIOR_Editing_ID]);
ShowPlayerDialog(playerid, DIALOG_Interior_Edit, DIALOG_STYLE_LIST, STRING_Heading, STRING_Body, ""color_white"Izaberi", ""color_error"Nazad");
}
if( response ) {
InteriorInfo[INTERIOR_Editing_ID] = strval(inputtext);
SaveInterior(INTERIOR_Editing_ID);
format(string, sizeof(string), ""color_white"%s"color_gray" je promijenio "color_white"Spawn X"color_gray" za "color_white"%s", PlayerNameFromID(playerid), InteriorInfo[INTERIOR_Editing_ID]);
SendClientMessageToRCON(string);
format(STRING_Heading, sizeof(STRING_Heading), ""color_error"EDITOVANJE INTERIORA ["color_white"%i"color_error"]", INTERIOR_Editing_ID);
format(STRING_Body, sizeof(STRING_Body), ""color_rgblue""color_gray" Naziv\t\t"color_white"%s\n"color_rgblue""color_gray" Interior ID\t\t"color_white"%i\n"color_rgblue""color_gray" Spawn X\t\t"color_white"%f\n"color_rgblue""color_gray" Spawn Y\t\t"color_white"%f\n"color_rgblue""color_gray" Spawn Z\t\t"color_white"%f\n"color_rgblue""color_gray" Spawn A\t\t"color_white"%f", InteriorInfo[INTERIOR_Editing_ID], InteriorInfo[INTERIOR_Editing_ID], InteriorInfo[INTERIOR_Editing_ID], InteriorInfo[INTERIOR_Editing_ID], InteriorInfo[INTERIOR_Editing_ID], InteriorInfo[INTERIOR_Editing_ID]);
ShowPlayerDialog(playerid, DIALOG_Interior_Edit, DIALOG_STYLE_LIST, STRING_Heading, STRING_Body, ""color_white"Izaberi", ""color_error"Nazad");
}
}Slika/video ingame problema(obavezno ako je ingame problem): //
