بسمه تعالى اما بعد عودة سيرفر اسود العراق بعد الغياب عن عالم الـ MTA
ايبي السيرفر الجديد . . . mtasa://89.47.165.37:22003
ديسكورد الخاص بلسيرفر
https://discord.gg/wKPjQzKNs7
فريروم F1
لوحة انتقالات للوظائف والاماكن والمقرات
قائمة الاوامر f8
لوحة تفعيل السيارات
ساحة التحرير
-- if you want to trigger something 10 or multiple times you can use "for" loop.
for i = 1, 10 do
-- trigger your thingies
end
-- if you want to multiply something you will need to use the * operator.
local price = 1000
local amount = 10
function multiply(price, amount)
return price * amount
end
print(multiply(price, amount)) -- should return 10000.
set an element data for that group
and use this:
function a()
if getElementData(localPlayer, "ClanName") then
-- do something here
else
outputChatBox("You are not allowed to use this command", 255, 0, 0)
end
end
addCommandHandler("abc1", a)