Jump to content

Не могу сделать...


Recommended Posts

Выручайте ребята! Не могу задать движение для бота,и еще не знаю как выдать оружку.Подскажите,а?

     function PedCreate ( jack ) 
           local ArmyPed = createPed ( 287, -758.37768554688, 1020.44647, 19.784397125244 )  --\\\\ Скин: 287,позиция х,у,z 
           createBlip ( 3 , -758.37768554688, 1020.44647, 19.784397125244 ) 
end 
addEventHandler ( "onResourceStart", getResourceRootElement(), PedCreate ) 
     function TargetPed () 
            if ( ArmyPed ) then  
            setPedAimTarget ( jack, -768.37768554688, 1020.44647, 19.784397125244 )  ---\\\идти педу "ArmyPed" к позиции "10х,10у" 
            end 
            if ( ArmyPed ) then 
            OutChatBox ("Ped succesfuly created")           -----\\\\сообщение в чат. 
            end 
     end 
addEventHandler ( "onResourceStart", getResourceRootElement(), TargetPed ) 

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