roby65 Posted October 2, 2007 Share Posted October 2, 2007 How can i make an actor to shoot to the player??? i can't fined the opcode in sanny builder! Link to comment Share on other sites More sharing options...
Wesser Posted October 2, 2007 Share Posted October 2, 2007 Hi, @roby65 don't worry! Use the opcode 05E2 or 07A5. 05E2=2,AS_actor %1d% attack_actor %2d% 05E2=2,AS_actor [email protected] attack_actor $PLAYER_ACTOR 07A5=3,AS_actor %1h% attack_actor %2d% timelimit %3d% 07A5=3,AS_actor [email protected] attack_actor $PLAYER_ACTOR timelimit 1000 Bye Bye 012 345 678 9A BCD EFG HIJK LMN OPQR STUV WX YZ Link to comment Share on other sites More sharing options...
roby65 Posted October 2, 2007 Author Share Posted October 2, 2007 this is the code i use: 009A: $CAR1 = create_actor_pedtype 4 model #MALE01 at $POS_X $POS_Y $POS_Z05E2: AS_actor $CAR1 kill_actor $PLAYER_CHAR result: the actor stands on the spawn point.....and nothing else! Link to comment Share on other sites More sharing options...
Wesser Posted October 2, 2007 Share Posted October 2, 2007 Hi, this is the code i use: 009A: $CAR1 = create_actor_pedtype 4 model #MALE01 at $POS_X $POS_Y $POS_Z05E2: AS_actor $CAR1 kill_actor $PLAYER_CHAR result: the actor stands on the spawn point.....and nothing else! @roby65 those opcodes have need the $PLAYER_ACTOR variable not $PLAYER_CHAR. It will works without any problems. Bye Bye 012 345 678 9A BCD EFG HIJK LMN OPQR STUV WX YZ Link to comment Share on other sites More sharing options...
coin-god Posted October 2, 2007 Share Posted October 2, 2007 this is the code i use: 009A: $CAR1 = create_actor_pedtype 4 model #MALE01 at $POS_X $POS_Y $POS_Z05E2: AS_actor $CAR1 kill_actor $PLAYER_CHAR result: the actor stands on the spawn point.....and nothing else! gave him a gun to shot at Player_ACTOR or he will hit him. Link to comment Share on other sites More sharing options...
roby65 Posted October 2, 2007 Author Share Posted October 2, 2007 to give him a gun, i have to first request the model? Link to comment Share on other sites More sharing options...
Wesser Posted October 2, 2007 Share Posted October 2, 2007 Hi, Yes, is clear. If you don't do this the game crash. Bye Bye 012 345 678 9A BCD EFG HIJK LMN OPQR STUV WX YZ Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now