How to detect if a player is in range of a object?
#3

Not really, as it's assigning that object a "ID" when I need the ID to be global, I suppose. I'm not too sure how to put it, honestly. Would this work? I want more than 1 object to be able to be placed. So if another player placed a object, would the ID's shift to the newest object?

pawn Код:
foreach(Player, i)
{
    if(IsPlayerNearObject(i, objectid, 3.0)
    {
        //would this detect if ANYONE is near it?
    }
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)