Thread
:
Check if a player is on a wall.
View Single Post
#
3
07-24-2011, 03:10 PM
Emera
Delterian Hybrid
Join Date: Mar 2011
Location: Newcastle Upon-Tyne
Posts: 1,704
Quote:
Originally Posted by
Crow
PHP Code:
onwall
(
float x
,
float y
)
onwall2
(
float x
,
float y
,
float width
,
float height
)
Keep in mind onwall2 uses the same algorithms as the polygons, making it a bit faulty.
player.onwall player.x, player.y?
__________________
Emera
View Public Profile
View GraalOnline Profile
Find all posts by Emera