Is this possible?
#2

This will check if the player is near to the object (within radius):

PHP код:
stock IsPlayerCloseToObject(playeridobjectidFloat:radius)
{
    new 
Float:xFloat:yFloat:z;
    
GetObjectPos(objectidxyz);
    if(
IsPlayerInRangeOfPoint(playeridradiusxyz)) { return 1; }
    return 
0;

Reply


Messages In This Thread
Is this possible? - by AgentZero - 01.07.2011, 03:28
Re: Is this possible? - by Shadoww5 - 01.07.2011, 03:38
Re: Is this possible? - by AgentZero - 01.07.2011, 03:42
Re: Is this possible? - by BigETI - 01.07.2011, 03:55
Re: Is this possible? - by AgentZero - 01.07.2011, 04:12

Forum Jump:


Users browsing this thread: 1 Guest(s)