Drift NPC Tutorial please help..
#1

hey all, i made a bot (npc) which drift on bigear road to the bottom.
Once it reaches the bottom it stays there because i removed auto start all the time.

Now i was wondering is it possible to make like if player type "/drift1tut" bot will show up and drift it and he will stay at the bottom until someone else calls him "/drift1tut" and he respawn..

i did this too:

Quote:

if (strcmp(cmdtext, "/drift1tut", true)==0)
{
ConnectNPC("drifter1","drifter1");
return 1;
}

This spawns the bot and he drives to the bottom and stops, thats was kinda what i want, but if i type /drift1tut again nothing happens ofc because he is already connected..

I wonder maybe there is a way that he will reach the bottom and disconnect automaticaly then people type that command and connect him again or something?..

I spent figuring it out 3 hrs trying all diff ways but i still cant get it to respawn..

id be really happy if someone could help me out here

thank you
Reply


Messages In This Thread
Drift NPC Tutorial please help.. - by audifan00 - 10.11.2010, 00:56
Re: Drift NPC Tutorial please help.. - by Kwarde - 10.11.2010, 05:16
Re: Drift NPC Tutorial please help.. - by audifan00 - 10.11.2010, 09:32
Re: Drift NPC Tutorial please help.. - by audifan00 - 10.11.2010, 09:35
Re: Drift NPC Tutorial please help.. - by audifan00 - 10.11.2010, 09:53
Re: Drift NPC Tutorial please help.. - by Kwarde - 10.11.2010, 12:52
Re: Drift NPC Tutorial please help.. - by Rainbow_Six - 10.11.2010, 13:15
Re: Drift NPC Tutorial please help.. - by TyreXel - 10.11.2010, 13:24
Re: Drift NPC Tutorial please help.. - by audifan00 - 10.11.2010, 13:48
Re: Drift NPC Tutorial please help.. - by audifan00 - 10.11.2010, 13:55

Forum Jump:


Users browsing this thread: 3 Guest(s)