Hey,
Wenn ich spawn dann werde ich gefreezt für ne zeit
Und kann mich nicht bewegen
Meine Geldanzeige verschwindet und ich bekomme einen Crash woran kann das liegen
public OnPlayerSpawn(playerid)
{
SpawnPlayer(playerid);
switch(GetPVarInt(playerid,"Fraktion"))
{
case 0:{SetPlayerPos(playerid,1178.8821,-1324.1970,14.1420);}
case 1:{SetPlayerPos(playerid,LSPDSpawn);SetPlayerSkin(playerid,265);}
case 2:{SetPlayerPos(playerid,SFPDSpawn);SetPlayerSkin(playerid,282);}
case 3:{SetPlayerPos(playerid,ARMYSpawn);SetPlayerSkin(playerid,287);}
case 4:{SetPlayerPos(playerid,SWATSpawn);SetPlayerSkin(playerid,265);}
case 5:{SetPlayerPos(playerid,MedicSpawn);SetPlayerSkin(playerid,274);}
case 6:{SetPlayerPos(playerid,SanNewsSpawn);}
case 7:{SetPlayerPos(playerid,SKSpawn);SetPlayerSkin(playerid,100);}
case 8:{SetPlayerPos(playerid,GSSpawn);SetPlayerSkin(playerid,270);}
case 9:{SetPlayerPos(playerid,YSpawn);SetPlayerSkin(playerid,12);}
case 10:{SetPlayerPos(playerid,TPSpawn);SetPlayerSkin(playerid,100);}
case 11:{SetPlayerPos(playerid,LASpawn);SetPlayerSkin(playerid,114);}
case 12:{SetPlayerPos(playerid,BSpawn);SetPlayerSkin(playerid,296);}
case 13:{SetPlayerPos(playerid,LCNSpawn);SetPlayerSkin(playerid,113);}
case 14:{SetPlayerPos(playerid,HMSpawn);SetPlayerSkin(playerid,290);}
}
TogglePlayerControllable(playerid, 1);
return 1;
}
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, -2156.1460,-405.4047,48.1444);
SetPlayerFacingAngle(playerid,38.8328);
SetPlayerCameraPos(playerid, -2160.1133, -400.1772, 48.9393);
SetPlayerCameraLookAt(playerid, -2159.3845, -400.8718, 48.9193);
return 1;
}
Wäre nett wenn ihr mir helfen könnt