Jump to content

^iiEcoo'x_)

Members
  • Posts

    2,935
  • Joined

  • Last visited

  • Days Won

    44

Everything posted by ^iiEcoo'x_)

  1. المود موجود اصلا في مود كرة سلة بال community
  2. هات الترايقر من كلاينت + createMarker ( x , y , z , 'type' , size , red , green , blue , alpha , visible )
  3. مشان الله , أترجاك عشان ما تقتبس ردي ؟ ترا قرفت من وجهك , لا تقتبس رد مرة ثانية ,
  4. مثال addEventHandler ( 'onClientGUIClick' , root , function ( ) if ( source == aButtonSpawn1 ) then setElementData ( localPlayer , 'aSpawn_' , '1' ) elseif ( source == aButtonSpawn2 ) then setElementData ( localPlayer , 'aSpawn_' , '2' ) end end ) addEventHandler ( 'onPlayerWasted' , root , function ( ) if ( getElementData ( source , 'aSpawn_' ) == '1' ) then spawnPlayer ( x , y , z ) elseif ( getElementData ( source , 'aSpawn_' ) == '2' ) then spawnPlayer ( x , y , z ) end end )
  5. https://wiki.multitheftauto.com/wiki/Element
  6. جريد ليست فيه زر guiSetProperty
  7. 'onMarkerHit' setElementData
  8. أكيد راح يطلع حسابات السيرف كلها , لازمك تسوي getElementData setAccountData getAccounts getAccountData
  9. طيب هات الكود ؟
  10. الغلط هان klam = { "كلب", "حيوان", } الصح klam = { "كلب", "حيوان" }
  11. عندك غلط بسطر 3
  12. -- Ex. addEventHandler ( 'onPlayerChat' , root , function ( aMsg_ ) if ( string.find ( aMsg_ , 'Money' ) ) then givePlayerMoney ( source , 1 ) end end )
  13. يزبط اذا كان خارج السيرفر بالفنكشنا الي اعطيته اياهن ؟
  14. addEventHandler ( 'onResourceStart' , resourceRoot , function ( ) executeSQLQuery ( ' CREATE TABLE IF NOT EXISTS aSavedSystem_ ( aAcc_ , aName_ ) ' ) end ) function aSavedNick_ ( ) if ( not isGusetAccount ( getPlayerAccount ( source ) ) ) then local aResult_ = executeSQLQuery ( ' SELECT * FROM aSavedSystem_ WHERE aAcc_ = ? ' , getAccountName ( getPlayerAccount ( source ) ) ) if ( aResult_ ) then if ( type ( aResult_ ) == 'table' ) then if ( #aResult_ == 0 ) then executeSQLQuery ( ' INSERT INTO aSavedSystem_ ( aAcc_ , aName_ ) VALUES ( ? , ? ) ' , getAccountName ( getPlayerAccount ( source ) ) , getPlayerName ( source ) ) else executeSQLQuery ( ' UPDATE aSavedSystem_ SET aName_ = ? WHERE aAcc_ =?', getPlayerName ( source ) , getAccountName ( getPlayerAccount ( source ) ) ) end else error ( '* This is not a table ' ) end else error ( '* No results found ' ) end end end addEventHandler ( 'onPlayerLogin' , root , aSavedNick_ ) addEventHandler ( 'onPlayerQuit' , root , aSavedNick_ ) addEventHandler ( 'onPlayerChangeNick' , root , function ( _ , aNewNick_ ) local aResult_ = executeSQLQuery ( ' SELECT * FROM aSavedSystem_ WHERE aAcc_ = ? ' , getAccountName ( getPlayerAccount ( source ) ) ) if ( aResult_ ) then if ( type ( aResult_ ) == 'table' ) then if ( #aResult_ == 0 ) then executeSQLQuery ( ' INSERT INTO aSavedSystem_ ( aAcc_ , aName_ ) VALUES ( ? , ? ) ' , getAccountName ( getPlayerAccount ( source ) ) , aNewNick_ ) else executeSQLQuery ( ' UPDATE aSavedSystem_ SET aName_ = ? WHERE aAcc_ =?', aNewNick_ , getAccountName ( getPlayerAccount ( source ) ) ) end else error ( '* This is not a table ' ) end else error ( '* No results found ' ) end end )
  15. استعمل يوزفل فنكشن moveElement smoothMoveCamera
  16. كله غلط , الطلب الثاني 'onPlayerQuit' triggerClientEvent guiCheckBoxGetSelected triggerServerEvent executeSQLQuery 'onPlayerJoin' executeSQLQuery triggerClientEvent guiCheckBoxSetSelected والطلب الثالث غلط لانه قايل له حط else واذا حاط else اي زر باللوحة يضغطه يحول عربي
  17. توضحها وهي غلط -__- طيب والطلب الثالث ؟
  18. طيب خلص , انت صح وانا غلط
  19. الظروف تجبر اذا تركتها بتركها
×
×
  • Create New...