شكله مغلق
الحين لما اخش علي المنتدي
ما يدخلني
يوديني ‘ الرابط ذا
http://www.mtaarabs.com/cgi-sys/suspendedpage.cgi
ويقول هذا الحساب مغلق لاسباب خاصه
,440//547
اللي يبي يستفيد
local getEdit = guiGetText(setEdit) --- نسوي اختصار جلب الكلام من الايدت
if tonumber(getEdit) then ---- اذا ارقام فقط
if not tonumber(getEdit) then return end ---- لو تبي تسوي اذا ماهي ارقام يجيه فـ الشات كلام او شئ زي كذا ,,, بكيفك.
هذا مثال بسيط
بيجيبلك الـ
FPS
كل ثانيه في الشات
local frames = 0
local time = false
function startFrames()
time = getTickCount()
addEventHandler("onClientRender",root,countFrames)
end
function countFrames()
if getTickCount()-time>=1000 then -- اذا الوقت تعدي اخر تحقق
outputChatBox(tostring(frames)) -- يطلعله الـ FPS
time = getTickCount() -- وضع الوقت فـ getTickCount
frames = 0 -- يرجع الفريمات
end
frames = frames+1 --
end
اذا انت تستخدم
notepad++
روح علي الخيار اللي فوق بتحصل اسمه
Encoding
اضغط عليه واختار
Encode in UTF-8
طبعـآ انسخ الاكواد كلها قبل ما تسوي كذا عشان ما يروح الكلام اللي انت كتبته وبعدين الصقه مره ثانيه
addEventHandler("onClientGUIClick",root,function()
if source == Button then
triggerServerEvent("GiveHealth",localPlayer)
elseif source == Button then
triggerServerEvent("GiveArmour",localPlayer)
end
end
)
addEvent("GiveHealth",true)
addEventHandler("GiveHealth",root,function()
setElementHealth(source,100)
end
)
addEvent("GiveArmour",true)
addEventHandler("GiveArmour",root,function()
setPedArmor(source,100)
end
)