Jump to content

iPrestege

Members
  • Posts

    10,056
  • Joined

  • Last visited

  • Days Won

    27

Everything posted by iPrestege

  1. أي بس لو تسويها كلنت ماغيرك تشوفها #
  2. addEvent ( "onSendDataToPolice", true ) addEventHandler ( "onSendDataToPolice", root, function ( Data ) if tostring ( Data ) then for _, v in ipairs ( getElementsByType ( "player" ) ) do local team = getPlayerTeam ( v ) if ( team and getTeamName (team) == ("التيم#")) then outputChatBox ( "a communication has been received from ["..getPlayerName(source).."] : "..Data, v, 225, 0, 0, true ) end end end end ) سوي البلب سيرفر #, عشان تظهر للكل ذذ
  3. اذا تبيها تمشي مع الاعب : createBlipAttachedTo ( localPlayer,52 ) ظاهرهـ للاعب فقطط #, قروب = تيم أو وش بـ الضبط #,
  4. أنا مسوية قروب طيب + سوية بـ createBlip
  5. وش قصدك بـ صورهـ؟ !!
  6. # Thanks ! بس على كل حأل بيكون شغآل #,
  7. + افضل تستخدم توسيط النافذهـ لأانها ماتجي كاملة للكل : centerWindow #,
  8. مشكور عـ البرنامج أفضل استخدام Scite البرنامج النوت بآد فية بعض المشاكل مع اللغة العربيه #,
  9. - Client Side - GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Label = {} GUIEditor_Edit = {} GUIEditor_Window[1] = guiCreateWindow(32,125,721,362,"By yaZan",false) guiSetVisible(GUIEditor_Window[1],false) guiSetAlpha(GUIEditor_Window[1],1) GUIEditor_Edit[1] = guiCreateEdit(9,65,694,96,"",false,GUIEditor_Window[1]) GUIEditor_Label[1] = guiCreateLabel(233,34,239,19,"اكتب رساله و اضغط ارسل للشرطة للمساعدتك",false,GUIEditor_Window[1]) GUIEditor_Button[1] = guiCreateButton(86,164,516,55,"ارسل للشرطة",false,GUIEditor_Window[1]) GUIEditor_Button[2] = guiCreateButton(12,249,700,101,"تحديد مكاني",false,GUIEditor_Window[1]) GUIEditor_Label[2] = guiCreateLabel(264,223,395,21,"اضغط تحديد مكاني لتحديد مكانك",false,GUIEditor_Window[1]) function open() guiSetVisible(GUIEditor_Window[1],not guiGetVisible(GUIEditor_Window[1])) showCursor(guiGetVisible(GUIEditor_Window[1])) guiSetInputEnabled(guiGetVisible(GUIEditor_Window[1])) end bindKey("F7","down",open) addEventHandler( "onClientGUIClick", root, function () local Data = guiGetText(GUIEditor_Edit[1]) local x,y,z = getElementPosition (localPlayer) if ( source == GUIEditor_Button[1] ) then triggerServerEvent("onSendDataToPolice",localPlayer,Data) elseif ( source == GUIEditor_Button[2] ) then outputChatBox("You're Position : X "..x.." , Y "..y.." , "..z.." ",225,255,0,true) end end ) - Server Side - addEvent("onSendDataToPolice",true) addEventHandler("onSendDataToPolice",root, function (Data) if isObjectInACLGroup ("user."..getAccountName ( getPlayerAccount (source) ), aclGetGroup ( "القروب" ) ) then outputChatBox("a communication has been received from ["..getPlayerName(source).."] : "..Data.." ",root,225,0,0,true) end end )
  10. iPrestege

    Gang spawn

    Just wait for SolidSnake and he w'll help you becuase the gang system for him.
  11. Try to make it and i'll help u . also use : getPlayerFromName
  12. No Should Work And You To .
  13. 1- مشكلتك # 2- حأول 3- مايفتح معي الى الان #,
  14. iPrestege

    Help me!

    https://forum.multitheftauto.com/viewtopic.php?f=91&t=54283
  15. الموضوع طويل # ماراح يسوية لك أحد ذذ بس المشكلة ألويكي متعطل فـ مأدري كيف أعطيك الوظائف .
  16. وضح لي كل شيء .
  17. fixVehicle Works Good !!
  18. isObjectInACLGroup createExplosion addCommandHandler ؟؟
  19. local job = createMarker ( 812, -1623, 12.5, "cylinder", 1.5, 242, 164, 12, 240 ) local blip1 = createBlip( 812, -1623, 12, 56 ) Window_Job = guiCreateWindow(0.38, 0.30, 0.23, 0.39, "Pizza Delivery Job", true) guiWindowSetSizable(Window_Job, false) TextodaJob = guiCreateLabel(0.04, 0.09, 0.91, 0.33, " Pizza Deliver\n\nHere you can be a Pizza Deliver, you just need to drive with your Pizza to the client's home and deliver the pizza to him.\n\nWin: 500$ - 1500$\n\nGood Luck", true, Window_Job) guiLabelSetHorizontalAlign(TextodaJob, "left", true) GridlistdasSkins = guiCreateGridList(0.04, 0.51, 0.92, 0.30, true, Window_Job) guiGridListAddColumn(GridlistdasSkins, "Skins", 0.9) TextdasSkins = guiCreateLabel(0.04, 0.46, 0.36, 0.04, "Pick your Skin:", true, Window_Job) BotaoAccept = guiCreateButton(0.04, 0.84, 0.36, 0.12, "Have Job", true, Window_Job) guiSetProperty(BotaoAccept, "NormalTextColour", "FFAAAAAA") BotaoDecline = guiCreateButton(0.61, 0.84, 0.36, 0.12, "Cancel", true, Window_Job) guiSetProperty(BotaoDecline, "NormalTextColour", "FFAAAAAA") Label_entreBotoes = guiCreateLabel(0.48, 0.88, 0.05, 0.04, "OR", true, Window_Job) addEventHandler ( "onClientMarkerHit", job, function (player) if (getElementType(player) == ("player")) and ((player) == localPlayer ) then guiSetVisible ( Window_Job, true ) showCursor ( true ) end end ) addEventHandler ( "onClientGUIClick",BotaoDecline, function() guiSetVisible (Window_Job, false) showCursor (false) end,false)
  20. نآقصك اند والكود مخبص كثير حقك مشوارهـ طويل #,
  21. GUIEditor = { label = {}, button = {}, edit = {}, window = {}, } GUIEditor.window[1] = guiCreateWindow(351, 179, 661, 423, "Login Panel By AlooyFTW", false) guiWindowSetSizable(GUIEditor.window[1], false) GUIEditor.edit[1] = guiCreateEdit(260, 65, 294, 51, "", false, GUIEditor.window[1]) GUIEditor.edit[2] = guiCreateEdit(260, 154, 294, 51, "", false, GUIEditor.window[1]) GUIEditor.button[1] = guiCreateButton(10, 291, 280, 76, "Login", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "sa-gothic") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "C8FFFFFF") GUIEditor.label[1] = guiCreateLabel(16, 65, 189, 53, "UserName", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[1], "sa-header") guiLabelSetColor(GUIEditor.label[1], 16, 0, 193) GUIEditor.label[2] = guiCreateLabel(19, 154, 176, 51, "Password", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[2], "sa-header") guiLabelSetColor(GUIEditor.label[2], 16, 0, 193) GUIEditor.button[5] = guiCreateButton(342, 292, 280, 76, "Register", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[5], "sa-gothic") guiSetProperty(GUIEditor.button[5], "NormalTextColour", "C8FFFFFF") guiSetVisible (GUIEditor.window[1], true) showCursor ( true ) addEventHandler ("onClientGUIClick", root, function ( ) if ( source == GUIEditor.button[1] ) then triggerServerEvent("login", localPlayer, localPlayer, guiGetText ( GUIEditor.edit[1] ), guiGetText ( GUIEditor.edit[2] ) ) elseif ( source == GUIEditor.button[5] ) then triggerServerEvent("register", localPlayer, localPlayer, guiGetText ( GUIEditor.edit[1] ), guiGetText ( GUIEditor.edit[2] ) ) end end ) addEvent ( "hideWindow", true ) addEventHandler ( "hideWindow", root, function ( ) guiSetVisible ( GUIEditor.window[1], false ) fadeCamera ( true ) showCursor ( false ) end ) addEventHandler( "onClientResourceStart",resourceRoot, function() fadeCamera(false) end)
  22. getTeamFromName string.find
×
×
  • Create New...