hallo ich mal wieder ,
wenn man sich neu registriert spawnt man nicht man ist dann da in sf und hat einen schwarzen bildschirm.
woran könnte das liegen bitte helft mir ich drehe sonst noch durch -.-
Wichtiger Hinweis: Bitte ändert nicht manuell die Schriftfarbe auf schwarz sondern belasst es bei der Standardeinstellung. Somit tragt ihr dazu bei dass euer Text auch bei Verwendung unseren dunklen Forenstils noch lesbar ist!
Tipp: Ihr wollt längere Codeausschnitte oder Logfiles bereitstellen? Benutzt unseren eigenen PasteBin-Dienst Link
-
-
EDIT: Was für eine Version? Standart godfather?
-
Wo 'da' in SF?
Ansonsten, poste mal dein OnPlayerSpawn -
also es is ein LoH edit
wenn man sich registriert dann is alles schwarz wenn man sich nochmal einloggt spawnt man aus der luft//EDIT:
ich denk ma hier is was falsch:
public SetPlayerSpawn(playerid)
{
if(IsPlayerConnected(playerid))
{
TogglePlayerControllable(playerid, 1);
if(SpielerInfo[playerid][pTut] == 0)
{
gOoc[playerid] = 1; gNews[playerid] = 1; gFam[playerid] = 1;
TogglePlayerControllable(playerid, 0);
RegistrationStep[playerid] = 1;
ShowPlayerDialog(playerid,DIALOG_REGSTEP_1,DIALOG_STYLE_MSGBOX,"Geschlecht","Bist du Männlich oder Weiblich?","Männlich","Weiblich");
SetPlayerPos(playerid,-1834.8555,18.3044,1061.1436);
SetPlayerFacingAngle(playerid, 4.0557);
SetPlayerInterior(playerid,0);
SpielerInfo[playerid][pInt] = 0;
SetPlayerCameraPos(playerid, -1833.3828,17.7951,1061.3993);
SetPlayerCameraLookAt(playerid,-1834.5859,21.0157,1062.1665);
}
new rand;
new house = SpielerInfo[playerid][pPhousekey];
new tmpcar = GetPlayerVehicleID(playerid);
if(PlayerPaintballing[playerid] != 0)
{
SetPlayerInterior(playerid,10);
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 29, 999);
rand = random(sizeof(PaintballSpawns));
SetPlayerPos(playerid, PaintballSpawns[rand][0], PaintballSpawns[rand][1], PaintballSpawns[rand][2]);
return 1;
}
if(SpielerInfo[playerid][pJailed] == 1)
{
ResetPlayerWeapons(playerid);
SetPlayerInterior(playerid, 6);
SetPlayerPos(playerid,264.5257,77.6400,1001.0391);
SendClientMessage(playerid, COLOR_LIGHTRED, "Deine Strafe ist noch nicht vorbei, zurück in den Knast.");
return 1;
}
if(SpielerInfo[playerid][pJailed] == 2)
{
ResetPlayerWeapons(playerid);
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid,268.5777,1857.9351,9.8133);
SetPlayerWorldBounds(playerid, 337.5694,101.5826,1940.9759,1798.7453); //285.3481,96.9720,1940.9755,1799.0811
return 1;
}
if(SpielerInfo[playerid][pJailed] == 3)
{
ResetPlayerWeapons(playerid);
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid,219.3131,109.1838,999.0156);
return 1;
}
if(MedicBill[playerid] == 1 && SpielerInfo[playerid][pJailed] == 0 && PlayerPaintballing[playerid] == 0)
{
if(pTest[playerid] > 0)
{
DisablePlayerCheckpoint(playerid);
SendClientMessage(playerid,COLOR_LIGHTBLUE," Du bist Durchgefallen weil du gestorben bist!");
pTest[playerid] = 0;
GameTextForPlayer(playerid, "~r~ Durchgefallen", 5000, 3);
PlayerPlaySound(playerid, 1055, 0.0, 0.0, 0.0);
SetVehicleToRespawn(tmpcar);
TakingLesson[playerid] = 0;
SetPlayerVirtualWorld(playerid,0);
}
else if(pTestFly[playerid] > 0)
{
DisablePlayerRaceCheckpoint(playerid);
SendClientMessage(playerid,COLOR_LIGHTBLUE," Du bist Durchgefallen weil du gestorben bist!");
pTestFly[playerid] = 0;
GameTextForPlayer(playerid, "~r~ Durchgefallen", 5000, 3);
PlayerPlaySound(playerid, 1055, 0.0, 0.0, 0.0);
SetVehicleToRespawn(tmpcar);
TakingLesson[playerid] = 0;
SetPlayerVirtualWorld(playerid,0);
}
else if(DKT[playerid] > 0)
{
DisablePlayerRaceCheckpoint(playerid);
SendClientMessage(playerid,COLOR_LIGHTBLUE," Du bist Durchgefallen weil du gestorben bist!");
DKT[playerid] = 0;
GameTextForPlayer(playerid, "~r~ Durchgefallen", 5000, 3);
PlayerPlaySound(playerid, 1055, 0.0, 0.0, 0.0);
SetVehicleToRespawn(tmpcar);
TakingLesson[playerid] = 0;
SetPlayerVirtualWorld(playerid,0);
}
else if(pTestBoat[playerid] > 0)
{
DisablePlayerRaceCheckpoint(playerid);
SendClientMessage(playerid,COLOR_LIGHTBLUE," Du bist Durchgefallen weil du gestorben bist!");
pTestBoat[playerid] = 0;
GameTextForPlayer(playerid, "~r~ Durchgefallen", 5000, 3);
PlayerPlaySound(playerid, 1055, 0.0, 0.0, 0.0);
SetVehicleToRespawn(tmpcar);
TakingLesson[playerid] = 0;
SetPlayerVirtualWorld(playerid,0);
}
MedicBill[playerid] = 0;
MedicTime[playerid] = 0;
NeedMedicTime[playerid] = 0;
}
if(SpielerInfo[playerid][pSpawnChange] == 1 && house != 999)
{
if(HouseInfo[house][hMuell] < 50)
{
SetPlayerToTeamColor(playerid);
SetPlayerWeapons(playerid);
SetPlayerInterior(playerid,HouseInfo[house][hInt]);
SetPlayerPos(playerid, HouseInfo[house][hExitx], HouseInfo[house][hExity],HouseInfo[house][hExitz]); // Warp the player
SpielerInfo[playerid][pLocal] = house;
SpielerInfo[playerid][pInt] = HouseInfo[house][hInt];
return 1;
}
else
{
SetPlayerToTeamColor(playerid);
SetPlayerWeapons(playerid);
SetPlayerInterior(playerid,HouseInfo[house][hInt]);
SetPlayerPos(playerid, HouseInfo[house][hEntrancex], HouseInfo[house][hEntrancey],HouseInfo[house][hEntrancez]); // Warp the player
return 1;
}
}
if(SpielerInfo[playerid][pSpawnChange] == 0)
{if (SpielerInfo[playerid][sMember] == 1 || SpielerInfo[playerid][sLeader] == 1)//Polizei Spawn
{
OnDuty[playerid] = 0;
SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid,262.4644,71.1239,1003.2422);
SetPlayerFacingAngle(playerid, 270.0);
SetPlayerInterior(playerid,6);
SpielerInfo[playerid][pInt] = 6;
SetPlayerWeapons(playerid);
return 1;
}
if (SpielerInfo[playerid][sMember] == 2 || SpielerInfo[playerid][sLeader] == 2)//FBI
{
SetPlayerToTeamColor(playerid);
SetPlayerInterior(playerid, 10);
SetPlayerPos(playerid, 220.2969,108.5934,1010.2188);
SetPlayerFacingAngle(playerid,270);
SpielerInfo[playerid][pInt] = 10;
SetPlayerWeapons(playerid);
return 1;
}
if (SpielerInfo[playerid][sMember] == 3 || SpielerInfo[playerid][sLeader] == 3)//Army Spawn
{
SetPlayerToTeamColor(playerid);
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, 213.6955,1866.9175,13.1406);
SetPlayerFacingAngle(playerid, 270.0);
SpielerInfo[playerid][pInt] = 0;
SetPlayerWeapons(playerid);
return 1;
}
if (SpielerInfo[playerid][sMember] == 4 || SpielerInfo[playerid][sLeader] == 4)//Arzt spawn
{
SetPlayerToTeamColor(playerid);
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, 2037.8256,-1410.6281,17.1641);
SpielerInfo[playerid][pInt] = 0;
SetPlayerWeapons(playerid);
return 1;
}
if (SpielerInfo[playerid][sMember] == 5 || SpielerInfo[playerid][sLeader] == 5)//LaCosaNostra spawn
{
SetPlayerToTeamColor(playerid);
SetPlayerInterior(playerid, 1);
SetPlayerPos(playerid, 244.411987,305.032989,999.148437);
//SetPlayerFacingAngle(playerid, 43);
SpielerInfo[playerid][pInt] = 1;
SetPlayerWeapons(playerid);
return 1;
}
if (SpielerInfo[playerid][sMember] == 6 || SpielerInfo[playerid][sLeader] == 6)//Yakuza Spawn
{
//SetPlayerVirtualWorld(playerid,2);
SetPlayerToTeamColor(playerid);
SetPlayerInterior(playerid, 2);
SetPlayerPos(playerid, 2543.462646,-1308.379882,1026.728393);
SetPlayerFacingAngle(playerid, 180);
SpielerInfo[playerid][pInt] = 2;
SetPlayerWeapons(playerid);
return 1;
}
if(SpielerInfo[playerid][sLeader] == 7||SpielerInfo[playerid][sMember] == 7)//President Spawn
{
SetPlayerToTeamColor(playerid);
SetPlayerInterior(playerid, 3);
SetPlayerPos(playerid, 363.1330,172.5314,1025.7891);
SpielerInfo[playerid][pInt] = 3;
SetPlayerWeapons(playerid);
return 1;
}
if (SpielerInfo[playerid][sMember] == 8 || SpielerInfo[playerid][sLeader] == 8) //Hitman spawn
{
SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid, -381.7926,-1438.7909,25.7266);
SetPlayerInterior(playerid,0);
SetCameraBehindPlayer(playerid);
SpielerInfo[playerid][pInt] = 0;
SetPlayerWeapons(playerid);
return 1;
}
if (SpielerInfo[playerid][sMember] == 9 || SpielerInfo[playerid][sLeader] == 9) //CNN spawn
{
SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid, 384.808624,173.804992,1008.382812);
SetPlayerInterior(playerid,3);
SpielerInfo[playerid][pInt] = 3;
SetPlayerWeapons(playerid);
return 1;
}
if (SpielerInfo[playerid][sMember] == 10 || SpielerInfo[playerid][sLeader] == 10) //Taxi Cab Company spawn
{
SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid, 1252.9410,-1672.4580,12.6719);
SetPlayerFacingAngle(playerid, 0);
SetCameraBehindPlayer(playerid);
SetPlayerInterior(playerid,0);
SpielerInfo[playerid][pInt] = 0;
SetPlayerWeapons(playerid);
return 1;
}
if (SpielerInfo[playerid][sMember] == 11 || SpielerInfo[playerid][sLeader] == 11) //BUGGY
{
SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid, 2570.3564,-1284.6008,1060.9844);
SetPlayerFacingAngle(playerid, 139);
SetPlayerInterior(playerid,2);
SpielerInfo[playerid][pInt] = 2;
SetPlayerWeapons(playerid);
return 1;
}
if (SpielerInfo[playerid][sMember] == 12 || SpielerInfo[playerid][sLeader] == 12) //CRIPS FAMILIY
{
SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid,2527.654052,-1679.388305,1015.498596);
SetPlayerInterior(playerid,1);
SpielerInfo[playerid][pInt] = 1;
//SetPlayerVirtualWorld(playerid,12);
SetPlayerWeapons(playerid);
return 1;
}
if (SpielerInfo[playerid][sMember] == 13 || SpielerInfo[playerid][sLeader] == 13) //BLOODS GANG
{
SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid,302.180999,300.722991,999.148437);
//SetPlayerFacingAngle(playerid,281.6475);
SetPlayerInterior(playerid,4);
SpielerInfo[playerid][pInt] = 4;
//SetPlayerVirtualWorld(playerid,13);
SetPlayerWeapons(playerid);
return 1;
}
if (SpielerInfo[playerid][sMember] == 14 || SpielerInfo[playerid][sLeader] == 14) //Los Santos MS13
{
SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid,2808.2705,-1169.3121,1025.5703);
SetPlayerFacingAngle(playerid,88.9785);
SetPlayerInterior(playerid,8);
SpielerInfo[playerid][pInt] = 8;
SetPlayerVirtualWorld(playerid,14);
SetPlayerWeapons(playerid);
return 1;
}
if (SpielerInfo[playerid][sMember] == 15 || SpielerInfo[playerid][sLeader] == 15)//need for speed
{
SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid,2808.2705,-1169.3121,1025.5703);
SetPlayerFacingAngle(playerid,88.9785);
SetPlayerInterior(playerid,8);
SpielerInfo[playerid][pInt] = 8;
SetPlayerVirtualWorld(playerid,15);
SetPlayerWeapons(playerid);
return 1;
}
if (SpielerInfo[playerid][sMember] == 16 || SpielerInfo[playerid][sLeader] == 16) //OUTLAWS
{
SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid, 2350.339843,-1181.649902,1027.976562);
//SetPlayerFacingAngle(playerid, 139);
SetPlayerInterior(playerid,5);
SpielerInfo[playerid][pInt] = 5;
SetPlayerWeapons(playerid);
return 1;
}
if (SpielerInfo[playerid][sMember] == 17 || SpielerInfo[playerid][sLeader] == 17)//URC
{
SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid,322.197998,302.497985,999.148437);
SetPlayerInterior(playerid,5);
SpielerInfo[playerid][pInt] = 5;
//SetPlayerVirtualWorld(playerid,17);
SetPlayerWeapons(playerid);
return 1;
}
if (SpielerInfo[playerid][sMember] == 18 || SpielerInfo[playerid][sLeader] == 18) //O-Amt
{
SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid, 1768.3827,-2041.4266,13.5299);
SetPlayerFacingAngle(playerid, 271);
SetPlayerInterior(playerid,0);
SpielerInfo[playerid][pInt] = 0;
SetPlayerWeapons(playerid);
return 1;
}
if (SpielerInfo[playerid][sMember] == 19 || SpielerInfo[playerid][sLeader] == 19) //Partisans
{
SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid,-957.7096,1945.1356,9.0000);
//SetPlayerFacingAngle(playerid,180);
SetPlayerInterior(playerid,17);
SpielerInfo[playerid][pInt] = 17;
SetPlayerWeapons(playerid);
return 1;
}
if (SpielerInfo[playerid][sMember] == 20 || SpielerInfo[playerid][sLeader] == 20) //Triaden
{
SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid,1523.509887,-47.821197,1002.130981);
SetPlayerInterior(playerid,2);
SpielerInfo[playerid][pInt] = 2;
//SetPlayerVirtualWorld(playerid,20);
SetPlayerWeapons(playerid);
return 1;
}
if (SpielerInfo[playerid][sMember] == 21 || SpielerInfo[playerid][sLeader] == 21) //MARA
{
SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid,2496.049804,-1695.238159,1014.742187);
SetPlayerInterior(playerid,3);
SpielerInfo[playerid][pInt] = 3;
//SetPlayerVirtualWorld(playerid,21);
SetPlayerWeapons(playerid);
return 1;
}
if (SpielerInfo[playerid][sMember] == 22 || SpielerInfo[playerid][sLeader] == 22) //juarez
{
SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid,1527.229980,-11.574499,1002.097106);
SetPlayerInterior(playerid,3);
SpielerInfo[playerid][pInt] = 3;
//SetPlayerVirtualWorld(playerid,21);
SetPlayerWeapons(playerid);
return 1;
}
}
}
else
{
SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid, 1772.8477,-1941.1484,13.5666); //1129.2047,-1489.1949,22.7690
SetPlayerFacingAngle(playerid, 315);
//SetPlayerInterior(playerid,0);
SetCameraBehindPlayer(playerid);
return 1;
}return 1;
} -
das gleiche Prob habe ich auch...
Im Home Server falle ich aus der Luft.
Vom Sponsor router nicht..
ich weiss auch nicht woran es liegt -
bei mir bei samp4you is es so
ich guck gleich auf meinem root nochma//EDIT: also ich spawne halt ersma da wo ein bot anfägt zu fahren der aber nicht geht.
und beim zweiten mal fall ich immer wieder vom himmelbitte leute helft mir ich verzweifel noch
-
breadfish.de
Hat das Thema geschlossen.