. - DmaR x 54 Posted May 29, 2019 Share Posted May 29, 2019 سلام عليكم ورحمة الله وبركاته , عندي مشكله بشوب الاسلاحه كل مااشتري يجيني بلديبق سطر 531 ملف سيرفر --ServerSide function(Cost, CompatAmmo, SawnOffAmmo, RiflesAmmo, ShoutgunAmmo, M4Ammo, SniperAmmo, AkAmmo, PistolAmmo, SilencedAmmo, DeagleAmmo, TecAmmo, UziAmmo, Mp5Ammo, GrenadaAmmo, TeargasAmmo, ParachuteAmmo, GrenadaAmmo, TeargasAmmo, ParachuteAmmo, LauncherAmmo, armsPlayer ) local ALLAmmo = tonumber(CompatAmmo[1] + SawnOffAmmo[1] + RiflesAmmo[1] + ShoutgunAmmo[1] + M4Ammo[1] + SniperAmmo[1] + AkAmmo[1] + PistolAmmo[1] + SilencedAmmo[1] + DeagleAmmo[1] + TecAmmo[1] + UziAmmo[1] + Mp5Ammo[1]) local AmmoG = tonumber(GrenadaAmmo[1] + TeargasAmmo[1] + LauncherAmmo[1]) if getElementData(source,"Money") >= tonumber(Cost) then انا محاطيته كامل , ملف كلينت , if source == BuyButton1 or source == BuyButton2 then refresh() local CompatAmmo = {tonumber(guiGetText(CompatEdit)) or 0, 27} local SawnOffAmmo = {tonumber(guiGetText(SawnOffEdit)) or 0, 26} local RiflesAmmo = {tonumber(guiGetText(RiflesEdit)) or 0, 33} local ShoutgunAmmo = {tonumber(guiGetText(ShoutgunEdit)) or 0, 25} local M4Ammo = {tonumber(guiGetText(M4Edit)) or 0, 31} local SniperAmmo = {tonumber(guiGetText(SniperEdit)) or 0, 34} local AkAmmo = {tonumber(guiGetText(AkEdit)) or 0, 30} local PistolAmmo = {tonumber(guiGetText(PistolEdit)) or 0, 22} local SilencedAmmo = {tonumber(guiGetText(SilencedEdit)) or 0, 23} local DeagleAmmo = {tonumber(guiGetText(DeagleEdit)) or 0, 24} local TecAmmo = {tonumber(guiGetText(TecEdit)) or 0, 32} local UziAmmo = {tonumber(guiGetText(UziEdit)) or 0, 28} local Mp5Ammo = {tonumber(guiGetText(Mp5Edit)) or 0, 29} local GrenadaAmmo = {tonumber(guiGetText(GrenadaEdit)) or 0, 16} local TeargasAmmo = {tonumber(guiGetText(TeargasEdit)) or 0, 17} local ParachuteAmmo = {tonumber(guiGetText(ParachuteEdit)) or 0, 46} local LauncherAmmo = {tonumber(guiGetText(LauncherEdit)) or 0, "Launcher"} local Cost = tonumber(string.sub(guiGetText(Total1), 1)) if Cost > 0 then if armsPlayer then if getElementData(armsPlayer, "GunsDealer") and getElementData(armsPlayer, "GunsDealer") >= Cost then triggerServerEvent("BuyWeapon", localPlayer, Cost, CompatAmmo, SawnOffAmmo, RiflesAmmo, ShoutgunAmmo, M4Ammo, SniperAmmo, AkAmmo, PistolAmmo, SilencedAmmo, DeagleAmmo, TecAmmo, UziAmmo, Mp5Ammo, GrenadaAmmo, TeargasAmmo, ParachuteAmmo, GrenadaAmmo, TeargasAmmo, ParachuteAmmo, LauncherAmmo, armsPlayer) else outputChatBox("This dealer doesn't have enough guns!", "البائع لا يملك عدد كافي من الرصاصات") end else triggerServerEvent("BuyWeapon", localPlayer, Cost, CompatAmmo, SawnOffAmmo, RiflesAmmo, ShoutgunAmmo, M4Ammo, SniperAmmo, AkAmmo, PistolAmmo, SilencedAmmo, DeagleAmmo, TecAmmo, UziAmmo, Mp5Ammo, GrenadaAmmo, TeargasAmmo, ParachuteAmmo, GrenadaAmmo, TeargasAmmo, ParachuteAmmo, LauncherAmmo) end في رد لوسمحتو Link to post
KillerX 382 Posted May 29, 2019 Share Posted May 29, 2019 ياريت تعرض وش يقولك بالديبوق + سطر الخطأ Link to post
+Source|> 218 Posted May 29, 2019 Share Posted May 29, 2019 1 hour ago, DmAr511 said: انا محاطيته كامل وكيف نشوف سطر الخطأ ؟ Link to post
MrKAREEM 168 Posted May 29, 2019 Share Posted May 29, 2019 8 hours ago, +Source|> said: وكيف نشوف سطر الخطأ ؟ خايف لنسرقه Link to post
VenomNX 173 Posted May 30, 2019 Share Posted May 30, 2019 أصلاً في ملف السيرفر انت مو حاط اسم للدالة اذا كانت الدالة داخل حدث ورينا أصل الكود Link to post
+Source|> 218 Posted May 30, 2019 Share Posted May 30, 2019 12 hours ago, MrKAREEM said: خايف لنسرقه Link to post
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now