hey leute hab mal ne frage bzw ein problem, wie bekomme ich es hin das es geht?
ich versuche über AddCustomShipment die kosten des enities per GetGlobalInt zu bekommen, aber ich scheitere daran, es geht einfach nicht...
So ist es im moment bei mir:
Lua Code:
local Price_PistolSingle = GetGlobalInt("cost_pistol") local Price_PistolShipment = GetGlobalInt("cost_pistolshipment") AddCustomShipment("Name", "mein/model/hier.mdl", "EnitieName", Price_PistolShipment, 10, true, Price_PistolSingle, false,{TEAM_GUN, TEAM_POLICEGUN})
und wen ich jetzt zb in der console rp_cost_pistol eingebe sagt er mir 400 an aber ingame zeigt er mir 0$ an... dass gleiche auch wen ich es kaufe, er zieht mir 0$ ab
habs auch schon so versucht, geht auch nicht ...
Lua Code:
AddCustomShipment("Name", "mein/model/hier.mdl", "EnitieName", GetGlobalInt("cost_pistolshipment"), 10, true, GetGlobalInt("cost_pistol"), false,{TEAM_GUN, TEAM_POLICEGUN})
hoffe mir kann wer helfen, Momo