Dann zeige bitte deinen Code von OnPlayerRequestSpawn und OnPlayerSpawn.
public OnPlayerSpawn(playerid)
{
new string[256];
if(IsPlayerNPC(playerid))
{
if(!strcmp(SpielerName(playerid),"[BOT]PanzerBot",true))
{
Spieler[playerid][pGrundwehrdienst] = 1;
Spieler[playerid][pPlaneLic] = 1;
Spieler[playerid][pHeliLic] = 1;
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid,0);
SetPlayerSkin(playerid,287);
PutPlayerInVehicleEx(playerid,BOTArmyPanzer,0);
}
if(!strcmp(SpielerName(playerid),"[BOT]ZugBot",true))
{
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid,0);
SetPlayerSkin(playerid,98);
PutPlayerInVehicleEx(playerid,BOTZug,0);
}
if(!strcmp(SpielerName(playerid),"[BOT]Shamal",true))
{
Spieler[playerid][pPlaneLic] = 1;
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid,0);
SetPlayerSkin(playerid,61);
PutPlayerInVehicleEx(playerid,BOTshamal,0);
}
if(!strcmp(SpielerName(playerid),"[BOT]AT400",true))
{
Spieler[playerid][pPlaneLic] = 1;
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid,0);
SetPlayerSkin(playerid,61);
PutPlayerInVehicleEx(playerid,BOTat400,0);
}
if(!strcmp(SpielerName(playerid),"[BOT]OpiumDealer",true))//opiumdealer
{
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid,0);
SetPlayerSkin(playerid,29);
SetPlayerPosEx(playerid,-1890.7620,-205.5517,14.3058);
SetPlayerFacingAngle(playerid,272.1447);
}
if(!strcmp(SpielerName(playerid),"[BOT]DKDealer",true))//Ganjakokadealer
{
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid,0);
SetPlayerSkin(playerid,28);
SetPlayerPosEx(playerid,1299.7727,-854.0055,43.5333);
SetPlayerFacingAngle(playerid,125.0721);
}
if(!strcmp(SpielerName(playerid),"[BOT]F.NinowBot",true))
{
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid,0);
SetPlayerSkin(playerid,98);
PutPlayerInVehicleEx(playerid,BOTtramsf,0);
}
if(!strcmp(SpielerName(playerid),"[BOT]C4Transport",true))
{
Spieler[playerid][pGrundwehrdienst] = 1;
Spieler[playerid][pPlaneLic] = 1;
Spieler[playerid][pHeliLic] = 1;
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid,0);
SetPlayerSkin(playerid,287);
PutPlayerInVehicleEx(playerid,BOTarmytransport,0);
}
if(!strcmp(SpielerName(playerid),"[BOT]Bank",true))
{
SetPlayerSkin(playerid,11);
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid,1);
}
if(!strcmp(SpielerName(playerid),"[BOT]Antibot",true))
{
new changeskin = random(11);
switch(changeskin)
{
case 0: SetPlayerSkin(playerid,26);
case 1: SetPlayerSkin(playerid,51);
case 2: SetPlayerSkin(playerid,78);
case 3: SetPlayerSkin(playerid,94);
case 4: SetPlayerSkin(playerid,101);
case 5: SetPlayerSkin(playerid,137);
case 6: SetPlayerSkin(playerid,167);
case 7: SetPlayerSkin(playerid,205);
case 8: SetPlayerSkin(playerid,264);
case 9: SetPlayerSkin(playerid,239);
case 10: SetPlayerSkin(playerid,230);
case 11: SetPlayerSkin(playerid,289);
}
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid,1);
}
if(!strcmp(SpielerName(playerid),"[BOT]StadthalleLS",true))
{
SetPlayerSkin(playerid,11);
SetPlayerInterior(playerid,3);
SetPlayerVirtualWorld(playerid,0);
}
if(!strcmp(SpielerName(playerid),"[BOT]StadthalleSF",true))
{
SetPlayerSkin(playerid,11);
SetPlayerInterior(playerid,3);
SetPlayerVirtualWorld(playerid,1);
}
if(!strcmp(SpielerName(playerid),"[BOT]Prister",true))
{
SetPlayerSkin(playerid,68);
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid,1);
}
if(!strcmp(SpielerName(playerid),"[BOT]DruckereiBot",true))
{
SetPlayerSkin(playerid,112);
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid,0);
}
if(!strcmp(SpielerName(playerid),"[BOT]TintenBot",true))
{
SetPlayerSkin(playerid,124);
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid,0);
}
if(!strcmp(SpielerName(playerid),"[BOT]SchmugglerBS",true))//skin ändern
{
SetPlayerSkin(playerid,124);
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid,0);
}
if(!strcmp(SpielerName(playerid),"[BOT]SchmugglerLV",true))
{
SetPlayerSkin(playerid,124);
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid,0);
}
if(!strcmp(SpielerName(playerid),"[BOT]SchmugglerSF",true))
{
SetPlayerSkin(playerid,124);
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid,0);
}
if(!strcmp(SpielerName(playerid),"[BOT]ShopManLV",true))
{
SetPlayerSkin(playerid,124);
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid,0);
}
if(!strcmp(SpielerName(playerid),"[BOT]HackerHelper",true))
{
SetPlayerSkin(playerid,124);
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid,0);
}
if(!strcmp(SpielerName(playerid),"[BOT]LuigiSF",true))
{
SetPlayerSkin(playerid,124);
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid,0);
}
return 1;
}
public OnPlayerRequestSpawn(playerid)
{
if(IsPlayerNPC(playerid))return 1;
return 1;
}