Jump to content

Re: ابسلودلي


z24d

Recommended Posts

يعني مثلاً قلت لواحد يكتب باف8 كومماند

وكتبة خلاص

ابي اذا كتب الكوماند مره ثانية يتحقق هو كتب قبل او لا

اذا كان كاتب يكنسل ويطلعله شيء بالشات عرفت كيف؟

Link to comment

استخدم الي تحس انه افضل للشي الي تبي تسويه

كل الموضوع انك تحتاج تحفظ ان اللاعب الفلاني كتب الأمر في اف8 و طبعاً كل مره ينكتب الأمر تتحقق ان كان اللاعب الي كتب الأمر ما كتبه من قبل

Link to comment
addCommandHandler("12",function() 
dd = getAccountData(source,"r8") 
Money = getPlayerMoney(source) 
if dd then 
outputChatBox("لقد اخذت مسبقاً ",source,255,0,0) 
else 
givePlayerMoney(source,300000) 
setAccountData(source,"r8",Money) 
end 
end 
) 

??

Link to comment
addCommandHandler('12', function ( player ) 
if ( not isGuestAccount ( getPlayerAccount ( player ) ) ) then 
if ( not getAccountData ( getPlayerAccount ( player ) , 'r8' ) ) then 
givePlayerMoney ( player , 300000 ) 
setAccountData ( getPlayerAccount ( player ) , 'r8', true ) 
else 
outputChatBox('* لقد اخذت مسبقاً ',player,0,255,0,true) 
end 
else 
outputChatBox('* الرجأء تسجيل الدخول !',player,255,0,0,true) 
    end 
end 
) 
  

Edited by Guest
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...