Jump to content

تيم شخصية اسلحة


Recommended Posts

function OnSpawn ( theSpawnpont, theTeam ) 
    giveWeapon ( source, 4, 300 )  
end 
addEventHandler ( "onPlayerSpawn", getRootElement(), OnSpawn )  
  
  
function setTame ( source, commandName, teamName ) 
  local theTeam = createTeam ( Police )   
  if theTeam then   
    setPlayerTeam ( source, Police )   
  end 
end 

صح ؟؟؟ :fadein:

Link to comment
function OnSpawn ( theSpawnpont, theTeam ) 
    giveWeapon ( source, 4, 300 )  
setTame(source) 
end 
addEventHandler ( "onPlayerSpawn", getRootElement(), OnSpawn )  
  
  
function setTame (player) 
  local theTeam = createTeam ("Police")   
  if theTeam then   
    setPlayerTeam ( player, theTeam )   
  end 
end 

صح ؟؟؟ :fadein:

Link to comment

شكرا جدا لك

function OnSpawn (  ) 
  giveWeapon ( source, 4, 300 )  
  setPlayerTeam ( source, getTeamFromName ("Police")) 
  createTeam('Police') 
end 
addEventHandler ( "onPlayerSpawn", getRootElement(), OnSpawn ) 

صح

Link to comment

createTeam('Police') 
addEventHandler ( "onPlayerSpawn",root, 
function() 
  giveWeapon ( source, 4, 300 ) 
  setPlayerTeam ( source, getTeamFromName ("Police")) 
    end 
) 

او ,

Team = createTeam('Police') 
addEventHandler ( "onPlayerSpawn",root, 
function() 
  giveWeapon ( source, 4, 300 ) 
  setPlayerTeam ( source, Team) 
    end 
) 

اذا تبي تلونه ,

[int colorR = 255, int colorG = 255, int colorB = 255] )

Link to comment

createTeam('Police' , 255 , 255 , 255) 
addEventHandler ( "onPlayerSpawn",root, 
function() 
  giveWeapon ( source, 4, 300 ) 
  setPlayerTeam ( source, getTeamFromName ("Police")) 
    end 
) 

كذا لون طبيعي غير في 255,255,255

Edited by Guest
Link to comment

اوكي مشكور لو ابيه اسلحة كتير يكون هيك

createTeam('Police' , 255 , 255 , 255) 
addEventHandler ( "onPlayerSpawn",root, 
function() 
  giveWeapon ( source, 4, 300 ) 
  giveWeapon ( source, 23, 300 ) 
  setPlayerTeam ( source, getTeamFromName ("Police")) 
    end 
) 

؟؟

Link to comment
اوكي مشكور لو ابيه اسلحة كتير يكون هيك
createTeam('Police' , 255 , 255 , 255) 
addEventHandler ( "onPlayerSpawn",root, 
function() 
  giveWeapon ( source, 4, 300 ) 
  giveWeapon ( source, 23, 300 ) 
  setPlayerTeam ( source, getTeamFromName ("Police")) 
    end 
) 

؟؟

يب ويمديك تسوي جدول ذذ

Link to comment

if getElementModel( element ) == 0 then -- 0 = player skin ID 
                 -- element العنصر اللي تبى تتحقق منه 

يصير كذا

createTeam('Police' , 255 , 255 , 255) 
addEventHandler ( "onPlayerSpawn",root, 
function() 
if getElementModel( source ) == 0 then -- if player skin = 0(cj model) then do! 
  giveWeapon ( source, 4, 300 ) 
  giveWeapon ( source, 23, 300 ) 
  setPlayerTeam ( source, getTeamFromName ("Police")) 
    end 
end 
) 
Link to comment

كفؤ عليك انا بعطيك ادمنية بسيرفري بس خليني اسويه

:D

:mrgreen:يستحقها اكثر كفو عليه The Best لول العفو بس شكراً ما ابغى ادمنيه عطها لي

ههههههههههههههههههههههههههههههههههههههههههههههه :lol:

اكره شيء اسمه mta ولا ادخلها اصلا الا احيانا

ولا لو إني العب ما تشوفني هنا ذذ

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