01.09.2014, 10:28
How i can make or give me IsPlayerNearNpc
Or give me sample i need stock IsPlayerNearNpc(playeri, npcid)
Like that ...
Or give me sample i need stock IsPlayerNearNpc(playeri, npcid)
Like that ...
stock IsPlayerNearNPC(playerid, npcid)
{
new Float:x, Float:y, Float:z;
FCNPC_GetPosition(npcid, x, y, z);
return IsPlayerInRangeOfPoint(playerid, 5.0, x, y, z); // Change 5.0 to the range you want.
}