[Tutorial] Everything about NPCs - creating and controlling them
#12

Quote:
Originally Posted by Coder_
View Post
Can u make short tut?
Or is possible to "buy" guns for npc?
i mean
ShowPlayerDialog(playerid, etc etc?
As I said it will be really hard and by thinking about it again, there's no way to set the NPC aiming point to the player if the player is in a different height from the NPC. And for your question, i'm pretty sure that it's possible to give the NPC a weapon as he is almost like a normal player.

Anyway I'll not make any tutorial because scripting what you've asked is not easy if even possible, but i'm sure that SA-MP team will sometime add such options for NPCs.

Quote:
Originally Posted by Hiddos
View Post
I think I tried communication with NPCs using CallRemoteFunction and it didn't work, if I recall correctly.

In addition, I'd add a few lines about how to communicate with NPCs using text (not just SendClientMessage, but also OnClientMessage. Perhaps you could also add a small link to botsync, an include by Y_Less for easy communication between bot and gamemode/filterscript (not required, but could give people an example)?

Otherwise, this looks like a good tutorial. Keep it up!
By the mention of SendClientMessage it meant to use with OnClientMessage.
About the include - didn't knew it's exist However it's a fine way to communicate between both scripts, i'll add a link for it. Too bad I haven't seen that before...
Reply


Messages In This Thread
Everything about NPCs - creating and controlling them - by Amit_B - 29.06.2012, 20:30
Re: Everything about NPCs - creating and controlling them - by AndreT - 29.06.2012, 20:51
Re: Everything about NPCs - creating and controlling them - by Amit_B - 29.06.2012, 20:58
Re: Everything about NPCs - creating and controlling them - by ErzaNatsu - 30.06.2012, 00:13
Re: Everything about NPCs - creating and controlling them - by Luis- - 30.06.2012, 01:11
Re: Everything about NPCs - creating and controlling them - by vassilis - 30.06.2012, 12:33
Re: Everything about NPCs - creating and controlling them - by Nicholas. - 02.07.2012, 00:20
Re: Everything about NPCs - creating and controlling them - by Coder_ - 04.07.2012, 17:58
Re: Everything about NPCs - creating and controlling them - by Amit_B - 04.07.2012, 18:55
Re: Everything about NPCs - creating and controlling them - by Coder_ - 04.07.2012, 18:58
Re: Everything about NPCs - creating and controlling them - by Hiddos - 04.07.2012, 19:09
Re: Everything about NPCs - creating and controlling them - by Amit_B - 05.07.2012, 08:49
Re: Everything about NPCs - creating and controlling them - by Hiddos - 05.07.2012, 09:59
Re: Everything about NPCs - creating and controlling them - by Saadat - 15.03.2013, 06:07
Re: Everything about NPCs - creating and controlling them - by omidi - 15.12.2013, 13:49
Re: Everything about NPCs - creating and controlling them - by ammaz - 16.07.2015, 03:31
Re: Everything about NPCs - creating and controlling them - by yugecin - 16.07.2015, 15:35

Forum Jump:


Users browsing this thread: 2 Guest(s)