Begin rebranding (refactor+rewrite)

- Kashacters events renamed
- Update MySQL.Async queries to modern standards and remove string concatenation
- Rewrote `GetPlayerCharacters` to only use relevant information
This commit is contained in:
Linden
2021-05-17 01:21:11 +10:00
parent 99f51e1df8
commit 5d3f2884dc
5 changed files with 62 additions and 78 deletions
+2 -2
View File
@@ -40,7 +40,7 @@ $(".character-box").click(function () {
$("#play-char").click(function () {
$.post("http://esx_kashacters/CharacterChosen", JSON.stringify({
$.post("http://esx_multicharacter/CharacterChosen", JSON.stringify({
charid: Number($('.active-char').attr("data-charid")),
ischar: ($('.active-char').attr("data-ischar") == "true"),
}));
@@ -48,7 +48,7 @@ $("#play-char").click(function () {
});
$("#deletechar").click(function () {
$.post("http://esx_kashacters/DeleteCharacter", JSON.stringify({
$.post("http://esx_multicharacter/DeleteCharacter", JSON.stringify({
charid: Number($('.active-char').attr("data-charid")),
}));
Kashacter.CloseUI();