Hallo,
ich weiß einfach nicht wo mein Fehler ist.
Hier Spawn ich:
if (PlayerInfo[playerid][pMember] == 23 || PlayerInfo[playerid][pLeader] == 23) //RM spawn
{
SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid,323.8484,1127.9318,1083.8828);
SetPlayerFacingAngle(playerid,281.6475);
SetPlayerInterior(playerid,5);
PlayerInfo[playerid][pInt] = 5;
SetPlayerVirtualWorld(playerid,3);
return 1;
}
Hier gehe ich Raus & Rein ( Was aber nicht klappt... )
else if (IsPlayerInRangeOfPoint(playerid,4.0,1154.7332,-1181.1477,32.8187))// Russenmafia Enter
{
if(PlayerInfo[playerid][pLeader] == 23 PlayerInfo[playerid][pMember] == 23 IsACop(playerid))
{
SetPlayerPos(playerid,318.6134,1115.3098,1083.8828);
SetPlayerInterior(playerid,5);
PlayerInfo[playerid][pInt] = 5;
SetPlayerVirtualWorld(playerid,3);
SetPlayerFacingAngle(playerid,2.5225);
}
}
else if (IsPlayerInRangeOfPoint(playerid,4.0,318.6134,1115.3098,1083.8828))// Russenmafia Exit
{
if(PlayerInfo[playerid][pLeader] == 23 || PlayerInfo[playerid][pMember] == 23 || IsACop(playerid))
{
SetPlayerPos(playerid,1154.7332,-1181.1477,32.8187);
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
SetPlayerVirtualWorld(playerid,0);
}
}
Hoffe Ihr könnt mir ein kleinen Denkanstoß geben.
Hab es mal geändert ( das mit dem Enter Exit klappt ja normalerweise nur ebenhalt nicht bei Russenmafia
Jeffry:
@Homez:
MfG