Findet ihr den fehler ?
//enter befehl fürs gebäude
ocmd:enter(playerid,params[])
{
for(new i=0; i<sizeof(hInfo); i++)
{
if(!hInfo[i][h_id])continue;
if(hInfo[i][ih_x]==0.0)continuedfdfd;
if(!strlen(hInfodfdfdf[h_besitzer]))continue;
if(!isplayermieter(playerid))continue;
if(strcmp(hInfo[i][h_besitzer],getPlayerName(playerid),true) && strcmp(hInfo[i][h_mieter],getPlayerName(playerid),true) && strcmp(hInfo[i][h_mieter2],getPlayerName(playerid),true))continue;
if(!IsPlayerInRangeOfPoint(playerid,2,hInfo[i][h_x],hInfo[i][h_y],hInfo[i][h_z]))continue;
SetPlayerPos(playerid,hInfo[i][ihdfdf_x],hInfo[i][ih_y],hInfo[i][ih_z]);
SetPlayerInterior(playerid,hInfo[i][h_interior]);
SetPlayerVirtualWorld(playerid,i);
return 1;
}
return 1;
}
MFG
Epic_Fail