Hallo liebes breadfish ich habe ein fraktion die ist ballas und Vagos also die haben beide die gleichen virtualien und ich habe dann bei vagos
SetPlayerVirtualWorld(playerid,15); gemacht aber es ging trozdem nicht?
if(strcmp(cmd, "/vaenter", true) == 0)
{
if(PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16 || PlayerInfo[playerid][pMember] == 22 || PlayerInfo[playerid][pLeader] == 22 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
{
if(IsPlayerInRangeOfPoint(playerid,3.0,2151.1638,-1013.9731,62.7305))
{
SetPlayerPos(playerid,2807.619873,-1171.899902,1025.570312);
SetPlayerInterior(playerid,8);
SetPlayerVirtualWorld(playerid,8);
}
}
}
if(strcmp(cmd, "/vaexit", true) == 0)
{
if(PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16 || PlayerInfo[playerid][pMember] == 22 || PlayerInfo[playerid][pLeader] == 22 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
{
if(IsPlayerInRangeOfPoint(playerid,3.0,2153.0352,-1012.7573,62.9115))
{
SetPlayerPos(playerid,2153.0352,-1012.7573,62.9115);
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid,0);
}
}
}
if(strcmp(cmd, "/benter", true) == 0 || strcmp(cmd, "/aufbrechen", true) == 0)//ballas
{
if(PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14)
{
if(IsPlayerInRangeOfPoint(playerid,3.0,2572.3323,-1091.8234,67.2257))
{
SetPlayerPos(playerid,2807.619873,-1171.899902,1025.570312);
SetPlayerInterior(playerid,8);
SetPlayerVirtualWorld(playerid,6);
}
}
}
if(strcmp(cmd, "/bexit", true) == 0 || strcmp(cmd, "/aufbrechen", true) == 0)// Ballas
{
if(PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14 || PlayerInfo[playerid][pMember] == 22 || PlayerInfo[playerid][pLeader] == 22 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
{
if(IsPlayerInRangeOfPoint(playerid,3.0,2807.619873,-1171.899902,1025.570312))
{
SetPlayerPos(playerid,2570.4004,-1089.5715,66.8322);
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid,0);
}
}
}