Hallo,
ich bin derzeit drann ein neues Selfmade zu schreiben aber meine Fraktions spawnt nicht sondern da kommt ein großer Schwazer kasten und kommt spiel läd... dazu flackert es so doof...
Mein Spawn:
forward SetPlayerSpawn(playerid);
public SetPlayerSpawn(playerid)
{
if(SInfo[playerid][pLeader] == 1)
{
SetPlayerPos(playerid,197.0630,168.4374,1003.0234); // los santos
SetPlayerInterior(playerid,3);
SetPlayerFacingAngle(playerid, 4.0557);
}
}
forward SpawnFinder(playerid);
public SpawnFinder(playerid)
{
if(GetPVarInt(playerid,"Eingeloggt") == 1)
{
if(SInfo[playerid][pBan] == 0)
{
if(GetPVarInt(playerid,"TOT") == 0)
{
switch ( SInfo[playerid][pLeader] )
{
case 0: SetSpawnInfo(playerid,0,29,2555.0,454.0,56.0,0.0,0,0,0,0,0,0);
}
}
else
{
SetSpawnInfo(playerid,0,162,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
}
SetPlayerHealth(playerid,SInfo[playerid][pLeben]);
SpawnPlayer(playerid);
SetPlayerSpawn(playerid);
}
else
{
SendClientMessage(playerid,COLOR_RED,"Du bist gebannt... Mach dir gedanken warum...");
Kick(playerid);
}
}
else
{
return 1;
}
return 0;
}
hoffe es kann mir einer helfen
LG
Moritz