Mr.Mostafa Posted June 22, 2018 Share Posted June 22, 2018 سلام عليكم حملت سيارة 28 ميجا ! كيف اخلي تحميلها مخفي - عشان ما يعلي تحميل السرفر Link to comment
+Source|> Posted June 22, 2018 Share Posted June 22, 2018 1 hour ago, Mr.Mostafa said: سلام عليكم حملت سيارة 28 ميجا ! كيف اخلي تحميلها مخفي - عشان ما يعلي تحميل السرفر حط هذا في الميتا بدال القديمه <file src="MS.txd" download="false" /> <file src="MS.dff" download="false" /> وسوي ملف كلنت وحط فيه هالأكواد local downloadList = { { "MS.txd", MS }, { "MS.dff", MS }, } addEventHandler ( "onClientResourceStart", resourceRoot, function ( ) for _,v in ipairs ( downloadList ) do downloadFile ( tostring ( v [ 1 ] ) ) end end ) addEventHandler ( "onClientFileDownloadComplete", root, function ( fileName, success ) if ( source == resourceRoot ) then for _,v in ipairs ( downloadList ) do if ( success ) then if ( fileName == tostring ( v [ 1 ] ) ) then if ( string.find ( fileName, ".txd" ) ) then txd = engineLoadTXD ( tostring ( v [ 1 ] ) ) engineImportTXD ( txd, tonumber ( v [ 2 ] ) ) else dff = engineLoadDFF ( tostring ( v [ 1 ] ), tonumber ( v [ 2 ] ) ) engineReplaceModel ( dff, tonumber ( v [ 2 ] ) ) end end end end end end ) ملحوظه MS = أيدي السياره 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