Jump to content

طلب مساعدة سكربت بسيط مرة


Recommended Posts

السلام عليكم

عندي سكربت بسيط جداااا مررة

ابيكم تساعدوني كيف اسوي الفكرة عـَ الــسريعـ

addEventHandler("onPlayerChat",root, 
function ( msg ) 
if ( msg == "فلوس" ) then 
    outputChatBox("للحصول على فلوس : ") 
    end) 

هذا هو السكربت وش اضيف بعد ؟

Link to comment
addEventHandler('onPlayerChat',root, 
function ( Message , MessageType ) 
    if MessageType == 0 then 
        if Message == "فلوس" then 
            outputChatBox('لقد حصلت على فلوس',source,0,255,0) 
            givePlayerMoney(source,1000) 
        end 
    end 
end ) 

Link to comment
لآ قصدي مو إعطآء الــلآعب فلوس

قصدي لما يكتب في الـــشـآت أي شيء

يطلع له الطريقة

يعني يوم يكتب فلوس

تجي طريقة الفلوس له في الشات ..

+ مشكور على المساعدة

يوم يكتب " فلوس " يطلع له طريقة جني فلوس صحح ؟

Link to comment
addEventHandler ("onPlayerChat",root, 
    function (msg) 
        if msg == "فلوس" then 
            local n = getPlayerName (source) 
            outputChatBox (n .." هنا أكتب مهمات لي تجني فلوس الخ..",player,255,0,0,true) 
            outputChatBox (n .." هنا أكتب مهمات لي تجني فلوس الخ..",player,255,0,0,true) 
            outputChatBox (n .." هنا أكتب مهمات لي تجني فلوس الخ..",player,255,0,0,true) 
            outputChatBox (n .." هنا أكتب مهمات لي تجني فلوس الخ..",player,255,0,0,true) 
  
        end 
    end 
) 

if msg == "فلوس" then -- هنا عدل أسم كلمة لي تكتبها شات

outputChatBox (n .." هنا أكتب مهمات لي تجني فلوس الخ..",player,255,0,0,true) -- وهنا كيف تجني فلوس يطلع لك في شاشة

255,0,0 -- وأذا تبي تغير لون غير هون

وسلام :mrgreen:

Link to comment

اوك شكرا

اخر سؤال

لو ابي اسوي ل كلام ثاني بنفس المود كذا ؟

addEventHandler ("onPlayerChat",root, 
    function (msg) 
        if msg == "فلوس" then 
            local n = getPlayerName (source) 
            outputChatBox (n .."#ffff11 للحصول على فلوس  :  ",player,255,0,0,true) 
            outputChatBox ("#",player,255,0,0,true) 
            outputChatBox ("#",player,255,0,0,true) 
            outputChatBox ("# ",player,255,0,0,true) 
             
              elseif msg == "##" then 
            outputChatBox (n .."##",player,255,0,0,true) 
            outputChatBox ("#",player,255,0,0,true) 
            outputChatBox ("#",player,255,0,0,true) 
            outputChatBox ("# ",player,255,0,0,true) 
  
        end 
    end 
) 

Link to comment
addEventHandler ("onPlayerChat",root, 
    function (msg) 
        if msg == "فلوس" then 
            local n = getPlayerName (source) 
            outputChatBox (n .."#ffff11 للحصول على فلوس  :  ",player,255,0,0,true) 
            outputChatBox ("#",player,255,0,0,true) 
            outputChatBox ("#",player,255,0,0,true) 
            outputChatBox ("# ",player,255,0,0,true) 
           هنا ما تبي مضاد  فقط يكتب ويطلع له  
              elseif msg == "##" then 
            outputChatBox (n .."##",player,255,0,0,true) 
            outputChatBox ("#",player,255,0,0,true) 
            outputChatBox ("#",player,255,0,0,true) 
            outputChatBox ("# ",player,255,0,0,true) 
  
        end 
    end 
) 

