SA-MP Forums Archive
Simple NPC Question - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Simple NPC Question (/showthread.php?tid=237435)



Simple NPC Question - hadzx - 09.03.2011

Is It Possable To Make A Command /npcgo And It Makes The Npc Playback A Recorded File? Thanks


Re: Simple NPC Question - hadzx - 09.03.2011

sorry to bump but please?:P


Re: Simple NPC Question - mprofitt - 09.03.2011

Quote:
Originally Posted by hadzx
Посмотреть сообщение
Is It Possable To Make A Command /npcgo And It Makes The Npc Playback A Recorded File? Thanks
yes!


Re: Simple NPC Question - hadzx - 09.03.2011

Quote:
Originally Posted by mprofitt
Посмотреть сообщение
yes!

how would i make it?


Re: Simple NPC Question - hadzx - 10.03.2011

bump how would i make it


Re: Simple NPC Question - Riddick94 - 10.03.2011

To record? download server from Sa-Mp and look for npc_record file in filterscripts. You can check a commands in there.


Re: Simple NPC Question - hadzx - 10.03.2011

Quote:
Originally Posted by Riddick94
Посмотреть сообщение
To record? download server from Sa-Mp and look for npc_record file in filterscripts. You can check a commands in there.

no i want a command like /npcgo and it starts playing a recorded file so i can make a boat bot and if i type /cross the boat bot will drive to the other side


Re: Simple NPC Question - Mean - 10.03.2011

Record 2 NPCS, when you type /npcgo, kick it and connect another NPC driving.


Re: Simple NPC Question - hadzx - 10.03.2011

Quote:
Originally Posted by Mean
Посмотреть сообщение
Record 2 NPCS, when you type /npcgo, kick it and connect another NPC driving.
good idea but crazybobs doesnt do that his just starts driving


AW: Simple NPC Question - Nero_3D - 10.03.2011

I think he just got somewhere in the npc script his StartRecordingPlayback

if its in OnNPCEnterVehicle he just need to put him again in a vehicle (PutPlayerInVehicle)

and if its in OnNPCSpawn he just need to respawn him (SpawnPlayer)