How can i make if i say "Hello trader" near NPC Bot Dialog will open
#2

OnPlayertext;
Code:
if(!strcmp(text,"Hello trader", true))
{
new Float:x,Float:y,Float:z;
GetPlayerPos(BOTID,x,y,z); //change BOTID
if(!IsPlayerInRageOfPoint(playerid,10,x,y,z)) return 1;
ShowPlayerDialog(playerid, ..... );
return 0;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)