هنا

addEventHandler ("onPlayerChat",root, 
    function (msg) 
        if msg == "فلوس" then 
            local n = getPlayerName (source) 
            outputChatBox (n .."#ffff11 للحصول على فلوس  :  ",player,255,0,0,true) 
            outputChatBox ("مثال مهمه ...",player,255,0,0,true) 
            outputChatBox ("مثال مهمه ...",player,255,0,0,true) 
            outputChatBox ("مثال مهمه ... ",player,255,0,0,true) 
         end 
    end 
) 

Link to comment
اوك شكرا

اخر سؤال

لو ابي اسوي ل كلام ثاني بنفس المود كذا ؟

addEventHandler ("onPlayerChat",root, 
    function (msg) 
        if msg == "فلوس" then 
            local n = getPlayerName (source) 
            outputChatBox (n .."#ffff11 للحصول على فلوس  :  ",player,255,0,0,true) 
            outputChatBox ("#",player,255,0,0,true) 
            outputChatBox ("#",player,255,0,0,true) 
            outputChatBox ("# ",player,255,0,0,true) 
             
              elseif msg == "##" then 
            outputChatBox (n .."##",player,255,0,0,true) 
            outputChatBox ("#",player,255,0,0,true) 
            outputChatBox ("#",player,255,0,0,true) 
            outputChatBox ("# ",player,255,0,0,true) 
  
        end 
    end 
) 

