30.07.2010, 09:03
Here you go
pawn Код:
public OnPlayerUpdate(playerid)
{
new Float:x,Float:y,Float:z;
GetPlayerPos(YOUR_NPC_ID,x,y,z);
if(IsPlayerInRangeOfPoint(playerid,3.0,x,y,z))
{
SendClientMessage(playerid,0xFFFFFFFF,"NPC Says: hello, Im NPC, what can I do for you?");
}
return 1;
}