Jump to content

إصلاح كود


Recommended Posts

Posted (edited)

هاذا الكود مبتلشن فيه

            function( player,mark ) 
                outputChatBox ( "You have rob from the bank $" ..money, player,0,255,0,false ) 
                resetRobber( ) 
                money = math.random ( 8050, 1020 ) 
                givePlayerMoney ( player, money ) 
                triggerClientEvent( 'onSoundRobberyStop',root ) 
                triggerEvent( 'onEndRobber',player,mark ) 
            end, 
        600,1,source,bankMarker ) 
    end 
) 

debugscript مع ان من عندي مافيه مشكلة بس لمن اسوي ريستارت يقولي ال

في خطأ في سطر 99 الى اخر الكود

طبعا هاذا ماهو كل السيرفر انا جبت للي قالي خطأ في مكان الكود

حاولت اصلحه ولا قدرت مع الكود مافيه شي من وجهة نظري

Edited by Guest
Posted

.. ;) أتوقع مو كودك لأن فيه تريقر وفنكشنات إنت منت حاطها

" Keep Thinking Different . " - Steve Jops

--------------------

Don't send me PMs asking for help, I Won't reply !

Posted
.. ;) أتوقع مو كودك لأن فيه تريقر وفنكشنات إنت منت حاطها

لا ياحبيبي الكود هاذا انا تاعب فيه وبعدين هاذا نص السيرفر

Posted

هو قالي فيه خطأ في الكود من سطر كذا الى اخر الكود وطرحته لكم طبعا قعدت عليه يمكن ساعتين ماعرفت اصلحه فطلبت منكم المساعدة

Posted
            function ( player,mark ) 
                money = math.random ( 8050, 1020 )           
                outputChatBox ( "You have rob from the bank $" ..money, player,0,255,0,false ) 
                resetRobber( ) 
                givePlayerMoney ( player, money ) 
                triggerClientEvent( 'onSoundRobberyStop',root ) 
                triggerEvent( 'onEndRobber',player,mark ) 
            end, 
        600,1,source,bankMarker ) 
    end 
) 

اذا ماضبط اطرح الكود كامل -_-"

Posted
            function ( player,mark ) 
                money = math.random ( 8050, 1020 )           
                outputChatBox ( "You have rob from the bank $" ..money, player,0,255,0,false ) 
                resetRobber( ) 
                givePlayerMoney ( player, money ) 
                triggerClientEvent( 'onSoundRobberyStop',root ) 
                triggerEvent( 'onEndRobber',player,mark ) 
            end, 
        600,1,source,bankMarker ) 
    end 
) 

اذا ماضبط اطرح الكود كامل -_-"

function ( player,mark ) 
                money = math.random ( 1020, 8050 )           
                outputChatBox ( "You have rob from the bank $" ..money, player,0,255,0,false ) 
                resetRobber( ) 
                givePlayerMoney ( player, money ) 
                triggerClientEvent( 'onSoundRobberyStop',root ) 
                triggerEvent( 'onEndRobber',player,mark ) 
            end, 
        600,1,source,bankMarker ) 
    end 
) 

Retired.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...