05.07.2012, 08:49
Quote:
Can u make short tut?
Or is possible to "buy" guns for npc? i mean ShowPlayerDialog(playerid, etc etc? |
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:
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! |
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...