z24d Posted November 3, 2015 Share Posted November 3, 2015 السلام عليكم xMonsterNames = { "awdawad", "awdaasdwd", "awdaasdwd" } setTimer(guiSetText,3000,0,G,xMonsterNames[ math.random ( #xMonsterNames ) ]) بغيت يخلي كل ثلاث ثواني كلام عشوائي لكن ماضبط اذكر انه فيه table.random بس ماني متأكد منه الي معه Link to comment
TAPL Posted November 3, 2015 Share Posted November 3, 2015 xMonsterNames = { "awdawad", "awdaasdwd", "awdaasdwd" } setTimer(function() guiSetText(G, xMonsterNames[math.random(#xMonsterNames)]) end, 3000, 0) Link to comment
z24d Posted November 3, 2015 Author Share Posted November 3, 2015 xMonsterNames = { "awdawad", "awdaasdwd", "awdaasdwd" } setTimer(function() guiSetText(G, xMonsterNames[math.random(#xMonsterNames)]) end, 3000, 0) تستاهل اني اخلي مشاركة 500 عليك : ) ,, تعرف وش math.randomseed ? ووش فآيدتها Link to comment
TAPL Posted November 3, 2015 Share Posted November 3, 2015 https://forum.multitheftauto.com/viewtopic.php?f=164&t=65980&start=330#p841741 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