Skip to content

Commit

Permalink
version 1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
i-Saibot committed Oct 9, 2024
1 parent 54ea0d0 commit 1546abf
Show file tree
Hide file tree
Showing 9 changed files with 23 additions and 33 deletions.
2 changes: 1 addition & 1 deletion gamemodes/new.pwn
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

////////////////////////////////////////////////////////////////////////////////

const Float:CURRENT_PAEDITOR_VERSION = 1.39;
const Float:CURRENT_PAEDITOR_VERSION = 1.49;

static http_address_available_version[] = "https://pastebin.com/raw/xebukdmH";

Expand Down
3 changes: 3 additions & 0 deletions resources/colors.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@
},
{
"hex": "7bc233"
},
{
"hex": "4788cc"
}
]
}
3 changes: 3 additions & 0 deletions resources/objects.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@
},
{
"modelid": 352
},
{
"modelid": 3056
}
]
}
6 changes: 1 addition & 5 deletions scriptfiles/project/import/.list.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
{
"list": [
{
"name": "asd"
}
]
"list": []
}
23 changes: 0 additions & 23 deletions scriptfiles/project/import/asd.json

This file was deleted.

10 changes: 10 additions & 0 deletions source/attach_menu/colors.inc
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,11 @@ public OnVirtualKeyReleased(playerid, key_vk)
language_MessageError(playerid, "MSG_START_SELECT_OBJ_PRESS_OBJ");
return 0;
}
if (attachmain_IsUseMultiObject(playerid))
{
language_MessageError(playerid, "MSG_NO_AVAILABLE_MULTIPLE_OBJ");
return 0;
}
gAttachColorsSelectColorId[playerid] = 0;
gAttachColorsPage[playerid] = 0;
gAttachObjectOpenRmouse[playerid] = true;
Expand All @@ -112,6 +117,11 @@ public OnVirtualKeyReleased(playerid, key_vk)
language_MessageError(playerid, "MSG_START_SELECT_OBJ_PRESS_OBJ");
return 0;
}
if (attachmain_IsUseMultiObject(playerid))
{
language_MessageError(playerid, "MSG_NO_AVAILABLE_MULTIPLE_OBJ");
return 0;
}
gAttachColorsSelectColorId[playerid] = 1;
gAttachColorsPage[playerid] = 0;
gAttachObjectOpenRmouse[playerid] = true;
Expand Down
6 changes: 3 additions & 3 deletions source/gui/attach_menu.inc
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ public OnGameModeInit()
TextDrawSetProportional(gui_AttachMenu[49], 1);
TextDrawSetShadow(gui_AttachMenu[49], 0);

gui_AttachMenu[50] = TextDrawCreate(370.2025, 418.0335, "<__>");
gui_AttachMenu[50] = TextDrawCreate(369.0, 418.0335, "<_>");
TextDrawLetterSize(gui_AttachMenu[50], 0.2806, 1.7632);
TextDrawAlignment(gui_AttachMenu[50], 1);
TextDrawColor(gui_AttachMenu[50], 950371583);
Expand Down Expand Up @@ -665,7 +665,7 @@ public OnGameModeInit()
TextDrawSetProportional(gui_AttachMenu[65], 1);
TextDrawSetShadow(gui_AttachMenu[65], 0);

gui_AttachMenu[66] = TextDrawCreate(604.3046, 437.2296, "Next_skin");
gui_AttachMenu[66] = TextDrawCreate(603.0, 437.2296, "Next_skin");
TextDrawLetterSize(gui_AttachMenu[66], 0.1668, 0.8201);
TextDrawTextSize(gui_AttachMenu[66], 32.0000, 0.0000);
TextDrawAlignment(gui_AttachMenu[66], 1);
Expand Down Expand Up @@ -694,7 +694,7 @@ public OnGameModeInit()
TextDrawSetProportional(gui_AttachMenu[68], 0);
TextDrawSetShadow(gui_AttachMenu[68], 0);

gui_AttachMenu[69] = TextDrawCreate(450.0999, 420.8927, "<____>");
gui_AttachMenu[69] = TextDrawCreate(449.5, 420.8927, "<__>");
TextDrawLetterSize(gui_AttachMenu[69], 0.3123, 1.2764);
TextDrawAlignment(gui_AttachMenu[69], 1);
TextDrawColor(gui_AttachMenu[69], -1061109505);
Expand Down
2 changes: 1 addition & 1 deletion source/gui/attach_objects_list.inc
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public OnPlayerClickPlayerTextDraw(playerid, PlayerText:playertextid)
}
const
INDEX_TD_ID = 0,
INDEX_TYPE_ID = 0;
INDEX_TYPE_ID = 1;

static const index[][] =
{
Expand Down
1 change: 1 addition & 0 deletions source/project/main.inc
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ DialogResponse:dProjectMainMenu(playerid, response, listitem, inputtext[])
Dialog_Show(playerid, "dProjectMainMenu");
return 0;
}
attachmain_ClearMultiObjSlots(playerid);
gui_atatch_menu_HideMenu(playerid);
gui_camera_rot_HideInfo(playerid);
attachmain_ClearArray(playerid);
Expand Down

0 comments on commit 1546abf

Please sign in to comment.