tourra Posted August 17, 2012 Share Posted August 17, 2012 السلام عليكم شباب كيف اخرج السيارات يعني اكواد السيارات و كيف اعمللها الاسعار و شكرا ارجو الرد Link to comment
3NAD Posted August 17, 2012 Share Posted August 17, 2012 createVehicle takePlayerMoney Link to comment
hassan.k.s.a Posted August 17, 2012 Share Posted August 17, 2012 addEvent('Vehicle',true) addEventHandler('Vehicle', root, function () if (getPlayerMoney(source) >= 2500) then takePlayerMoney (source,2500) local x, y, z = getElementPosition ( Player ) createVehicle ( 432, x, y, z + 10 ) outputChatBox("* #0099ccSuccessfully bought Vehicle #000000[ #ff0000-$2500 #000000]#00ff00 !",source,0,255,0,true) else outputChatBox("* you Don't have enough Money !",source,255,0,0,true) end end ) Link to comment
tourra Posted August 17, 2012 Author Share Posted August 17, 2012 ما فهمت كيف احط id حق السيارات وين ؟؟ Link to comment
./BlackBird# Posted August 17, 2012 Share Posted August 17, 2012 addEvent('Vehicle',true) addEventHandler('Vehicle', root, function () if (getPlayerMoney(source) >= سعر السيارة) then takePlayerMoney (source,سعر السيارة) local x, y, z = getElementPosition ( Player ) createVehicle ( هنا رقم السيارة, x, y, z + 10 ) outputChatBox("* #0099ccSuccessfully bought Vehicle #000000[ #ff0000-$2500 #000000]#00ff00 !",source,0,255,0,true) else outputChatBox("* you Don't have enough Money !",source,255,0,0,true) end end ) Link to comment
hassan.k.s.a Posted August 17, 2012 Share Posted August 17, 2012 addEvent('Vehicle',true) addEventHandler('Vehicle', root, function () if (getPlayerMoney(source) >= 2500) then--2500 السعر حق السياره takePlayerMoney (source,2500)--2500 السعر local x, y, z = getElementPosition ( Player )--ألأحداثيات createVehicle ( 432, x, y, z + 10 )-- غير 432 وحط ألأي دي تبع السياره --x, y, z ألأحداثيات outputChatBox("* #0099ccSuccessfully bought Vehicle #000000[ #ff0000-$2500 #000000]#00ff00 !",source,0,255,0,true)--اذا شراها else--آخر outputChatBox("* you Don't have enough Money !",source,255,0,0,true)--لما مايكون عنده فلوس end--نهاية الوضيفه end--if نهاية )--اغلاق القوس 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