mr.ekoo Posted June 12, 2013 Share Posted June 12, 2013 السلام عليكم انا سويت اكواد من الويكي الكود لما تكتب الامر fix يتاكد من فلوسك اكثر من 1000 ويصلح سيارتك وياخذ لو ماعندك يقولك ماعندك ولو انت بسيارة يصلح ولو بدون سيارة يقولك انت مو بسيارة المهم هذا الكود جبت الاكواد من الويكي وسويتها بس مو شغال مخليه سيرفر function fixCar ( thePlayer ) local Vehicle = getPedOccupiedVehicle(thePlayer) if Vehicle then if (money > 1000) then fixVehicle ( Vehicle ) takePlayerMoney ( thePlayer, 1000 ) else outputChatBox("انت لاتملك المال الكافي.",thePlayer) end else outputChatBox("You must be a Vehicle.",thePlayer) end end addCommandHandler("fix",fixCar) Link to comment
jafar Posted June 12, 2013 Share Posted June 12, 2013 function fixCar ( thePlayer ) local Vehicle = getPedOccupiedVehicle(thePlayer) if Vehicle then if (getPlayerMoney (thePlayer) >= 1000) then fixVehicle ( Vehicle ) takePlayerMoney ( thePlayer, 1000 ) else outputChatBox("انت لاتملك المال الكافي.",thePlayer) end else outputChatBox("You must be a Vehicle.",thePlayer) end end addCommandHandler("fix",fixCar) Link to comment
jafar Posted June 12, 2013 Share Posted June 12, 2013 (edited) متأكد معك مبلغ 1000 ؟ Edited June 12, 2013 by Guest Link to comment
mr.ekoo Posted June 12, 2013 Author Share Posted June 12, 2013 اسف اخوي شغال 100% بس نسيت اعطي حالي فلوس 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