25.09.2013, 12:38
Store the vehicle id in a variable under OnGameModeInit or OnFilterScriptInit and spawn the NPC regularly. But under OnPlayerSpawn at the top, you can do something like this:
pawn Код:
if(IsPlayerNPC(playerid))
{
if(!strcmp(playerName(playerid), "FlightToSF"))
{
PutPlayerInVehicle(playerid, Flight1, 0);
}
return 1;
}