مساعده لو سمحتو

Recommended Posts

انا سويت الكود ذا يقلي في شي غلط بالسطر الثالث وش هوو :(


function teamName ( source )
    local playerTeam = getPlayerTeam ( source )          -- get the player's team
    if ( playerTeam ) = "Ballas" or ( playerTeam ) = "Vagos"   then                               
        local setElementPosition ( localPlayer , 202.39922, 1885.02637, 17.64806 )
                setElementDimension ( localPlayer, 300)
        outputChatBox ( "You have to join Ballas or Vagos Mr .getPlayerName ( source ) .. )
addCommandHandler ( "team", teamName )


Share this post

Link to post

getTeamFromName استخدم دا

والتحقق سوي اثنين ==

وشيل اللوكال

وفنكشن اللي يجيب اسم اللاعب رح يجيب لك خطاء بالديبق

وحط مكان السورس , لوكال بلاير



Share this post

Link to post

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.