This commit is contained in:
Lukas Moungos
2019-09-12 22:32:37 +02:00
parent 0ab38267f8
commit a893fa6139
2 changed files with 2 additions and 2 deletions

View File

@@ -116,7 +116,7 @@
handelItemID.push(handelInv[i].ID); handelItemID.push(handelInv[i].ID);
handelItemAmount.push(handelInv[i].Amount); handelItemAmount.push(handelInv[i].Amount);
} }
mp.trigger("CEF:tradeItem", 0, JSON.stringify($('#fname').val()), JSON.stringify(handelItemID), JSON.stringify(handelItemAmount)) mp.trigger("CEF:tradeItem", 0, JSON.stringify(String($('#fname').value())), JSON.stringify(handelItemID), JSON.stringify(handelItemAmount))
} }
}); });
$("#tf_cancle4").unbind('click').click(function () { $("#tf_cancle4").unbind('click').click(function () {

View File

@@ -181,7 +181,7 @@ namespace ReallifeGamemode.Server.Managers
var user = client.GetUser(); var user = client.GetUser();
using (var context = new DatabaseContext()) using (var context = new DatabaseContext())
{ {
Console.WriteLine(origin); Console.WriteLine("HIER LENNART ->>>>, "+origin);
if (origin[0] == 1) if (origin[0] == 1)
{ {
foreach (Vehicle veh in NAPI.Pools.GetAllVehicles()) foreach (Vehicle veh in NAPI.Pools.GetAllVehicles())