!#NssoR_)

Other Languages Moderators
  • Content count

    1,173
  • Joined

  • Last visited

  • Days Won

    10

!#NssoR_) last won the day on February 10

!#NssoR_) had the most liked content!

Community Reputation

256 Superstar

About !#NssoR_)

  • Rank
    Arabic Section Moderator
  • Birthday 12/01/97

Details

  • Location
    Kuwait
  • Interests
    Exchange experience

Recent Profile Visitors

1,596 profile views
  1. يرجي التكمله في نفس موضوعك السابق يغلق
  2. يرجي عدم وضع ردود مزدوجة و رجاء قم بالتكمله في موضوعك السابق وتجنب تكرار المواضيع وإلا ستعرض نفسك للمخالفة يغلق.#
  3. يغلق بما ان تمت الإفادة..#
  4. Anytime.
  5. dim = 300 x,y,z = 1209.1999511719, -2037, 70.800003051758 object = createObject(980, x,y,z, 0, 0, 0) setElementDimension( object, dim ) Zone = createColCircle ( x,y, 7, 7 ) function open ( thePlayer , matchingDimension ) if getElementType ( thePlayer ) == "player" and not matchingDimension then moveObject ( object, 500, x,y,z+5 ) end end addEventHandler ( "onColShapeHit", Zone, open ) function close ( thePlayer , matchingDimension ) if getElementType ( thePlayer ) == "player" and not matchingDimension then moveObject ( object, 500, x,y,z ) end end addEventHandler ( "onColShapeLeave", Zone, close )
  6. You are welcome
  7. function AdminCarRemoval ( button, state, player ) if ( button == "left" and state == "down" ) then if ( isElement(source) ) and ( getElementType(source) == "vehicle" ) then if ( isGuestAccount(getPlayerAccount(player)) ) then return end if ( aclGetGroup ( "Admin" ) ) and ( isObjectInACLGroup ( "user." .. getAccountName(getPlayerAccount(player)), aclGetGroup ( "Admin" ) ) ) then destroyElement (source) outputChatBox('Successfully destroyed the vehicle.',player,255,255,0,true) end end end end addEventHandler( "onElementClicked", getRootElement( ), AdminCarRemoval ) Make sure the first letter of the group name must be capital. ( usually its capital letter )
  8. You should use setElementPosition function instead setElementInterior. Because if you already in interior number 2 the function won't work ( returns false ). So use setElementPosition.
  9. خطأ انك تقوم بوضع اكثر من المنت وبنفس اسم المتغير PosTable = { {720.30627, -456.85587, 16.92993}, {721.30627, -456.85587, 16.92993}, {719.30627, -456.85587, 16.92993} } function soundStart() for k , v in pairs ( PosTable ) do local sound = playSound3D("sound.mp3", v[1],v[2],v[3], true) setSoundMaxDistance(sound, 200) end end addEventHandler("onClientResourceStart", resourceRoot, soundStart) واذا لم يعمل معك فالخطاء منك , قم بالتاكد من ملف الميتا او الملف الصوتي
  10. player إلي thePlayer غير
  11. Sorry for the delay in reply. vehSpawnMark = createMarker (x,y,z, "cylinder", 5, 0, 255, 203, 100 ) VehiclesTable = {} function spawnvehicle (hitElement) if ( isElement(hitElement) and getElementType(hitElement) == 'player' ) then local theVeh = getPedOccupiedVehicle(hitElement) if ( theVeh ) then if ( VehiclesTable[hitElement] ) then destroyElement(theVeh) VehiclesTable[hitElement] = nil outputChatBox ("Your vehicle has been destroyed because you touched this marker", hitElement, 0, 255, 0) return -- If u wanna give you a new vehicle after destroyed, delete this line end end local x, y, z = getElementPosition (hitElement) local rotX, rotY, rotZ = getElementRotation (hitElement) VehiclesTable[hitElement] = createVehicle (411, x-10, y, z) setElementRotation (VehiclesTable[hitElement], rotX, rotY, 90) warpPedIntoVehicle (hitElement, VehiclesTable[hitElement]) outputChatBox ("You successfully spawned an Infernus!", hitElement, 0, 255, 0) end end addEventHandler("onMarkerHit", vehSpawnMark, spawnvehicle) addEventHandler('onPlayerQuit',root, function () if ( VehiclesTable[source] ) then -- If the player has a vehicle from this script. destroyElement(VehiclesTable[source]) -- Delete it. VehiclesTable[source] = nil -- Remove player value from the vehicles table. end end)
  12. كلام الاخ ايكو صحيح , الحدث هذا هو الذي يقوم بمنع القتل من السكين
  13. vehSpawnMark = createMarker (x,y,z, "cylinder", 5, 0, 255, 203, 100 ) VehiclesTable = {} function spawnvehicle (thePlayer) if ( getElementType(thePlayer) == 'player' ) then local theVeh = getPedOccupiedVehicle(thePlayer) if ( theVeh ) then if ( VehiclesTable[thePlayer] ) then destroyElement(theVeh) VehiclesTable[thePlayer] = nil outputChatBox ("Your vehicle has been destroyed because you touched this marker", thePlayer, 0, 255, 0) return -- If u wanna give you a new vehicle after destroyed, delete this line end end local x, y, z = getElementPosition (thePlayer) local rotX, rotY, rotZ = getElementRotation (thePlayer) VehiclesTable[thePlayer] = createVehicle (411, x-10, y, z) setElementRotation (VehiclesTable[thePlayer], rotX, rotY, 90) warpPedIntoVehicle (thePlayer, VehiclesTable[thePlayer]) outputChatBox ("You successfully spawned an Infernus!", thePlayer, 0, 255, 0) end end addEventHandler("onMarkerHit", vehSpawnMark, spawnvehicle) addEventHandler('onPlayerQuit',root, function () if ( VehiclesTable[source] ) then -- If the player has a vehicle from this script. destroyElement(VehiclesTable[source]) -- Delete it. VehiclesTable[source] = nil -- Remove player value from the vehicles table. end end)
  14. بما ان تم حل المشكلة التي تم إنشاء الموضوع لأجلها , فيجب عليك إنشاء موضوع جديد يختص بمشكلتك الجديدة يغلق..#