mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-31 18:28:52 +00:00
Correction of NUI Callback
Correction for NUI Callback using the resource with the name of repository
This commit is contained in:
@@ -24,7 +24,7 @@ $(".character-box").click(function () {
|
||||
});
|
||||
|
||||
$("#play-char").click(function () {
|
||||
$.post("http://esx_kashacters/CharacterChosen", JSON.stringify({
|
||||
$.post("http://esx_kashacter/CharacterChosen", JSON.stringify({
|
||||
charid: $('.active-char').attr("data-charid"),
|
||||
ischar: $('.active-char').attr("data-ischar"),
|
||||
}));
|
||||
@@ -32,7 +32,7 @@ $("#play-char").click(function () {
|
||||
});
|
||||
|
||||
$("#deletechar").click(function () {
|
||||
$.post("http://esx_kashacters/DeleteCharacter", JSON.stringify({
|
||||
$.post("http://esx_kashacter/DeleteCharacter", JSON.stringify({
|
||||
charid: $('.active-char').attr("data-charid"),
|
||||
}));
|
||||
Kashacter.CloseUI();
|
||||
@@ -69,4 +69,4 @@ $("#deletechar").click(function () {
|
||||
})
|
||||
}
|
||||
|
||||
})();
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user