NPC :(
#6

OnGameModeInt
{
ConnectNPC("TRAIN_DRIVER_NAME_HERE_IN_OTHER_WORDS" , "FILTER_SCRIPT_HERE_INS'T_IT_?");
return 1;
}
OnPlayerConnect(playerid)
{
if(IsPlayerNPC(playerid))
{
PutPlayerInVehicle(playerid, YOUR_TRAIN);
}
return 1;
}

you can also check V1ceC1ty's NPCs scripts it can explain everything
or
http://forum.sa-mp.com/index.php?topic=119947.0
Reply


Messages In This Thread
NPC :( - by Manku - 15.09.2009, 14:38
Re: NPC :( - by Sayaron - 15.09.2009, 14:56
Re: NPC :( - by brett7 - 15.09.2009, 15:10
Re: NPC :( - by Manku - 15.09.2009, 16:13
Re: NPC :( - by Sayaron - 15.09.2009, 16:51
Re: NPC :( - by Daem - 15.09.2009, 17:08
Re: NPC :( - by Sayaron - 15.09.2009, 17:59
Re: NPC :( - by V1ceC1ty - 16.09.2009, 00:23

Forum Jump:


Users browsing this thread: 1 Guest(s)