seifcover Posted April 2, 2018 Share Posted April 2, 2018 (edited) شباب بدي اسوي مود للحياة الواقعية هو عندما تشرب زجاجة خمر او كحول يغير حركة المشي تبعك الي واحد سكران وعندما تركب السيارة الشاشة تتهز انا سويت الكود لكن بدي اتحقق منه وبدي اعرف كيف اجعل تتغير حركة المشي عندما يشرب الزجاجة من ايدي الايتم انا سويت لكن اعتقد خطأ هذا الكود Client addEventHandler("onPlayerPickupUse",root function (58,62,63) --ايدي الايتم تبع زجاجة الخمر if(isPickupSpawned(58,62,63))then setPedWalkingStyle(localPlayer,walk_drunk) --اسم المشي تبع السكران walk_drunk end ) addEventHandler("onClientVehicleEnter", getRootElement(), -- لما يركب السيارة function(thePlayer, seat) function spawnScreen ( source ) setCameraMode ( source, "fixed" ) setTimer ( setCameraPosition, 3000, 1, source, 160.15, -1951.68, 50 ) setTimer ( setCameraLookAt, 3000, 1, source, 165, -1951.68, 50 ) end end ) اتمني الافادة ( ملحوظة اول تجربة ليا للبرمجة ) Edited April 2, 2018 by seifcover Link to comment
seifcover Posted April 2, 2018 Author Share Posted April 2, 2018 يا شباب ليش ماحد بيعبر بوستاتي ؟ Link to comment
Abdul KariM Posted April 2, 2018 Share Posted April 2, 2018 if getPedAnimation triggerServerEvent Link to comment
II..II Posted May 12, 2018 Share Posted May 12, 2018 بألتوفيق اخي الكريم ولاكن اذا نجح معاك ارجو ان تكلمني و شكرا <3 Link to comment
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