sry i was gone for so long, i was out of town...
I ran into a little problem, i'm using an origin with 3 coordinates. So i need to make a check at that origin for the entities. Also how can i check if the entity at the origin is a player?
Something like:
PHP Code:
static Float:Origin[3]
//i'm using a stock that returns the coordinates of the origin
if (equal(entity at origin, "func_door"))
{
// This is a door...
}
//How do i check if it's a player?
if (equal(entity at origin, Player))
{
// This is a player...
}