Jump to content

فنكشات النجوم


Recommended Posts

getPlayerTeam 
getTeamName 

ذا كود جاهز معي بنفس الفنكشات ذي

if getPlayerTeam (source) and getTeamName ( getPlayerTeam ( source ) ) == "army" then 

لكن انا ابي الكود كامل مو احطه مع النجوم وبس

وابي فنكشن يمنع الاعب انه يطلع السلاح من دريشه السيارة .. انا بحدد له ماركر ولا كول شيب

Link to comment

Teams = { 
    ["Police"] = true, 
    ["Army"] = true, 
    ["Swat"] = true, 
} 
setPlayerWantedLevel_ = setPlayerWantedLevel 
function setPlayerWantedLevel(plr, level) 
    local team = getPlayerTeam(plr) 
    if not (team and Teams[getTeamName(team)])) then 
        return setPlayerWantedLevel_(plr, level) 
    end 
    return false 
end 

حطه في المود حق نظام النجوم

Link to comment
Teams = { 
    ["Police"] = true, 
    ["Army"] = true, 
    ["Swat"] = true, 
} 
setPlayerWantedLevel_ = setPlayerWantedLevel 
function setPlayerWantedLevel(plr, level) 
    local team = getPlayerTeam(plr) 
    if not (team and Teams[getTeamName(team)])) then 
        return setPlayerWantedLevel_(plr, level) 
    end 
    return false 
end 

حطه في المود حق نظام النجوم

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

Link to comment

عرفت الغلط

قوس زايد سطر 8

Teams = { 
    ["Police"] = true, 
    ["Army"] = true, 
    ["Swat"] = true, 
} 
setPlayerWantedLevel_ = setPlayerWantedLevel 
function setPlayerWantedLevel(plr, level) 
    local team = getPlayerTeam(plr) 
    if not (team and Teams[getTeamName(team)]) then 
        return setPlayerWantedLevel_(plr, level) 
    end 
    return false 
end 
Link to comment
عرفت الغلط

قوس زايد سطر 8

Teams = { 
    ["Police"] = true, 
    ["Army"] = true, 
    ["Swat"] = true, 
} 
setPlayerWantedLevel_ = setPlayerWantedLevel 
function setPlayerWantedLevel(plr, level) 
    local team = getPlayerTeam(plr) 
    if not (team and Teams[getTeamName(team)]) then 
        return setPlayerWantedLevel_(plr, level) 
    end 
    return false 
end 

اشتغل بس بجرب النجوم وبرد لك : )

Link to comment
عرفت الغلط

قوس زايد سطر 8

Teams = { 
    ["Police"] = true, 
    ["Army"] = true, 
    ["Swat"] = true, 
} 
setPlayerWantedLevel_ = setPlayerWantedLevel 
function setPlayerWantedLevel(plr, level) 
    local team = getPlayerTeam(plr) 
    if not (team and Teams[getTeamName(team)]) then 
        return setPlayerWantedLevel_(plr, level) 
    end 
    return false 
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...