Jump to content

#تعديل بسيط


Recommended Posts

سلام عليكم

اليوم سويت اليكتب فلوس في الشات

يظهر له الكلام بالشات ذا

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
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
--#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
--#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 
) 

يقولك الكود كلنت مو سيرفر :mrgreen:

بالنسبه لصاحب الموضوع ناقصك اند للفنكشن

Link to comment

اهي مش بيطلع

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
اهي مش بيطلع
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
  
           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
--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

#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
مشكور شباب

وين الخطاء هنا؟

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
مشكور شباب

وين الخطاء هنا؟

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
مشكور شباب

وين الخطاء هنا؟

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

مشكور طيب

انا عامل مود قفل الشات

عاوز الشات يقفل تلئقائي

يعني ونا مش موجود فيه السرفر

كل 2 ساعه مثلن

الشات يقفل

ويجي في الشات الكلام

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