Jump to content

مساعده لاهنتم ضروري


emin3m1

Recommended Posts

calcStart = function()   for key,calclabel in pairs(calcLabel) do     guiSetVisible(calclabel, true)   end   guiSetVisible(calcEdit, true)   guiSetVisible(calcReset, true)   guiSetVisible(calcGetResult, true) end  removeLetters = function(element)   local txt = guiGetText(element)   local removed = string.gsub(txt, "[^0-9/*+^-]", "")   if removed ~= txt then     guiSetText(element, removed)   end end  calculate = function()   local calc = guiGetText(calcEdit)   triggerServerEvent("CITphone.calculate", root, calc) end  addEvent("CITphone.calculated", true) addEventHandler("CITphone.calculated", localPlayer, function(ans)   guiSetText(calcLabel[8], ans) end ) resetCalcEdit = function()   guiSetText(calcEdit, "")   guiSetText(calcLabel[8], "") end 

هذا client-side

من داخل الجوال

بس ابي server-side

الله يخليكم.بسرعه

وازا في الكلينت سايد شي غلط لاهنتم تصلحوه

Link to comment

طيب في مجال تربط هذي معه

https://community.multitheftauto.com/ind ... ls&id=1218

انو تلغي button

calcStart = function() for key,calclabel in pairs(calcLabel) do guiSetVisible(calclabel, true) end guiSetVisible(calcEdit, true) guiSetVisible(calcReset, true) guiSetVisible(calcGetResult, true) end removeLetters = function(element) local txt = guiGetText(element) local removed = string.gsub(txt, "[^0-9/*+^-]", "") if removed ~= txt then guiSetText(element, removed) end end calculate = function() local calc = guiGetText(calcEdit) triggerServerEvent("CITphone.calculate", root, calc) end addEvent("CITphone.calculated", true) addEventHandler("CITphone.calculated", localPlayer, function(ans) guiSetText(calcLabel[8], ans) end ) resetCalcEdit = function() guiSetText(calcEdit, "") guiSetText(calcLabel[8], "") end

والله هاذ هو الكود لما انسخه ساعدني ازا تقدر تربطلي هذيك معه وتلغي ال

button

Link to comment
طيب في مجال تربط هذي معه

https://community.multitheftauto.com/ind ... ls&id=1218

انو تلغي button

calcStart = function() for key,calclabel in pairs(calcLabel) do guiSetVisible(calclabel, true) end guiSetVisible(calcEdit, true) guiSetVisible(calcReset, true) guiSetVisible(calcGetResult, true) end removeLetters = function(element) local txt = guiGetText(element) local removed = string.gsub(txt, "[^0-9/*+^-]", "") if removed ~= txt then guiSetText(element, removed) end end calculate = function() local calc = guiGetText(calcEdit) triggerServerEvent("CITphone.calculate", root, calc) end addEvent("CITphone.calculated", true) addEventHandler("CITphone.calculated", localPlayer, function(ans) guiSetText(calcLabel[8], ans) end ) resetCalcEdit = function() guiSetText(calcEdit, "") guiSetText(calcLabel[8], "") end

والله هاذ هو الكود لما انسخه ساعدني ازا تقدر تربطلي هذيك معه وتلغي ال

button

viewtopic.php?f=119&t=46670

Link to comment
calcStart = function() for key,calclabel in pairs(calcLabel) do guiSetVisible(calclabel, true) end guiSetVisible(calcEdit, true) guiSetVisible(calcReset, true) guiSetVisible(calcGetResult, true) end removeLetters = function(element) local txt = guiGetText(element) local removed = string.gsub(txt, "[^0-9/*+^-]", "") if removed ~= txt then guiSetText(element, removed) end end calculate = function() local calc = guiGetText(calcEdit) triggerServerEvent("CITphone.calculate", root, calc) end addEvent("CITphone.calculated", true) addEventHandler("CITphone.calculated", localPlayer, function(ans) guiSetText(calcLabel[8], ans) end ) resetCalcEdit = function() guiSetText(calcEdit, "") guiSetText(calcLabel[8], "") end 

Link to comment

هذا هوا الايفون

rzdz1.png

وهذي ايقونة الالة الحاسبة

Bqtp1.png

انا عندي الحاسبة مثلا مو شغالة

مثلا اكتب 8^8

مو شغالة يعني

المهم اذا تقدرون تبرمجون وحده بدالها يعني احطها بالايفون

او لاهنتم تعدلون على هذي انو بس احطها انا بالايفون

https://community.multitheftauto.com/ind ... ls&id=1218

ضغطة تشغيل الايفون هي X

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...