Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Fire an arrow?


YuraguKoto
 Share

Recommended Posts

Yea, you would use this command:
**Call** FireArrow(Index, Arrow, Direction)
Where:
Arrow -> The arrow number to fire
Direction -> The direction for the arrow to go (0=Up, 1=down, 2=left, 3=right).
So if you wanted the user to fire the arrow number 3, in the same direction he's facing, it would be:
**Call** FireArrow(Index, 3, GetPlayerDir(Index))
Link to comment
Share on other sites

@Admiral:

> Yea, you would use this command:
> **Call** FireArrow(Index, Arrow, Direction)
> Where:
> Arrow -> The arrow number to fire
> Direction -> The direction for the arrow to go (0=Up, 1=down, 2=left, 3=right).
> So if you wanted the user to fire the arrow number 3, in the same direction he's facing, it would be:
> **Call** FireArrow(Index, 3, GetPlayerDir(Index))

ZOMG, With that code i could make arrows shoot in all directions o.O.
Wait if i make it loop through all players everyone would start shooting arrows into all directions, zomg awesome.

Regards, Xeross
Link to comment
Share on other sites

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
 Share

×
×
  • Create New...