Jump to content

اسم لاعب بدون اكواد الاوان


Recommended Posts

  The Best said:
server ?

addEventHandler("onResourceStart",resourceRoot, 
function() 
local Name = getPlayerName(source):gsub('#%x%x%x%x%x%x', '') 
outputChatBox("Your name : "..Name.." is good") 
end) 

تقدر تقولي من وين جبت سورس؟ آنها لاعب؟

Link to comment

آي صح نسيت ان السورس هو الحدث,

دائما انسى اقرأ الويكي حق الحدث ,

المهم جرب كذآ ,

addCommandHandler("Name", 
function(player) 
local Name = getPlayerName(player):gsub('#%x%x%x%x%x%x', '') 
outputChatBox("Your name : "..Name.." is good") 
end) 
Link to comment
  The Best said:
آي صح نسيت ان السورس هو الحدث,

دائما انسى اقرأ الويكي حق الحدث ,

المهم جرب كذآ ,

addCommandHandler("Name", 
function(player) 
local Name = getPlayerName(player):gsub('#%x%x%x%x%x%x', '') 
outputChatBox("Your name : "..Name.." is good") 
end) 

والي يقولك انه مجرب وشغال ؟

اكتب في الكونسل اف8 Name

Link to comment
  Al-PRNS said:
اوكي بس طلب اخير

ابي كود اذا احد دخل السيرفر يكون معه اسلحه

Server Side !

addEventHandler("onPlayerJoin",root, 
    function () 
giveWeapon ( source, id, ammo ) 
giveWeapon ( source, id, ammo ) 
giveWeapon ( source, id, ammo ) 
giveWeapon ( source, id, ammo ) 
giveWeapon ( source, id, ammo ) 
giveWeapon ( source, id, ammo ) 
    end 
) 

Link to comment
  AhmeD~9MoD said:
  Al-PRNS said:
اوكي بس طلب اخير

ابي كود اذا احد دخل السيرفر يكون معه اسلحه

Server Side !

addEventHandler("onPlayerJoin",root, 
    function () 
giveWeapon ( source, id, ammo ) 
giveWeapon ( source, id, ammo ) 
giveWeapon ( source, id, ammo ) 
giveWeapon ( source, id, ammo ) 
giveWeapon ( source, id, ammo ) 
giveWeapon ( source, id, ammo ) 
    end 
) 

عرفنا انك تعرف تسوي الكود,

الحين وش استفاد والله كلها نسخ ولصق وانا عارفه...

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