//edit
Alles anzeigenif(strcmp(cmdtext, "/enter", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6)
{
if(PlayerToPoint(3.0,playerid,2597.7322,1900.3004,11.0312))
{
SetPlayerPos(playerid,140.0937,1368.6858,1083.8634);
SetPlayerInterior(playerid,5);
SetPlayerVirtualWorld(playerid, 2);
}
}
else if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)
{
if(PlayerToPoint(5,playerid,691.2778,-1275.9631,13.5605))
{
SetPlayerPos(playerid,140.0937,1368.6858,1083.8634);
SetPlayerInterior(playerid,5);
SetPlayerVirtualWorld(playerid, 1);
SendClientMessage(playerid,COLOR_1GREEN,"*** Welcome to La Costa Nostra home kid ,enjoy !");
}
}
}
return 1;
}
teste das mal
habs jetzt aber denoch passiert bei /enter nix