Need A Func to get in front of player for an object
#1

Hi All,
i think Title can say what i need

but any way i'll say again

I'm creating a new system/include and i need to
get object that is in front of player like this



PHP код:
 if(GetObjectInFrontOfPlayer(playerid) == Objectid)
{
 
// Codes


Or this one


PHP код:
 if(IsObjectInFrontOfPlayer(playerid Objectid))
{
 
// Codes



each of them that any of you can help me on taht please help

Really need it


+REP is your prise
Reply
#2

use loop
Reply
#3

how ?!
and you don't think there's a lot of object near my object that i want to get ?!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)