tourra Posted October 7, 2012 Share Posted October 7, 2012 شباب عندي ذا الكود ابي افهم function getMySerial( ) local theSerial = getPlayerSerial() outputChatBox("Your serial is: "..tostring(theSerial)) end end addCommandHandler( "serial", getMySerial ) يعني الربط بكلمة serial لما اكتب في الكونسل serial تجيني سيريالي ؟؟؟؟ Link to comment
3NAD Posted October 7, 2012 Share Posted October 7, 2012 addCommandHandler( "serial", getMySerial ) هو مثل الإيفنت لكنه بـ طريقة أخرى يعني تكتب كلمة و تبدأ الوظيفة وبالنسبة لـ سؤالكـ فـ المفروض تجرب قبل لآ تسأل ايه يجيكـ السريال واعتقد الكود خاطئ . . جرب ذآ function getMySerial( thePlayer ) local theSerial = getPlayerSerial(thePlayer) outputChatBox("Your serial is: "..theSerial) end addCommandHandler( "serial", getMySerial ) Link to comment
TAPL Posted October 7, 2012 Share Posted October 7, 2012 موجوده من أصل بأم تي أي serial كلمة يعني ما يحتاج تسوي سكربت https://wiki.multitheftauto.com/wiki/Client_Commands#serial Link to comment
tourra Posted October 7, 2012 Author Share Posted October 7, 2012 اوك ابي اجرب بس اخوي تابل لكن شكرا 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