Jump to content

مساعدة كيف اخلي البوت يهاجم اللاعب


AliE3S

Recommended Posts

function firepedBankFN2()

setPedControlState(PedBank1, "aim_weapon",true) 
setPedControlState(PedBank1, "fire", true) 
setPedAimTarget (PedBank1, x, y, z )
setPedCameraRotation (PedBank1, x, y, z , true)

end

function firepedBankFN1()

setPedControlState(PedBank1, "fire", false) 
setPedAimTarget (PedBank1, x, y, z )
setTimer(firepedBankFN2, 1500, 0)
outputChatBox ("fire",255, 0,0)
end
setTimer(firepedBankFN1, 2000, 0)

اذا اشتقل الفانكشن يحدد مكان الاعب مرا وحدة بس و يبقا يطلق علي الماكن 

 

 

 

 

 

x, y, z = getElementPosition(localPlayer)

fvv = createMarker(891.00372, -1046.92542, 31.60156,"cylinder",1.3,255,200,0,255)

PedBank1 = createPed (0,879.64978, -1028.60767, 31.90541)
wep = givePedWeapon(PedBank1,31,10000, true)
setPedArmor (PedBank1,50)

Link to comment
21 minutes ago, AliE3S said:

 

 

x, y, z = getElementPosition(localPlayer)

fvv = createMarker(891.00372, -1046.92542, 31.60156,"cylinder",1.3,255,200,0,255)

PedBank1 = createPed (0,879.64978, -1028.60767, 31.90541)
wep = givePedWeapon(PedBank1,31,10000, true)
setPedArmor (PedBank1,50)

 

 

 

function firepedBankFN2()

setPedControlState(PedBank1, "aim_weapon",true) 
setPedControlState(PedBank1, "fire", true) 
setPedAimTarget (PedBank1, x, y, z )
setPedCameraRotation (PedBank1, x, y, z , true)

end

function firepedBankFN1()

setPedControlState(PedBank1, "fire", false) 
setPedAimTarget (PedBank1, x, y, z )
setTimer(firepedBankFN2, 1500, 0)
outputChatBox ("fire",255, 0,0)
end
setTimer(firepedBankFN1, 2000, 0)

اذا اشتقل الفانكشن يحدد مكان الاعب مرا وحدة بس و يبقا يطلق علي الماكن 

 

 

 

 

 

 

 

a

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