Control npc
#10

Quote:
Originally Posted by Sew_Sumi
Quote:
Originally Posted by (|Mad_hero|)
A NPC is a recording you make is npc_record so it can do as you put this recording loops else you be smart and put a timer in the code to get it to give it every so and so but that will take you ages to make,

So no you cant unless you think of another way

-Mad_hero
Sorry, But yes he may just be able to...

Using GetXYInFrontOfPlayer and Pauseing the playback when it gets to the start of the recording. unpausing when a player comes in. Then, Returning to the start of the recording to loop.

However, You cannot get them to hand out pizza unless you use an object, and with that, comes the problem, that you'll have to figure out where that object is, and move it with the bots hands to make it look cool.

The taxi NPC script that is default with SAMP 0.3 server has and example of GetXYInFrontOfPlayer.
Your on somthing there, but it will take more than 3 weeks to get it workinh no bugs...
like timing and geting parts to move right,
we on about 3000 lines for 1 pizza guy here or somthinmg...
Reply


Messages In This Thread
Control npc - by hipy - 02.09.2009, 09:59
Re: Control npc - by sebihunter - 02.09.2009, 10:06
Re: Control npc - by pliva_sb - 02.09.2009, 10:18
Re: Control npc - by hipy - 02.09.2009, 10:25
Re: Control npc - by Redirect Left - 02.09.2009, 10:43
Re: Control npc - by hipy - 02.09.2009, 10:47
Re: Control npc - by Moustafa - 02.09.2009, 11:07
Re: Control npc - by denbo1 - 14.11.2009, 17:56
Re: Control npc - by Sew_Sumi - 14.11.2009, 22:35
Re: Control npc - by denbo1 - 18.11.2009, 12:30
Re: Control npc - by breakpaper - 18.11.2009, 12:32

Forum Jump:


Users browsing this thread: 1 Guest(s)