oke first sorry bad english
Add your npcs in your gamemode not fs i have the same problem i have fixed with it
//place this ont te beginnig of your script
new Bot1Vehicle;
new Bot2Vehicle;
new Bot3Vehicle;
//under gamemode init
ConnectNPC("TrainLV","train_lv");
ConnectNPC("TrainSF","train_sf");
ConnectNPC("TrainLS","train_ls");
Bot1Vehicle = CreateVehicle(449, 0.0, 0.0, 5.0, 0.0, 3, 3, 5000);
Bot2Vehicle = CreateVehicle(449, 0.0, 0.0, 5.0, 0.0, 3, 3, 5000);
Bot3Vehicle = CreateVehicle(449, 0.0, 0.0, 5.0, 0.0, 3, 3, 5000);
//under on player spawn
if(IsPlayerNPC(playerid))
{
new npcname[MAX_PLAYER_NAME];
GetPlayerName(playerid, npcname, sizeof(npcname));
if(!strcmp(npcname, "TrainLV", true))return PutPlayerInVehicle(playerid, Bot1Vehicle, 0);
if(!strcmp(npcname, "TrainSF", true))return PutPlayerInVehicle(playerid, Bot2Vehicle, 0);
if(!strcmp(npcname, "TrainLS", true))return PutPlayerInVehicle(playerid, Bot3Vehicle, 0);
}
//now it works i mean else sorry
grezz nate
Bonus-----------------------------------------------------------------------------
//place this ont te beginnig of your script
forward NpcBubble();
//under gamemode init
SetTimer("NpcBubble", 5000, 1);
//end of script
public NpcBubble()
{
for(new playerid=0; playerid<MAX_PLAYERS; playerid++)
{
if(IsPlayerNPC(playerid))
{
new bubbles[25];
format(bubbles,sizeof(bubbles),"[BOT]Driver");
SetPlayerChatBubble(playerid,bubbles,0x33CCFFAA,50 0,7000);
SetPlayerColor(playerid,0x33CCFFAA);
}
}
}