Hey Communty, weiß jemand wie ich die Zeit Verkürz nach dem Tot?
if(isttot[playerid]==1&&istinskin[playerid]==0)
{
if(tot[playerid]>=1&&GetPVarInt(playerid,"eingeliefert")==0)
{
new Float:xc,Float:yc,Float:zc;
GetPlayerPos(playerid,xc,yc,zc);
LoopingAnim(playerid, "CRACK", "crckdeth2", 4.0, 1, 0, 0, 0, 0); //
GameTextForPlayer(playerid,"~r~Du bist verwundet.",1200,6);
SetPlayerVirtualWorld(playerid,totvirtual[playerid]);
}
if(tot[playerid]==0)
{
isttot[playerid]=0;
StopLoopingAnim(playerid);
TogglePlayerControllable(playerid,1);
SetPlayerHealth(playerid,20);
//(playerid);
SetPlayerPos(playerid,heavenspawn);
SetPlayerFacingAngle(playerid,230.5919);
SetPlayerInterior(playerid,1);
SetPlayerVirtualWorld(playerid,34);
SetPlayerTime(playerid,3,0);
SendClientMessage(playerid,COLOR_YELLOW,"Laufe ins Licht...");
SetPlayerWeather(playerid,11);
}
}