; Mr.T76eM # Posted March 31, 2015 Share Posted March 31, 2015 السلام عليكم عندي سكربت بسيط جداااا مررة ابيكم تساعدوني كيف اسوي الفكرة عـَ الــسريعـ addEventHandler("onPlayerChat",root, function ( msg ) if ( msg == "فلوس" ) then outputChatBox("للحصول على فلوس : ") end) هذا هو السكربت وش اضيف بعد ؟ Link to comment
The Don Posted March 31, 2015 Share Posted March 31, 2015 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
; Mr.T76eM # Posted March 31, 2015 Author Share Posted March 31, 2015 لآ قصدي مو إعطآء الــلآعب فلوس قصدي لما يكتب في الـــشـآت أي شيء يطلع له الطريقة يعني يوم يكتب فلوس تجي طريقة الفلوس له في الشات .. + مشكور على المساعدة Link to comment
terreus Posted March 31, 2015 Share Posted March 31, 2015 لآ قصدي مو إعطآء الــلآعب فلوسقصدي لما يكتب في الـــشـآت أي شيء يطلع له الطريقة يعني يوم يكتب فلوس تجي طريقة الفلوس له في الشات .. + مشكور على المساعدة يوم يكتب " فلوس " يطلع له طريقة جني فلوس صحح ؟ Link to comment
terreus Posted March 31, 2015 Share Posted March 31, 2015 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 -- وأذا تبي تغير لون غير هون وسلام Link to comment
; Mr.T76eM # Posted March 31, 2015 Author Share Posted March 31, 2015 كففو والله .. مشكور يا شنب سؤال local n = getPlayerName (source) وش هذا السطر يسوي ؟ Link to comment
terreus Posted March 31, 2015 Share Posted March 31, 2015 كففو والله .. مشكور يا شنب سؤال local n = getPlayerName (source) وش هذا السطر يسوي ؟ يجيب أسم لاعب Link to comment
; Mr.T76eM # Posted March 31, 2015 Author Share Posted March 31, 2015 اوك شكرا اخر سؤال لو ابي اسوي ل كلام ثاني بنفس المود كذا ؟ 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
Professional Posted March 31, 2015 Share Posted March 31, 2015 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
terreus Posted March 31, 2015 Share Posted March 31, 2015 اوك شكرااخر سؤال لو ابي اسوي ل كلام ثاني بنفس المود كذا ؟ 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
Professional Posted March 31, 2015 Share Posted March 31, 2015 اوك شكرااخر سؤال لو ابي اسوي ل كلام ثاني بنفس المود كذا ؟ 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
terreus Posted March 31, 2015 Share Posted March 31, 2015 اوك شكرااخر سؤال لو ابي اسوي ل كلام ثاني بنفس المود كذا ؟ 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
Professional Posted March 31, 2015 Share Posted March 31, 2015 اوك شكرااخر سؤال لو ابي اسوي ل كلام ثاني بنفس المود كذا ؟ 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
; Mr.T76eM # Posted March 31, 2015 Author Share Posted March 31, 2015 (edited) , hassan تـــــمــَت الإفآدةة من قبــل أذوآق.. # يغلق + شكرآ Edited March 31, 2015 by Guest Link to comment
Professional Posted March 31, 2015 Share Posted March 31, 2015 , hassan تـــــمــَت الإفآدةة من قبــل أذوآق.. #يغلق + شكرآ العفوو Link to comment
terreus Posted March 31, 2015 Share Posted March 31, 2015 , hassan تـــــمــَت الإفآدةة من قبــل أذوآق.. #يغلق + شكرآ االعفو Link to comment
فاّرس Posted March 31, 2015 Share Posted March 31, 2015 غير معرفة في اكوادكم player حبايبي * Link to comment
Professional Posted March 31, 2015 Share Posted March 31, 2015 بس الاعب هو الي راح يكتب بشات مو السياره يحبيبي 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