Jump to content

طلب


SycroX

Recommended Posts

Posted

سلام عليكم

انا مسوي لوحة

بها زر

و اديت بوكس

ابي لما اكتب سريال حد

بلأيديت بوكس

و ادوس الزر

يضيفني لجدول انا مسويه

مثلا

جدول

local Serials = { 
    ["Serials"] = true, 
} 

Chillin' with some demons, satans and vamps

Posted

تفضل

table 
Event:"onClientGUIClick" 
guiGetText 
table.insert 

Programing lua level 43 %

my Nick in Mta :^Wolf or MR>SFA7<3

Skype: bossho11

My BestFriends: Strong & MR.CoR & DABL & MeZoO

Posted (edited)

onClientGUIClick مثال علي حدث

addEventHandler("onClientGUIClick",root, 
function () 
if source == button then ----- يتحقق ان الزر الي انت تبيه اضغط عليه 
----Your Code 
end 
) 

guiGetText مثال علي فنكشن

addEventHandler("onClientGUIClick",root, 
function () 
if source == button then ----- يتحقق ان الزر الي انت تبيه اضغط عليه 
guiGetText(Editbox) ---- يجيب الي مكتوب في الاديت بوكس 
end 
) 

table.insert + وذا شرح للجدول

Edited by Guest

Programing lua level 43 %

my Nick in Mta :^Wolf or MR>SFA7<3

Skype: bossho11

My BestFriends: Strong & MR.CoR & DABL & MeZoO

Posted (edited)

onClientGUIClick مثال علي حدث

addEventHandler("onClientGUIClick",root, 
function () 
if source == button then ----- يتحقق ان الزر الي انت تبيه اضغط عليه 
----Your Code 
end 
) 

guiGetText مثال علي فنكشن

addEventHandler("onClientGUIClick",root, 
function () 
if source == button then ----- يتحقق ان الزر الي انت تبيه اضغط عليه 
guiGetText(Editbox) ---- يجيب الي مكتوب في الاديت بوكس 
end 
) 

table.insert + وذا شرح للجدول

-_-

ما في مبرمج ما يعرف اول

+ لا تفكرني مبتداء

عموما

شكرا

جدا

كنت محتاج شرح للجداول وشرح بو ساعدني

Edited by Guest

Chillin' with some demons, satans and vamps

Posted

طيب بلمرة

وش المشكلة

هنا

  
addEvent("BuyVIP", true) 
addEventHandler("BuyVIP", root, 
function() 
local Money = getElementData(source,"moneycoins") or 0 
if tonumber(Money) >= tonumber(20000000) then 
if  ( getPlayerAccount( source ) and not isGuestAccount( getPlayerAccount( source) ) ) then 
if not ( isObjectInACLGroup ( "user."..getAccountName ( getPlayerAccount ( source )), aclGetGroup ( "VIP" ) ) ) then 
aclGroupAddObject(aclGetGroup("VIP"), "user."..getAccountName ( getPlayerAccount ( source ) )) 
exports["guimessages"]:outputServer(source, "you had successfully Buy VIP Member" , 0, 255, 0) 
setElementData(source,"moneycoins",(getElementData(source,"moneycoins") or 0) - 20000000) 
            end 
        end 
    end 
end 
) 

Chillin' with some demons, satans and vamps

Posted
طيب بلمرة

وش المشكلة

هنا

  
addEvent("BuyVIP", true) 
addEventHandler("BuyVIP", root, 
function() 
local Money = getElementData(source,"moneycoins") or 0 
if tonumber(Money) >= tonumber(20000000) then 
if  ( getPlayerAccount( source ) and not isGuestAccount( getPlayerAccount( source) ) ) then 
if not ( isObjectInACLGroup ( "user."..getAccountName ( getPlayerAccount ( source )), aclGetGroup ( "VIP" ) ) ) then 
aclGroupAddObject(aclGetGroup("VIP"), "user."..getAccountName ( getPlayerAccount ( source ) )) 
exports["guimessages"]:outputServer(source, "you had successfully Buy VIP Member" , 0, 255, 0) 
setElementData(source,"moneycoins",(getElementData(source,"moneycoins") or 0) - 20000000) 
            end 
        end 
    end 
end 
) 

دي بق ؟

Skype :- mezo.prince1

FaceBook :- https://www.facebook.com/medolua

YouTube :- http://www.youtube.com/c/MeZoOPriNse 

76561198820126897.png

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...