Jump to content

AhmadQTR

Members
  • Posts

    451
  • Joined

  • Last visited

Everything posted by AhmadQTR

  1. AhmadQTR

    Help wanted

    :~ Event is handled 2 times. Any errors at debugscript 3?
  2. --لم يتم التجربه function fireSpeed () if getPlayerFromName == "#[iMr][E'rrOr]_N" then getWeaponProperty ( 31, "pro", "firing_speed" ) end end addCommandHandler ( "upgradeweapon", fireSpeed )
  3. function fireSpeed () if getPlayerFromName == "#[iMr][E'rrOr]_N" then getWeaponProperty ( 31, "pro", "firing_speed" ) end end --Event or Command
  4. function fireSpeed () if getPlayerSerial == "SERIAL" then --code end end --Event or Command
  5. local speed = getWeaponProperty(31, "pro", "move_speed") الكود من الويكي
  6. You can't change it. CLICK HERE FOR MORE INFO
  7. yea i know that -__- but like i said when i use his script other people see when i enabled godmode so i do /godmode and other 40 players see that i activated godmode but it doesnt show like HuX has enabled GodMode! it shows like GodMode is Enabled! i dont want that players see on chat when i use /godmode command Try changing player to source.
  8. AhmadQTR

    Help wanted

    Show us the client-side script.
  9. https://forum.multitheftauto.com/viewtopic.php?f=108&t=30494
  10. يمكن كذا function click(m,s,p) if(getPlayerTeam(p)==getTeamFromName('Police'))then if(m=='right')then if(getElementType(source)=='vehicle')then destroyElement(source) return end if(getElementType(source)=='player')then setElementHealth(source,0) return end end end end function cursor(player, key) if isCursorShowing(player) then showCursor(false) else showCursor(true) end end bindKey(source,"a","down",cursor)
  11. حطه سيرفر مب كلنت اذا كلنت غير addEventHandler ( "onMarkerHit", root, TIME ) الى addEventHandler ( "onClientMarkerHit", root, TIME )
  12. تيم او اسسل ايي شي local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then هذا acl
  13. local root = getRootElement () function HEALTH () local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then setElementHealth (source, 100) end end addCommandHandler ( "giveallhealth", root, HEALTH )
  14. local x, y, z = 1700.55, -1500.46, 10 function taoPed() local x,y,z = getElementPosition ( thePlayer ) x = x + math.random ( 5, 10 ) y = y + math.random ( 5, 10 ) z = z + math.random ( 5, 10 ) local pedVn = createPed (29,x,y,z) if ( pedVn == true ) then giveWeapon ( pedVn, 38, 1000 ) end end addEventHandler ( "onResourceStart", getRootElement(), taoPed ) function pedTarget() if ( taoPed ) then setPedTarget ( pedVn, thePlayer ) setPedControlState ( pedVn, forwards, true ) setPedControlState ( pedVn, fire, true ) end if ( getElementPosition ( thePlayer ) == getElementPosition ( pedVn ) ) then setPedControlState ( pedVn, forwards, false ) end end addEventHandler ( "onResourceStart", getRootElement(), pedTarget )
  15. function TIME () createMarker ( x, y, z, "cylinder", 1.5, 255, 255, 0, 170 ) setTime (21, 00) setWeather (16) end addEventHandler ( "onMarkerHit", root, TIME )
  16. هو يقول في سطر 13 حط الكود كامل
  17. show = false bindKey("a","down", function() if(show==false)then showCursor(source,true) else showCursor(source,false) end end)
×
×
  • Create New...