if(SpielerInfo[playerid][SkinShop]==1)
{
SetPlayerPos(playerid,207.5134,-101.6069,1005.2578);
SetPlayerFacingAngle(playerid,183.1239);
SetPlayerCameraPos(playerid,207.6129,-109.0484,1005.1328);
SetPlayerCameraLookAt(playerid,207.8699,-106.7528,1005.1328);
SetPlayerInterior(playerid,15);
SpielerInfo[playerid][SkinID]=GetPlayerSkin(playerid);
SpielerInfo[playerid][SkinShop]=1;
ApplyAnimation(playerid,"DANCING","DNCE_M_B",4.0,1,0,0,0,-1);
PlayerPlaySound(playerid, 1097,-119.9460,23.1096,12.2238);
} else
{
SetSpawnInfo(playerid,0,spawnskins[random(sizeof(spawnskins))],1777.862,-1942.163,13.160,0,0,0,0,0,0,0);
SpielerSpeichern(playerid);
SpawnPlayer(playerid);
}
if(SpielerInfo[playerid][SkinShop]==1)
{
SetPlayerPos(playerid,1456.9321,-1138.4597,23.9927);
SetPlayerFacingAngle(playerid,183.1239);
SetPlayerInterior(playerid,0);
SpielerInfo[playerid][SkinShop]=0;
PlayerPlaySound(playerid, 1186, 0.0, 0.0, 0.0);
ClearAnimations(playerid);
}
Habe ein Problem mit meinen Skinshop, immer wenn man stribt, "Fällt man durch die Welt.
Habe mit dem Tutorial hier gearbeitet, auf meine Posis angepasst.
[ SCRIPTING ] Skinshop system