function aQus()
que = {
"سبحان الله" ,
"الحمد لله",
"الله أكبر",
"لا اله الا الله",
"أستغفر الله",
"الحمد لله على كل حال",
"لا اله الا هو الحي القيوم",
"استغفر الله واتوب اليه",
}
ans = {
"سبحان الله" ,
"الحمد لله",
"الله أكبر",
"لا اله الا الله",
"أستغفر الله",
"الحمد لله على كل حال",
"لا اله الا هو الحي القيوم",
"استغفر الله واتوب اليه",
}
math = math.random(1,6)
money = math.random( 1000, 3000 )
playSoundFrontEnd( root, 45 )
outputChatBox("#2B60DE # Write #00ff00[ " .. que[math] .. "#00ff00 ] #2B60DE To Get Some Money #2B60DE [ #00ff00".. money .." $ #2B60DE] ! ",root,255,255,0,true)
stat = ans[math]
end
setTimer(aQus,60000,0)
function aAnswerd(msg,mtype)
if ( stat ) then
if ( msg == stat ) then
outputChatBox( "#ff0000 [ ".. getPlayerName(source) .."#ff0000 ] #2B60DE Won [ #00ff00 ".. money .." $ #2B60DE ] ! ",root,0,255,0,true)
givePlayerMoney( source, money )
playSoundFrontEnd( root, 30 )
stat = nil
end
end
end
addEventHandler ( 'onPlayerChat' , getRootElement() , aAnswerd )
اسف عالتأخير ,
النت علق