Jump to content

+Source|>

Members
  • Posts

    1,389
  • Joined

  • Last visited

  • Days Won

    14

Everything posted by +Source|>

  1. انا مسوي ليبل ومسوي لو كتبت كلام في الإيديت بوكس يجي في الليبل ومسوي الكلام ينحفظ بالسكل بس المشكله انو الكلام يظهر للكل ابيه يضهر للشخص اللي كتب الكلام بس --server addEvent("addM", true) addEventHandler("addM", root, function( Medit ) local MSG = Medit executeSQLQuery( "INSERT INTO MSGSYS ( MSG ) VALUES( ? )", MSG ) triggerEvent ( 'Refresh' , source ) end ) addEvent ( 'Refresh' , true ) addEventHandler ( 'Refresh' , root , function () local aSQL2c = executeSQLQuery ( 'SELECT * FROM MSGSYS' ) if ( #aSQL2c ~= 0 ) then triggerClientEvent ( source, 'AddMsg' , source , aSQL2c ) end end ) --client addEvent ( 'AddMsg' , true ) addEventHandler ( 'AddMsg' , root , function( Table ) for i, v in ipairs( Table ) do guiSetText( LblMN, v.MSG ) end end )
  2. كذا addEvent("giveDailySalary", true) addEventHandler("giveDailySalary", root, function( ) if isTimer( dTime ) then outputChatBox( "#ff0000 Please Try Again After 24 Hours", source, 0, 0, 0, true ) return end outputChatBox( "#00ffff Salary Was Successfully Taken ✔", source, 0, 0, 0, true ) givePlayerMoney( source, 9000 ) local dSTime = setTimer( function() end, 86400000, 1 ) local DetailsT = getTimerDetails( dSTime ) local dTime = DetailsT local dSTime = setTimer( function() end, 86400000, 1 ) local DetailsT = getTimerDetails( dSTime ) local dTime = DetailsT local pSerial = getPlayerSerial( source ) local check = executeSQLQuery ( 'SELECT * FROM WaitDay WHERE pSerial=?', pSerial ) if ( #check > 0 ) then return end executeSQLQuery( "INSERT INTO WaitDay ( dTime, pSerial ) VALUES( ? , ? )", dTime, pSerial ) end )
  3. لا اعتقد اني فهمت شف كذا
  4. انا مسوي قاعدة البيانات فوق executeSQLQuery( "CREATE TABLE IF NOT EXISTS WaitDay ( dTime )" ) + getTimerDetails وين موقعه بالظبط؟
  5. حط الأكواد كامله
  6. مدري وش التخبيص ذا صراحه بس خذ جرب elseif ( source == btn.soon ) then playSound("open.wav") guiSetEnabled (btn.soon ,false) setTimer(guiSetEnabled, 150000, 1 ,btn.soon ,true) if velocity == false then local Velocity = true outputChatBox("تم فتح خاصية السرعة ") else local Velocity = false outputChatBox("تم فتح خاصية السرعة ") end end end ) binkey("w", "down", function() if Velocity == true then local vx, vy, vz = getElementVelocity( localplayer, vx+1, vy+1, vz ) end end
  7. addEvent("giveDailySalary", true) addEventHandler("giveDailySalary", root, function( ) if isTimer( dTime ) then outputChatBox( "#ff0000 Please Try Again After 24 Hours", source, 0, 0, 0, true ) return end outputChatBox( "#00ffff Salary Was Successfully Taken ✔", source, 0, 0, 0, true ) givePlayerMoney( source, 9000 ) local dTime = setTimer( function() end, 86400000, 1 ) -- تايمر 24 ساعه executeSQLQuery( "INSERT INTO WaitDay ( dTime ) VALUES( ? )", dTime ) end ) كذاا
  8. ابي اعرف كيف اسوي تايمر بحيث انه لو سويت ريستارت للمود أو طلعت ودخلت ما ينعاد التايمر من جديد
  9. ابي شرح لهذا وش يسوي وكيف استخدمه ومتى toJSON
  10. خلاص مشكور عدلت كلمة onResourceStart لـ onPlayerLogin اشتغل
  11. https://f.top4top.net/p_901ge0u01.png
  12. +Source|>

    Help

    ابي اسوي ان لما المود يشتغل يجي باالابل اسم حساب الشخص محاولتي --server addEventHandler("onResourceStart", root, function( ) local Account = getAccountName( getPlayerAccount( source ) ) triggerClientEvent( source, "setLblAcc", source, Account ) end ) --client addEvent("setLblAcc", true) addEventHandler("setLblAcc", root, function( Account ) guiSetText( acLbl2, Account ) end )
  13. حبيبي هو الأول كان يبي يحط بس الحين عدل على الموضوع ويبي يشيل
  14. اي شي صبح او ليل المهم ااجمده
  15. انا ابي اسوي لون للسماء بس ما ابيه يروح ابيه دايما نفس اللون + لون للشمس
  16. ابي اعرف وش الكود اللي يسوي تجميد للوقت وككيف الغي تجميد الوقت في مود التتكتيك
  17. guiGridListAddRow guiGridListSetItemText guiGridListRemoveRow غير محفوظه
  18. addCommandHandler("نقل", function ( player ) veh = getPedOccupiedVehicle( player ) setElementPosition( veh, 1907.35876, -2242.07642, 12.95656 ) end )
×
×
  • Create New...