addEventHandler ("onPlayerChat",root, 
    function (msg) 
        if msg == "فلوس" then 
            local n = getPlayerName (source) 
            outputChatBox (n .."#ffff11 للحصول على فلوس  :  ",player,255,0,0,true) 
            outputChatBox ("#",player,255,0,0,true) 
            outputChatBox ("#",player,255,0,0,true) 
            outputChatBox ("# ",player,255,0,0,true) 
            
addEventHandler ("onPlayerChat",root, 
    function (msg) 
        if msg == "##" then 
            local n = getPlayerName (source) 
            outputChatBox (n .."##",player,255,0,0,true) 
            outputChatBox ("#",player,255,0,0,true) 
            outputChatBox ("#",player,255,0,0,true) 
            outputChatBox ("# ",player,255,0,0,true) 
  
        end 
    end 
) 

تفضل

Link to comment
اوك شكرا

اخر سؤال

لو ابي اسوي ل كلام ثاني بنفس المود كذا ؟

addEventHandler ("onPlayerChat",root, 
    function (msg) 
        if msg == "فلوس" then 
            local n = getPlayerName (source) 
            outputChatBox (n .."#ffff11 للحصول على فلوس  :  ",player,255,0,0,true) 
            outputChatBox ("#",player,255,0,0,true) 
            outputChatBox ("#",player,255,0,0,true) 
            outputChatBox ("# ",player,255,0,0,true) 
             
              elseif msg == "##" then 
            outputChatBox (n .."##",player,255,0,0,true) 
            outputChatBox ("#",player,255,0,0,true) 
            outputChatBox ("#",player,255,0,0,true) 
            outputChatBox ("# ",player,255,0,0,true) 
  
        end 
    end 
) 

يب اما هنا مو اول ما تكتب فلوس يجيك كل الي راح تكتبه تحت يجي

مثال كتبت فلوس يجي 4 اسطر الي كتبتهم هنا

  outputChatBox (n .."#ffff11 للحصول على فلوس  :  ",player,255,0,0,true)

           

outputChatBox ("#",player,255,0,0,true) 
            outputChatBox ("#",player,255,0,0,true) 
            outputChatBox ("# ",player,255,0,0,true) 

اما

لو كتبت ##

يجون زول

  elseif msg == "##" then 
            outputChatBox (n .."##",player,255,0,0,true) 
            outputChatBox ("#",player,255,0,0,true) 
            outputChatBox ("#",player,255,0,0,true) 
            outputChatBox ("# ",player,255,0,0,true) 

Link to comment
اوك شكرا

اخر سؤال

لو ابي اسوي ل كلام ثاني بنفس المود كذا ؟

addEventHandler ("onPlayerChat",root, 
    function (msg) 
        if msg == "فلوس" then 
            local n = getPlayerName (source) 
            outputChatBox (n .."#ffff11 للحصول على فلوس  :  ",player,255,0,0,true) 
            outputChatBox ("#",player,255,0,0,true) 
            outputChatBox ("#",player,255,0,0,true) 
            outputChatBox ("# ",player,255,0,0,true) 
             
              elseif msg == "##" then 
            outputChatBox (n .."##",player,255,0,0,true) 
            outputChatBox ("#",player,255,0,0,true) 
            outputChatBox ("#",player,255,0,0,true) 
            outputChatBox ("# ",player,255,0,0,true) 
  
        end 
    end 
) 

يب اما هنا مو اول ما تكتب فلوس يجيك كل الي راح تكتبه تحت يجي

مثال كتبت فلوس يجي 4 اسطر الي كتبتهم هنا

  outputChatBox (n .."#ffff11 للحصول على فلوس  :  ",player,255,0,0,true)

           

outputChatBox ("#",player,255,0,0,true) 
            outputChatBox ("#",player,255,0,0,true) 
            outputChatBox ("# ",player,255,0,0,true) 

اما

لو كتبت ##

يجون زول

  elseif msg == "##" then 
            outputChatBox (n .."##",player,255,0,0,true) 
            outputChatBox ("#",player,255,0,0,true) 
            outputChatBox ("#",player,255,0,0,true) 
            outputChatBox ("# ",player,255,0,0,true) 

هو يبي عندما يكتب فلوس

يطلع له مهمات كامل

زي الكود حقي

Link to comment
اوك شكرا

اخر سؤال

لو ابي اسوي ل كلام ثاني بنفس المود كذا ؟

addEventHandler ("onPlayerChat",root, 
    function (msg) 
        if msg == "فلوس" then 
            local n = getPlayerName (source) 
            outputChatBox (n .."#ffff11 للحصول على فلوس  :  ",player,255,0,0,true) 
            outputChatBox ("#",player,255,0,0,true) 
            outputChatBox ("#",player,255,0,0,true) 
            outputChatBox ("# ",player,255,0,0,true) 
             
              elseif msg == "##" then 
            outputChatBox (n .."##",player,255,0,0,true) 
            outputChatBox ("#",player,255,0,0,true) 
            outputChatBox ("#",player,255,0,0,true) 
            outputChatBox ("# ",player,255,0,0,true) 
  
        end 
    end 
) 

addEventHandler ("onPlayerChat",root, 
    function (msg) 
        if msg == "فلوس" then 
            local n = getPlayerName (source) 
            outputChatBox (n .."#ffff11 للحصول على فلوس  :  ",player,255,0,0,true) 
            outputChatBox ("#",player,255,0,0,true) 
            outputChatBox ("#",player,255,0,0,true) 
            outputChatBox ("# ",player,255,0,0,true) 
            
addEventHandler ("onPlayerChat",root, 
    function (msg) 
        if msg == "##" then 
            local n = getPlayerName (source) 
            outputChatBox (n .."##",player,255,0,0,true) 
            outputChatBox ("#",player,255,0,0,true) 
            outputChatBox ("#",player,255,0,0,true) 
            outputChatBox ("# ",player,255,0,0,true) 
  
        end 
    end 
) 

تفضل

انت عاطيه الكود مره ثانيه

لا خله يحط كيف هو عمل

elseif 

احسن ما يظل يحط الكود مره

ثانيه

يعني يركبهم ككود واحد

ويقول في سيرفر لي بده يعرف كيف ياخذ فلوس يكتب فلوس في شات او ##

كيف هو حط

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