#Untied Posted April 17, 2016 Share Posted April 17, 2016 سلام عليكم اليوم سويت اليكتب فلوس في الشات يظهر له الكلام بالشات ذا function Strong ( ) outputChatBox ( "#[TeamsSysteam] Abdoi Added to team by Adham",0, 255, 0, true ) outputChatBox ( "#[TeamsSysteam] Abdoi Added to team by Adham",0, 255, 0, true ) outputChatBox ( "#[TeamsSysteam] Abdoi Added to team by Adham",0, 255, 0, true ) outputChatBox ( "#[TeamsSysteam] Abdoi Added to team by Adham",0, 255, 0, true ) addCommandHandler ( "فلوس",Strong ) اكتب ما يحصل شي وملحوظه الكود دا كلنت Link to comment
Me[Z]oO Posted April 17, 2016 Share Posted April 17, 2016 function Strong ( ) outputChatBox ( "#[TeamsSysteam] Abdoi Added to team by Adham",0, 255, 0, true ) outputChatBox ( "#[TeamsSysteam] Abdoi Added to team by Adham",0, 255, 0, true ) outputChatBox ( "#[TeamsSysteam] Abdoi Added to team by Adham",0, 255, 0, true ) outputChatBox ( "#[TeamsSysteam] Abdoi Added to team by Adham",0, 255, 0, true ) end addCommandHandler ( "فلوس",Strong ) Link to comment
Ahmed Ly Posted April 17, 2016 Share Posted April 17, 2016 --#Server addCommandHandler ( "فلوس",-- function ( ) outputChatBox ( "#[TeamsSysteam] Abdoi Added to team by Adham",source,0, 255, 0, true ) outputChatBox ( "#[TeamsSysteam] Abdoi Added to team by Adham",source,0, 255, 0, true ) outputChatBox ( "#[TeamsSysteam] Abdoi Added to team by Adham",source,0, 255, 0, true ) outputChatBox ( "#[TeamsSysteam] Abdoi Added to team by Adham",source,0, 255, 0, true ) end ) Link to comment
#|_oskar_|# Posted April 17, 2016 Share Posted April 17, 2016 --#Server addCommandHandler ( "فلوس",-- function ( ) outputChatBox ( "#[TeamsSysteam] Abdoi Added to team by Adham",source,0, 255, 0, true ) outputChatBox ( "#[TeamsSysteam] Abdoi Added to team by Adham",source,0, 255, 0, true ) outputChatBox ( "#[TeamsSysteam] Abdoi Added to team by Adham",source,0, 255, 0, true ) outputChatBox ( "#[TeamsSysteam] Abdoi Added to team by Adham",source,0, 255, 0, true ) end ) يقولك الكود كلنت مو سيرفر بالنسبه لصاحب الموضوع ناقصك اند للفنكشن Link to comment
#Untied Posted April 17, 2016 Author Share Posted April 17, 2016 بكتب مش بيطلعلي حاجه Link to comment
MR.GRAND Posted April 17, 2016 Share Posted April 17, 2016 بكتب مش بيطلعلي حاجه الكود شغال تأكد من السترنق اللي تكتبه Link to comment
#Untied Posted April 17, 2016 Author Share Posted April 17, 2016 اهي مش بيطلع function Strong ( ) outputChatBox ( "#[TeamsSysteam] Abdoi Added to team by Adham",0, 255, 0, true ) outputChatBox ( "#[TeamsSysteam] Abdoi Added to team by Adham",0, 255, 0, true ) outputChatBox ( "#[TeamsSysteam] Abdoi Added to team by Adham",0, 255, 0, true ) outputChatBox ( "#[TeamsSysteam] Abdoi Added to team by Adham",0, 255, 0, true ) end addCommandHandler ( "فلوس",Strong ) Link to comment
MR.GRAND Posted April 17, 2016 Share Posted April 17, 2016 اهي مش بيطلع function Strong ( ) outputChatBox ( "#[TeamsSysteam] Abdoi Added to team by Adham",0, 255, 0, true ) outputChatBox ( "#[TeamsSysteam] Abdoi Added to team by Adham",0, 255, 0, true ) outputChatBox ( "#[TeamsSysteam] Abdoi Added to team by Adham",0, 255, 0, true ) outputChatBox ( "#[TeamsSysteam] Abdoi Added to team by Adham",0, 255, 0, true ) end addCommandHandler ( "فلوس",Strong ) انت تكتب فلوس بالشات ولا في اف 8 ؟ Link to comment
Ahmed Ly Posted April 17, 2016 Share Posted April 17, 2016 addEventHandler('onPlayerChat',root, function(msg) if string.find(msg,'فلوس') then outputChatBox ( "#[TeamsSysteam] Abdoi Added to team by Adham",source,0, 255, 0, true ) outputChatBox ( "#[TeamsSysteam] Abdoi Added to team by Adham",source,0, 255, 0, true ) outputChatBox ( "#[TeamsSysteam] Abdoi Added to team by Adham",source,0, 255, 0, true ) outputChatBox ( "#[TeamsSysteam] Abdoi Added to team by Adham",source,0, 255, 0, true ) end end ) Link to comment
Ahmed Ly Posted April 17, 2016 Share Posted April 17, 2016 ما ظبت كودي سيرفر مو كلنت + اكتب في اف8 فلوس يطلعلك في شات كلام Link to comment
Mhmd.z Posted April 17, 2016 Share Posted April 17, 2016 --server function onChat( message ) if message == "فلوس" then outputChatBox ( "#[TeamsSysteam] Abdoi Added to team by Adham",source,0, 255, 0, true ) outputChatBox ( "#[TeamsSysteam] Abdoi Added to team by Adham",source,0, 255, 0, true ) outputChatBox ( "#[TeamsSysteam] Abdoi Added to team by Adham",source,0, 255, 0, true ) outputChatBox ( "#[TeamsSysteam] Abdoi Added to team by Adham",source,0, 255, 0, true ) end end addEventHandler("onPlayerChat", root, onChat) Link to comment
Me[Z]oO Posted April 17, 2016 Share Posted April 17, 2016 #Client addCommandHandler("فلوس", function() outputChatBox ( "#[TeamsSysteam] Abdoi Added to team by Adham",0, 255, 0 ) outputChatBox ( "#[TeamsSysteam] Abdoi Added to team by Adham",0, 255, 0 ) outputChatBox ( "#[TeamsSysteam] Abdoi Added to team by Adham",0, 255, 0 ) outputChatBox ( "#[TeamsSysteam] Abdoi Added to team by Adham",0, 255, 0 ) end) #Server addCommandHandler("فلوس", function(plr) outputChatBox ( "#[TeamsSysteam] Abdoi Added to team by Adham",root,0, 255, 0 ) outputChatBox ( "#[TeamsSysteam] Abdoi Added to team by Adham",root,0, 255, 0 ) outputChatBox ( "#[TeamsSysteam] Abdoi Added to team by Adham",root,0, 255, 0 ) outputChatBox ( "#[TeamsSysteam] Abdoi Added to team by Adham",root,0, 255, 0 ) end) اختار الي يعجبك Link to comment
#Untied Posted April 17, 2016 Author Share Posted April 17, 2016 مشكور شباب وين الخطاء هنا؟ outputChatBox ( "#[TeamsSysteam] " .. getPlayerName(player) .. ", Updated Your car color.", 255, 255, 0, true ) كان شغال قبل ما احد كود getPlayerName Link to comment
Me[Z]oO Posted April 17, 2016 Share Posted April 17, 2016 outputChatBox ( "#[TeamsSysteam] " .. getPlayerName(localPlayer) .. ", Updated Your car color.", 255, 255, 0, true ) Link to comment
#Untied Posted April 17, 2016 Author Share Posted April 17, 2016 sيقلي الخطا في getPlayername Link to comment
Ahmed Ly Posted April 17, 2016 Share Posted April 17, 2016 (edited) function Strong (player) local Name = getPlayerName(player) outputChatBox ( "#[TeamsSysteam] " ..Name.. " Updated Your car color",player, 0, 255, 0, true ) end addCommandHandler("ll",Strong) Edited April 17, 2016 by Guest Link to comment
iMr.WiFi..! Posted April 17, 2016 Share Posted April 17, 2016 مشكور شبابوين الخطاء هنا؟ outputChatBox ( "#[TeamsSysteam] " .. getPlayerName(player) .. ", Updated Your car color.", 255, 255, 0, true ) كان شغال قبل ما احد كود getPlayerName اذا سيرفر خلة كذا outputChatBox ( "#[TeamsSysteam] " .. getPlayerName(plr) .. ", Updated Your car color.", 255, 255, 0, true ) واذا كلينت خله كذا outputChatBox ( "#[TeamsSysteam] " .. getPlayerName(source) .. ", Updated Your car color.", 255, 255, 0, true ) Link to comment
#|_oskar_|# Posted April 17, 2016 Share Posted April 17, 2016 مشكور شبابوين الخطاء هنا؟ outputChatBox ( "#[TeamsSysteam] " .. getPlayerName(player) .. ", Updated Your car color.", 255, 255, 0, true ) كان شغال قبل ما احد كود getPlayerName اذا سيرفر خلة كذا outputChatBox ( "#[TeamsSysteam] " .. getPlayerName(plr) .. ", Updated Your car color.", 255, 255, 0, true ) واذا كلينت خله كذا outputChatBox ( "#[TeamsSysteam] " .. getPlayerName(source) .. ", Updated Your car color.", 255, 255, 0, true ) plr --source بدلها ب source --localPlayer بدلها ب Link to comment
Ahmed Ly Posted April 17, 2016 Share Posted April 17, 2016 مشكور شبابوين الخطاء هنا؟ outputChatBox ( "#[TeamsSysteam] " .. getPlayerName(player) .. ", Updated Your car color.", 255, 255, 0, true ) كان شغال قبل ما احد كود getPlayerName اذا سيرفر خلة كذا outputChatBox ( "#[TeamsSysteam] " .. getPlayerName(plr) .. ", Updated Your car color.", 255, 255, 0, true ) واذا كلينت خله كذا outputChatBox ( "#[TeamsSysteam] " .. getPlayerName(source) .. ", Updated Your car color.", 255, 255, 0, true ) Client = localPlayer Server = source Link to comment
#Untied Posted April 17, 2016 Author Share Posted April 17, 2016 اوكي بس ممكن سوال انا عامل مود قفل الشات وعاوز لما اجي اقفل المود يجي كلام بالشات Link to comment
Ahmed Ly Posted April 17, 2016 Share Posted April 17, 2016 اوكي بس ممكن سوالانا عامل مود قفل الشات وعاوز لما اجي اقفل المود يجي كلام بالشات "onResourceStop" showChat(true) outputChatBox Link to comment
Ahmed Ly Posted April 17, 2016 Share Posted April 17, 2016 addEventHandler("onResourceStop",root, function () showChat(true) outputChatBox("...",root,0,255,0,true) end ) Link to comment
#Untied Posted April 17, 2016 Author Share Posted April 17, 2016 مشكور طيب انا عامل مود قفل الشات عاوز الشات يقفل تلئقائي يعني ونا مش موجود فيه السرفر كل 2 ساعه مثلن الشات يقفل ويجي في الشات الكلام 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