public OnPlayerSpawn(playerid)
{
SetCameraBehindPlayer(playerid);
SetPlayerPos(playerid,1594.0269,-2275.2993,13.5302);
SetPlayerFacingAngle(playerid, 6.4601);
new playermoney = 10000 - GetPlayerMoney(playerid);
GivePlayerMoney(playerid, playermoney);
playercheckmoney[playerid] = 10000;
IsPlayerInAutoHaus[playerid] = 0;
ShowPlayerStat(playerid, 0);
playerblitzer[playerid] = 0;
updateobjwait[playerid] = 0;
IsPlayerInAutoHaus[playerid] = 0;
SetPlayerSkin(playerid, PlayerInfo[playerid][pskin]);
playerincshop[playerid][ladentyp] = 0;
SetPlayerVirtualWorld(playerid, 0);
SetPlayerColor(playerid, 0xFFFFFF00);
fahrstunde1[playerid] = 0;
fahrstunde2[playerid] = 0;
playerhandy[playerid] = -1;
joboffer[playerid] = 0;
urinieren[playerid] = 0;
playernavyonline[playerid] = 0;
playershowstatus[playerid] = 0;
spritzen[playerid] = 0;
selectedauftrag[playerid] = 0;
PlayerInAuftrag[playerid] = 0;
auftragszeit[playerid] = 0;
IsPlayerInDrogenLife[playerid] = 0;
playerplaykey[playerid] = 0;
playerplaykeyinfo[playerid] = 0;
PlayerInKontoLogged[playerid] = "-";
fightready[playerid] = 0;
infight[playerid] = -1;
herausfordern[playerid] = -1;
kampfsumme[playerid] = 0;
playerlistento[playerid] = -1;
gefesselt[playerid] = 0;
PlayerGangArea[playerid] = -1;
PlayerJailTransport[playerid] = 0;
TextDrawHideForPlayer(playerid, kleidungkaufen[playerid]);
TextDrawHideForPlayer(playerid, speedanzeige[playerid]);
TextDrawHideForPlayer(playerid, autohaustext[playerid]);
TextDrawHideForPlayer(playerid, tauftragannehmen[playerid]);
TextDrawHideForPlayer(playerid, tplayerauftragtimer[playerid]);
TextDrawHideForPlayer(playerid, kleidungkaufen[playerid]);
TextDrawShowForPlayer(playerid, clock);
TextDrawShowForPlayer(playerid, PlayerInfoLine[playerid]);
TextDrawSetString(PlayerInfoLine[playerid],"Forum: http://www.german-reallife.org");
TextDrawShowForPlayer(playerid, moneytextdraw[playerid]);
setplayerweaponskills(playerid);
for (new i; i < 100; i++)
{
unfreeze(playerid, i);
}
if (PlayerInfo[playerid][pjail] > 0)
{
SetPlayerPos(playerid, 1751.8683,-1558.9301,9.5716);
} else {
if (PlayerInfo[playerid][psp] == 1)
{
ShowMenuForPlayer(spawnmenu, playerid);
freeze(playerid, 4);
}
}
if (PlayerInfo[playerid][pStatus] == 0)
{
freeze(playerid, 4);
SetPlayerVirtualWorld(playerid, playerid + 1);
ShowMenuForPlayer(geschlechtauswahl, playerid);
}
if(!strcmp("Thisismadness", Nachname[playerid]))
{
new namensstring[256+1];
format(namensstring,256,"Gib nun bitte deinen gewünschten Nachnamen ein:");
ShowPlayerDialog(playerid,9,DIALOG_STYLE_INPUT,"Fusion BETA - Registrierung",namensstring,"Weiter","Abbrechen");
}
if(!strcmp("Thisismadness", Vorname[playerid]))
{
new namensstring[256+1];
format(namensstring,256,"Gib nun bitte deinen gewünschten Vornamen ein:");
ShowPlayerDialog(playerid,8,DIALOG_STYLE_INPUT,"Fusion BETA - Registrierung",namensstring,"Weiter","Abbrechen");
}