Jump to content

طلب كودين #


iA7bk#

Recommended Posts

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

لما اختار هجوله او سنايبر لما يموت ما يرجع لنفس التيم ولا يرجع للبدايه تطلع الكامرا على فوق ولا يرجع لما يموت من جديد يا ترى وش الحل !

addEventHandler("onPlayerWasted",root, 
function () 
      local team = getPlayerTeam (source) 
if ( team and getTeamName (team) == ("Hajwalah")) then 
     fadeCamera( source,true )  
     spawnPlayer ( source, -3447.00244, -3015.31152, 222.91719, 0, getPlayerSkin( source ) ) 
    elseif ( team and getTeamName (team) == ("iA7bK")) then 
    giveWeapon ( source ,  34,9999 )  
    giveWeapon ( source ,  34,9999 )  
     fadeCamera( source,true )  
     spawnPlayer ( source, 455.85739,-2519.79443,136.28281, 0,115, 0, 0 ) 
    elseif ( team and getTeamName (team) == ("iA7bK1")) then 
    giveWeapon ( source ,  34,9999 )  
    giveWeapon ( source ,  33,9999 )  
     fadeCamera( source,true )  
     spawnPlayer ( source, 581.84247,-2542.72754,136.28281, 0,102, 0, 0 ) 
       end 
end 
) 

addEventHandler("onPlayerWasted", root, function ( ) 
 if getPlayerTeam ( source ) and getPlayerTeam ( source ) == getTeamFromName ( "Hajwalah" ) then 
     fadeCamera( source,true ) 
     setCameraTarget( source ) 
     spawnPlayer ( source, -3447.00244, -3015.31152, 222.91719, 0, getElementModel ( source ) ) 
     setPlayerTeam(source, Hajwalah) 
    elseif getPlayerTeam ( source ) and getPlayerTeam ( source ) == getTeamFromName ( "iA7bK" ) then 
    giveWeapon ( source , 34, 9999 ) 
    setPlayerTeam(source, iA7bK) 
    fadeCamera( source,true ) 
    setCameraTarget( source ) 
    spawnPlayer ( source, 455.85739,-2519.79443,136.28281, 0,115, 0, 0 ) 
    elseif getPlayerTeam ( source ) and getPlayerTeam ( source ) == getTeamFromName ( "iA7bK1" ) then 
    setPlayerTeam(source, iA7bK1) 
    giveWeapon ( source , 34, 9999 ) 
    fadeCamera( source,true ) 
    spawnPlayer ( source, 581.84247,-2542.72754,136.28281, 0,102, 0, 0 ) 
          end 
     end 
) 
Edited by Guest
Link to comment
اشكر كل من ساعدني وكل الشكر الى

1: jafar

2: #♡ ZĂ7Ḟ

3: The Best

الله يعطيكم الف عافيه ما قصرتو معي واسف اذا تعبتكم

_____________________________

# حياك الله بـ اي وقت , + عدلت الرد كان في شي نسيته , خذه

والله حطيت التعديل حقك وخرب رجع مثل ما كان لما يموت الكام يرتفع فوق ولا يرجع للتيم نفسه

قبل تعديلك على الكود كان مضبوط لو تقدر يالغلا رجعه مثل قبل

Link to comment

جرب,

addEventHandler("onPlayerWasted", root, function ( ) 
 if getPlayerTeam ( source ) and getPlayerTeam ( source ) == getTeamFromName ( "Hajwalah" ) then 
     fadeCamera( source,true ) 
     setCameraTarget( source ) 
     spawnPlayer ( source, -3447.00244, -3015.31152, 222.91719, 0, getElementModel ( source ) ) 
     setPlayerTeam(source, getTeamFromName ( "Hajwalah" ) ) 
    elseif getPlayerTeam ( source ) and getPlayerTeam ( source ) == getTeamFromName ( "iA7bK" ) then 
    giveWeapon ( source , 34, 9999 ) 
    setPlayerTeam(source, getTeamFromName  ( "iA7bK" ) ) 
    fadeCamera( source,true ) 
    setCameraTarget( source ) 
    spawnPlayer ( source, 455.85739,-2519.79443,136.28281, 0,115, 0, 0 ) 
    elseif getPlayerTeam ( source ) and getPlayerTeam ( source ) == getTeamFromName ( "iA7bK1" ) then 
    setPlayerTeam(source, getTeamFromName ( "iA7bK1" ) ) 
    giveWeapon ( source , 34, 9999 ) 
    fadeCamera( source,true ) 
    spawnPlayer ( source, 581.84247,-2542.72754,136.28281, 0,102, 0, 0 ) 
          end 
     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...