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

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    No registered users viewing this page.