Ja[B]er[X]Pro Posted February 20, 2016 Share Posted February 20, 2016 تصحيح هذا الكود ابي عند دخول الاعب يعطيه فلوس لكن سويت الداتا حتى لا يخرج ويدخل مرة اخرى وياخد فلوس اكتر addEventHandler("onPlayerLogin",root, function() if getElementData(source,"moneynew") = 0 then givePlayerMoney(source,100000) setElementData(source,"moneynew") outputChatBox("Sulfy Money",source,0,0,255) end end) Link to comment
#Mr.Rajo~,< Posted February 20, 2016 Share Posted February 20, 2016 addEventHandler("onPlayerLogin",root, function() if not getAccountData(getPlayerAccount(source),"NoMo") then playerMoney = givePlayerMoney(source,100000) setAccountData(getPlayerAccount(source) , "NoMo" ,playerMoney ) outputChatBox("Sulfy Money",source,0,0,255) end end) جرب Link to comment
7up2016 Posted February 21, 2016 Share Posted February 21, 2016 addEventHandler("onPlayerLogin",root, function() if not getAccountData(getPlayerAccount(source),"NoMo") then playerMoney = givePlayerMoney(source,100000) setAccountData(getPlayerAccount(source) , "NoMo" ,playerMoney ) outputChatBox("Sulfy Money",source,0,0,255) end end) جرب ليش ما تسويها كذا addEventHandler("onPlayerLogin",root, function() if not getAccountData(getPlayerAccount(source),"NoMo") then playerMoney = givePlayerMoney(source,100000) setAccountData(getPlayerAccount(source) , "NoMo" , true ) outputChatBox("Sulfy Money",source,0,0,255) end end) Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now