hier der Ausschnitt des Codes, denn ich als neustes eingefügt habe
public OnPlayerSpawn(playerid)
{
if(IsPlayerNPC(playerid))
{
new playername[64];
GetPlayerName(playerid,playername,64);
if(!strcmp(playername,"TutorialBot",true))
{
Attach3DTextLabelToPlayer(Linie1 Richtung BSN-OAMT-LSPD,playerid,0.0,0.0,0.45);
SetPlayerSkin(playerid,205);
SetPlayerPos(playerid,376.0649,-65.4647,1001.5078);
SetPlayerFacingAngle(playerid,177.8031);
pCarLic[playerid]=1;
PutPlayerInVehicle(playerid,botauto1,0);
return 1;
}
new playername[64];
GetPlayerName(playerid,playername,64);
if(!strcmp(playername,"TutorialBot2",true))
{
Attach3DTextLabelToPlayer(Linie2 Richtung SanFierro über LosSantos Innenstadt,playerid,0.0,0.0,0.45);
SetPlayerSkin(playerid,205);
SetPlayerPos(playerid,376.0649,-65.4647,1001.5078);
SetPlayerFacingAngle(playerid,177.8031);
pCarLic[playerid]=1;
PutPlayerInVehicle(playerid,botauto2,0);
return 1;
}
new playername[64];
GetPlayerName(playerid,playername,64);
if(!strcmp(playername,"Zugbot",true))
{
Attach3DTextLabelToPlayer(Zugbot Los-Santos,playerid,0.0,0.0,0.45);
SetPlayerSkin(playerid,205);
SetPlayerPos(playerid,376.0649,-65.4647,1001.5078);
SetPlayerFacingAngle(playerid,177.8031);
pCarLic[playerid]=1
PutPlayerInVehicle(playerid,Zugbot,0);
return 1;
}
new playername[64];
GetPlayerName(playerid,playername,64);
if(!strcmp(playername,"Zugbot2",true))
{
Attach3DTextLabelToPlayer(Zugbot Los-Santos,playerid,0.0,0.0,0.45);
SetPlayerSkin(playerid,205);
SetPlayerPos(playerid,376.0649,-65.4647,1001.5078);
SetPlayerFacingAngle(playerid,177.8031);
pCarLic[playerid]=1;
PutPlayerInVehicle(playerid,Zugbot2,0);
return 1;
}
new playername[64];
GetPlayerName(playerid,playername,64);
if(!strcmp(playername,"Flugbot",true))
{
Attach3DTextLabelToPlayer(Zugbot Los-Santos,playerid,0.0,0.0,0.45);
SetPlayerSkin(playerid,205);
SetPlayerPos(playerid,376.0649,-65.4647,1001.5078);
SetPlayerFacingAngle(playerid,177.8031);
pFlyLic[playerid]=1;
PutPlayerInVehicle(playerid,Flugbot,0);
return 1;
}