Scheine habe noch nicht mit drinne aber Register/Login sollte er eigendlich überspringen:
ConnectNPC("BusBot","bus_ls_linie1");
----------------------------------------------------------------
public OnPlayerRequestClass(playerid, classid)
{
if(IsPlayerNPC(playerid))
{
SetSpawnInfo(playerid, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
SpawnPlayer(playerid);
return 1;
}
usw...
------------------------------------------------
public OnPlayerConnect(playerid)
{
if(IsPlayerNPC(playerid)) return 1;
usw...
------------------------------------------------------
public OnPlayerSpawn(playerid)
{
if(IsPlayerNPC(playerid))
{
if(!strcmp(SpielerName(playerid), "BusBot", true))
{
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid,0);
SetPlayerSkin(playerid,98);
PutPlayerInVehicle(playerid,BotCar,0);
SpielerInfo[playerid][pLoggedin] = true;
}
printf("[NPC]: Bot: %s ist gespawnt!",SpielerName(playerid));
return 1;
}
usw...