interior problem

Wichtiger Hinweis: Bitte ändert nicht manuell die Schriftfarbe auf schwarz sondern belasst es bei der Standardeinstellung. Somit tragt ihr dazu bei dass euer Text auch bei Verwendung unseren dunklen Forenstils noch lesbar ist!

Tipp: Ihr wollt längere Codeausschnitte oder Logfiles bereitstellen? Benutzt unseren eigenen PasteBin-Dienst Link
  • hallo leute! hab ein problem unzwar hab ich das gemacht:


    if (strcmp("/enter", cmdtext, true, 10) == 0)
    {
    IsPlayerInRangeOfPoint(playerid,0,2495.3301,-1690.2500,14.7656);
    {
    SetPlayerPos(playerid,2496.0500,-1692.9301,1014.7422);
    SetPlayerInterior(playerid, 3);
    return 1;
    }
    }


    und das:


    if (strcmp("/exit", cmdtext, true, 10) == 0)
    {
    IsPlayerInRangeOfPoint(playerid,0,2496.0500,-1692.9301,1014.7422);
    {
    SetPlayerPos(playerid,2495.3301,-1690.2500,14.7656);
    SetPlayerInterior(playerid, 0);
    return 1;
    }
    }


    alles klappt einwandfrei... nur kann ich diese commands überall machen und nicht an den angegeben stellen:


    IsPlayerInRangeOfPoint(playerid,0,2495.3301,-1690.2500,14.7656);


    IsPlayerInRangeOfPoint(playerid,0,2496.0500,-1692.9301,1014.7422);

    Selfmade Reallife Server:IIIIIIIIIIIIIIIIIII 5%

  • errors:(


    //enter-----------------------------------------------------------------------------------------------------
    if (strcmp("/enter", cmdtext, true, 10) == 0)
    {
    if(IsPlayerInRangeOfPoint(playerid,0,2495.3301,-1690.2500,14.7656));
    {
    SetPlayerPos(playerid,2496.0500,-1692.9301,1014.7422);
    SetPlayerInterior(playerid, 3);
    return 1;
    }
    }
    //exit-----------------------------------------------------------------------------------------------------
    if (strcmp("/exit", cmdtext, true, 10) == 0)
    {
    if(IsPlayerInRangeOfPoint(playerid,0,2496.0500,-1692.9301,1014.7422));
    {
    SetPlayerPos(playerid,2495.3301,-1690.2500,14.7656);
    SetPlayerInterior(playerid, 0);
    return 1;
    }
    }


    (225) : error 036: empty statement
    (235) : error 036: empty statement

    Selfmade Reallife Server:IIIIIIIIIIIIIIIIIII 5%

  • if (strcmp("/enter", cmdtext, true, 10) == 0)
    {
    if(IsPlayerInRangeOfPoint(playerid,0,2495.3301,-1690.2500,14.7656))
    {
    SetPlayerPos(playerid,2496.0500,-1692.9301,1014.7422);
    SetPlayerInterior(playerid, 3);
    return 1;
    }
    }
    //exit-----------------------------------------------------------------------------------------------------
    if (strcmp("/exit", cmdtext, true, 10) == 0)
    {
    if(IsPlayerInRangeOfPoint(playerid,0,2496.0500,-1692.9301,1014.7422))
    {
    SetPlayerPos(playerid,2495.3301,-1690.2500,14.7656);
    SetPlayerInterior(playerid, 0);
    return 1;
    }
    }


    PS: Haxler add mich mal in Skype oder ICQ 466185685, alex1234567890133

  • if (strcmp("/enter", cmdtext, true, 10) == 0)
    {
    if(IsPlayerInRangeOfPoint(playerid,0,2495.3301,-1690.2500,14.7656))
    {
    SetPlayerPos(playerid,2496.0500,-1692.9301,1014.7422);
    SetPlayerInterior(playerid, 3);
    }
    return 1;
    }
    //exit-----------------------------------------------------------------------------------------------------
    if (strcmp("/exit", cmdtext, true, 10) == 0)
    {
    if(IsPlayerInRangeOfPoint(playerid,0,2496.0500,-1692.9301,1014.7422))
    {
    SetPlayerPos(playerid,2495.3301,-1690.2500,14.7656);
    SetPlayerInterior(playerid, 0);
    }
    return 1;
    }


  • if (strcmp("/enter", cmdtext, true, 10) == 0)
    {
    if(IsPlayerInRangeOfPoint(playerid,1,2495.3301,-1690.2500,14.7656))
    {
    SetPlayerPos(playerid,2496.0500,-1692.9301,1014.7422);
    SetPlayerInterior(playerid, 3);
    }
    return 1;
    }
    //exit-----------------------------------------------------------------------------------------------------
    if (strcmp("/exit", cmdtext, true, 10) == 0)
    {
    if(IsPlayerInRangeOfPoint(playerid,1,2496.0500,-1692.9301,1014.7422))
    {
    SetPlayerPos(playerid,2495.3301,-1690.2500,14.7656);
    SetPlayerInterior(playerid, 0);
    }
    return 1;


    }

    Kein wunder hattest die Meter Abstand vom punkt aus auf "0" -.-