Jump to content

طلب كود بسيط


Recommended Posts

شباب انا عامل تيم وليه لون معين بس  لون اسمو بيتغير وكل حاجا

بس فى الخريطه لونو مش بيتغير للون التيم الى هوا فيه

ممكن الكود

Link to comment
16 minutes ago, LOAM said:

شباب انا عامل تيم وليه لون معين بس  لون اسمو بيتغير وكل حاجا

بس فى الخريطه لونو مش بيتغير للون التيم الى هوا فيه

ممكن الكود

عدل الفري روم يقلبي 

+_+

على حسب ظني

Link to comment
Just now, LOAM said:

هل هذه صحيح للشرطه

      setPlayerNametagColor ( Police, 25,112,255 )

 

local teamname = "Police" -- اسم الفريق
for i,v in ipairs(getPlayersInTeam(getTeamFromName(teamname))) do
  setPlayerNametagColor ( v, 25,112,255 )
end

 

Link to comment
Just now, #_iMr.[E]coo said:

getTeamFromName

 

,وهيبقا لونى فى الخريطه زى لون التيم اخى

Just now, _Kinan said:

local teamname = "Police" -- اسم الفريق
for i,v in ipairs(getPlayersInTeam(getTeamFromName(teamname))) do
  setPlayerNametagColor ( v, 25,112,255 )
end

 

شكرا اخى شكرا جزيلا

Link to comment
18 minutes ago, _Kinan said:

في الخدمة ;)

كده اخى

function joinCriminalTeam(player)   
local teamname = "Police" -- اسم الفريق
for i,v in ipairs(getPlayersInTeam(getTeamFromName(AssasSIN))) do
  setPlayerNametagColor ( AssasSIN, 25,112,255 )
end  if (team) then
  
      setPlayerTeam (player,AssasSIN)       
    setElementModel (player, 0)      
      getTeamColor (player, AssasSIN)        
  setBlipColor (player, AssasSIN)       
      setTeamFriendlyFire ( AssasSIN, true )
setElementData ( player, "Job", "AssasSIN" ) 

		  
  end           
end  
addEvent ("AssasSIN", true )

addCommandHandler("AssasSIN",joinAssasSINTeam)

 

Link to comment
5 minutes ago, LOAM said:

كده اخى


function joinCriminalTeam(player)   
local teamname = "Police" -- اسم الفريق
for i,v in ipairs(getPlayersInTeam(getTeamFromName(AssasSIN))) do
  setPlayerNametagColor ( AssasSIN, 25,112,255 )
end  if (team) then
  
      setPlayerTeam (player,AssasSIN)       
    setElementModel (player, 0)      
      getTeamColor (player, AssasSIN)        
  setBlipColor (player, AssasSIN)       
      setTeamFriendlyFire ( AssasSIN, true )
setElementData ( player, "Job", "AssasSIN" ) 

		  
  end           
end  
addEvent ("AssasSIN", true )

addCommandHandler("AssasSIN",joinAssasSINTeam)

 

جرب ولا نجرب عنك ؟

Link to comment
7 minutes ago, LOAM said:

كده اخى


function joinCriminalTeam(player)   
local teamname = "Police" -- اسم الفريق
for i,v in ipairs(getPlayersInTeam(getTeamFromName(AssasSIN))) do
  setPlayerNametagColor ( AssasSIN, 25,112,255 )
end  if (team) then
  
      setPlayerTeam (player,AssasSIN)       
    setElementModel (player, 0)      
      getTeamColor (player, AssasSIN)        
  setBlipColor (player, AssasSIN)       
      setTeamFriendlyFire ( AssasSIN, true )
setElementData ( player, "Job", "AssasSIN" ) 

		  
  end           
end  
addEvent ("AssasSIN", true )

addCommandHandler("AssasSIN",joinAssasSINTeam)

 

سطر 4

ليش عدلته؟

خليه v

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