Jump to content

#Al-Ha[J]aRii

Members
  • Posts

    482
  • Joined

  • Last visited

Everything posted by #Al-Ha[J]aRii

  1. أنت قصدك لو في القريد لست --------------- البداية الدائري شارع النخيل ----------------- تضغط على البداية يوديك الماتركس مال البداية و الدائري يوديك ......... مال الدائري ؟
  2. هو قال قيم يمكن قصده رقم ذذ
  3. اعتقد طلبك الاول guiGetText tonumber
  4. https://community.multitheftauto.com/index.php?p=resources&s=details&id=5520 Original : https://community.multitheftauto.com/index.php?p=resources&s=details&id=1201 Edit : Stolen : https://community.multitheftauto.com/index.php?p=resources&s=details&id=7484 Stolen :https://community.multitheftauto.com/index.php?p=resources&s=details&id=7475 DONE!
  5. ناقص قوس للوظيفة : outputChatBox و انا عرفت بدون برنامج لان من تتعلم ماتحتاجهم
  6. الله يعافيك .. !
  7. toggleControl isPedInVehicle getPedOccupiedVehicle destroyElement createColRectangle "onColShapeHit" "onColShapeLeave" بالتوفيق ..!
  8. وش الكود ذا مافهمته O_o قصدي مادري وين احطه >< هذه مو كود هذه انت تسويه
  9. try delet line 15 and is there any error with debugscript 3 ?
  10. are you want to do when you come near gate open and when you left gate close ? if that you want your code wil be like this : Server Side : addEventHandler ( "onResourceStart", resourceRoot, function ( ) gate1 = createObject ( 2938, 984.8, 1480.7, 14.6 ) Marker = createMarker ( 2938, 984.8, 1480.7, 14.6, "corona", Size, 0, 0, 255, 0 ) end ) function moveGate(player) local PlayerTeam = getPlayerTeam ( player ) local TeamN = getTeamFromName ( "TeamName" ) if isElementWithinMarker ( player, Marker ) then if PlayerTeam == TeamN then moveObject ( gate1, 2938, 984.8, 1480.7, 16.6 ) end end end addEventHandler("onMarkerHit",Marker, moveGate) function moveBack() moveObject ( gate1, 2938, 984.8, 1480.7, 14.6 ) end addEventHandler("onMarkerLeave",Marker,moveBack) about the replace in code : put size for marker line 4 for the size from player to gate wil open and GoodLuck .
  11. i think wil be error why ? because you wil saved data in player account and if player is guest ?? what wil be he didn't wil saved skin . ====================================================================== also i think you don't need when player wasted money and his position . and when player spawn will get data skin from wasted i think you need to use "onPlayerSpawn" so wil be like this : addEventHandler( "onPlayerWasted", getRootElement( ), function ( ) setTimer ( spawnPlayer, 3000, 1, source, 2034, -1414, 16.3 ) local playeraccount = getPlayerAccount ( source ) if ( playeraccount ) and not isGuestAccount ( playeraccount ) then local skin = getElementModel ( source ) setAccountData ( playeraccount, "skin", skin ) if (playeraccount) and isGuestAccount ( playeraccount ) then return outputChatBox("Sorry . but you are guest you missing save skin . !",source,255,0,0,true) end end ) addEventHandler("onPlayerSpawn",getRootElement( ), function() if ( playeraccount ) then local skin = getAccountData ( playeraccount, "skin" ) if ( skin ) then setElementModel ( source, skin ) else outputChatBox ( "NO SKIN SAVED!", source ) end end )
  12. the data wil be when player wasted ??
  13. I think he wil need : setCameraTarget
  14. addEventHandler( "onPlayerWasted", getRootElement( ), function ( player ) setTimer ( spawnPlayer, 3000, 1, player, 2034, -1414, 16 ) end )
  15. هادى حق اللي يربط بين الكلينت والسيرفر موجود onClientPlayerWasted يعني مايحتاج استخدم فقط dxDrawText addEventHandler "onClientRender" removeEventHandler setTimer
  16. يبغي صورة ذذ انتم فهمتوه غلط هو ما عرف يشرح يقول ابي صورة فيها كم خذا فلوس عشان كذا المفروض تيكس اها اجل يستخدم الوظايف الي وضعتهم انت ويه الايفنت onClientRender
  17. يبغي صورة ذذ Edit : صح نسيت انها صورة تقدر تنحذف باستخدام destroyElement
  18. بامكانه يحول الكود للكيلنت "OnClientPlayerDamage" و يستخدم guiCreateStaticImage -- انشاء صورة setTimer -- انشاء مؤقت destroyElement -- حذف الصورة X guiCreateStaticImage setTimer isTimer killTimer
  19. طيب ابيه تجيله الفلوس مثلا قتل واحد جاله 150 ت\لع له صوره 150 guiCreateStaticImage or dxDrawImage
×
×
  • Create New...