Jump to content

New programmer

Members
  • Posts

    46
  • Joined

  • Last visited

Everything posted by New programmer

  1. I want create Deathmatch Spawn How Can i get Teams Skins From Map
  2. Hello How can bring characters tdma .
  3. Solid Snake 14 لماذا تأخذ كود المشرف الرجاء إغلاق الموضوع #~ يخوي ما اخذته اش انا رحت وسسرقته هو حاتطه بس انا حبيت افيدك #~ انك تسسخدم math.floor انا لم افهم الرجاء عدم الرد لقد استفدت
  4. شكرا مالك المووضوع قم بتجربت كودي الأن
  5. Solid Snake 14 لماذا تأخذ كود المشرف الرجاء إغلاق الموضوع
  6. thanks my friend admin please close the topic
  7. wrong ------------------------------- server function check(thePlayer, commandName,...) local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) if isObjectInACLGroup ( "user." .. accName, aclGetGroup ( "Admin" ) ) or isObjectInACLGroup ( "user." .. accName, aclGetGroup ( "Console" ) ) or isObjectInACLGroup ( "user." .. accName, aclGetGroup ( "Head Admin" ) ) or isObjectInACLGroup ( "user." .. accName, aclGetGroup ( "Manster" ) ) or isObjectInACLGroup ( "user." .. accName, aclGetGroup ( "Danger" ) ) then local veve = {...} local message = table.concat(veve, " ") local getAdmin = getPlayerName(thePlayer) triggerClientEvent("Manster", getRootElement(),message,getAdmin) end end addCommandHandler("Admin", check) client function rdx(message,name) removeEventHandler ( "onClientRender", getRootElement(), dx ) function dx() dxDrawText("Admin: "..name..":",4,215,42,15,tocolor(255,255,0,255),1.12,"default-bold","left","top",false,false,false) dxDrawText(tostring(message),197, 215, 925, 256,tocolor(255,255,255,255),1.12,"default-bold","left","top",false,false,false) end addEventHandler("onClientRender", getRootElement(), dx) end addEvent("Manster", true ) addEventHandler("Manster", getRootElement(), rdx) bindKey("o", "down", "chatbox","Admin")
  8. مرحبا كيف يمكنني إظهار ما تبقى من الوقت دقيقة والثانية بواسطة وظيفة getTimerDetails إذا كنت لا تفهم viewtopic.php?f=91&t=60405
  9. Hello How can I show the remainder of the minute and second time By Function getTimerDetails
  10. if ( exports.groupsystem:getElementData(element,"Group") == "name" ) then What's wrong here
  11. are you nop ? why you delete my table ??
  12. tabelPlayerGroup = {} markGroup = createMarker ( 1, 1, 1, "cylinder", 1.5, 0, 0, 0, 0 ) groupobject = createObject( 980, 1, 1, 1 ) addEventHandler("onMarkerHit", markGroup, function( hitElement ) if getElementData(hitElement,"Group") == "myGroupName" then -- i am get this from resource moveObject( groupobject, 1000, 1, 1, 3 ) end end ) addEventHandler("onMarkerLeave", markGroup, function( leftElement ) getGroupPlayer() for i,p in ipairs ( tabelPlayerGroup ) do if getElementData(leftElement,"Group") == "myGroupName" and not isElementWithinMarker(p,markGroup) then -- i am get this from resource moveObject( groupobject, 1000, 1, 1, 1 ) end end end ) getGroupPlayer = function() for i,v in ipairs ( getElementsByType( "player" ) ) do if getElementData(v,"Group") == "myGroupName" then -- i am get this from resource table.insert(tabelPlayerGroup,v) end end end Did this work?
  13. no i am using event "onMarkerLeave" is my code true ?
  14. markGroup = createMarker(test) groupobject = createObject = (test) addEventHandler("onMarkerHit", markGroup, function() if getElementData(hitElement,"Group") == "myGroupName" then -- i am get this from resource moveObject(groupobject,test) end end ) Is this true?
  15. i am using marker Thank you
  16. I am creating map i need to gate open to the group
  17. Hi How Can i Make Group Base By resource ( Group System (groupsystem) ) https://community.multitheftauto.com/ind ... ls&id=6911
  18. How do I trigger a specific client-side player i am testing triggerClientEvent(thePlayer, "theTriggerTest", source, value1, value2) -- thePlayer Came from triggerServerEvent
×
×
  • Create New...