Beiträge von Freshmatics

    Hey,



    Ich habe 3 Warning´s im LCN Tor weis aber nicht woran sie liegen.


    if(strcmp(cmd,"/lcntor",true) == 0)
    {
    if(IsPlayerInRangeOfPoint(playerid,10.0, 1907.1999511719, 943.59997558594))
    {
    if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)
    {
    if(lcntorvar == 0)
    {


    MoveObject(lcntor, 1907.1999511719, 943.59997558594-10,3.0);
    PlaySoundForPlayer(playerid,1035);
    SetTimerEx("PlaySoundForPlayer",2000,0,"id",playerid,1036);
    lcntorvar = 1;
    }
    else
    {
    MoveObject(lcntor, 1907.1999511719, 943.59997558594 ,3.0);
    PlaySoundForPlayer(playerid,1035);
    SetTimerEx("PlaySoundForPlayer",2000,0,"id",playerid,1036);
    lcntorvar = 0;
    }
    }
    else SendClientMessage(playerid,COLOR_RED," Du bist kein LCN Mitglied");
    return 1;
    }
    }


    C:\Users\Asus-001\Desktop\Gamemode\gamemodes\release.pwn(25875) : warning 202: number of arguments does not match definition
    C:\Users\Asus-001\Desktop\Gamemode\gamemodes\release.pwn(25882) : warning 202: number of arguments does not match definition
    C:\Users\Asus-001\Desktop\Gamemode\gamemodes\release.pwn(25889) : warning 202: number of arguments does not match definition

    Morgen,


    Ich habe jetzt gute 20min versuch das LVPD nach Los Santos zu Mappen mit MTA geht aber einfach nicht da die gebäude vom LSPD im weg sind und ich mit dem anderem Map Editor nicht klar komme.


    Deshalb suche ich die Map "LVPD in LS" im ShowRoom finde ich nix.

    Function OnPlayerConnect(playerid)
    {
    RemoveBuildingForPlayer(playerid, 4063, 1578.4688, -1676.4219, 13.0703, 0.25);
    RemoveBuildingForPlayer(playerid, 4064, 1571.6016, -1675.7500, 35.6797, 0.25);
    RemoveBuildingForPlayer(playerid, 4228, 1568.2891, -1677.7813, 10.8203, 0.25);
    RemoveBuildingForPlayer(playerid, 1266, 1538.5234, -1609.8047, 19.8438, 0.25);
    RemoveBuildingForPlayer(playerid, 1266, 1565.4141, -1722.3125, 25.0391, 0.25);
    RemoveBuildingForPlayer(playerid, 4229, 1597.9063, -1699.7500, 30.2109, 0.25);
    RemoveBuildingForPlayer(playerid, 4230, 1597.9063, -1699.7500, 30.2109, 0.25);
    RemoveBuildingForPlayer(playerid, 1260, 1565.4141, -1722.3125, 25.0391, 0.25);
    RemoveBuildingForPlayer(playerid, 647, 1541.4453, -1713.3047, 14.4297, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1541.4531, -1709.6406, 13.0469, 0.25);
    RemoveBuildingForPlayer(playerid, 647, 1541.2969, -1702.6016, 14.4375, 0.25);
    RemoveBuildingForPlayer(playerid, 647, 1546.6016, -1693.3906, 14.4375, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1547.5703, -1689.9844, 13.0469, 0.25);
    RemoveBuildingForPlayer(playerid, 647, 1546.8672, -1687.1016, 14.4375, 0.25);
    RemoveBuildingForPlayer(playerid, 646, 1545.5234, -1678.8438, 14.0000, 0.25);
    RemoveBuildingForPlayer(playerid, 1536, 1555.9297, -1677.1250, 15.1797, 0.25);
    RemoveBuildingForPlayer(playerid, 646, 1553.8672, -1677.7266, 16.4375, 0.25);
    RemoveBuildingForPlayer(playerid, 4032, 1568.2891, -1677.7813, 10.8203, 0.25);
    RemoveBuildingForPlayer(playerid, 4232, 1568.2891, -1677.7813, 10.8203, 0.25);
    RemoveBuildingForPlayer(playerid, 1536, 1555.8906, -1674.1094, 15.1797, 0.25);
    RemoveBuildingForPlayer(playerid, 646, 1553.8672, -1673.4609, 16.4375, 0.25);
    RemoveBuildingForPlayer(playerid, 646, 1545.5625, -1672.2188, 14.0000, 0.25);
    RemoveBuildingForPlayer(playerid, 647, 1546.6016, -1664.6250, 14.4375, 0.25);
    RemoveBuildingForPlayer(playerid, 647, 1546.8672, -1658.3438, 14.4375, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1547.5703, -1661.0313, 13.0469, 0.25);
    RemoveBuildingForPlayer(playerid, 3975, 1578.4688, -1676.4219, 13.0703, 0.25);
    RemoveBuildingForPlayer(playerid, 3976, 1571.6016, -1675.7500, 35.6797, 0.25);
    RemoveBuildingForPlayer(playerid, 4192, 1591.6953, -1674.8516, 20.4922, 0.25);
    RemoveBuildingForPlayer(playerid, 647, 1541.4766, -1648.4531, 14.4375, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1541.4531, -1642.0313, 13.0469, 0.25);
    RemoveBuildingForPlayer(playerid, 647, 1541.7422, -1638.9141, 14.4375, 0.25);
    RemoveBuildingForPlayer(playerid, 1260, 1538.5234, -1609.8047, 19.8438, 0.25);


    dort habe ich es jetzt stehen jetzt bekomme ich 32 Warnings



    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3469) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3470) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3471) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3472) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3473) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3474) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3475) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3476) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3477) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3478) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3479) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3480) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3481) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3482) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3483) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3484) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3485) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3486) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3487) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3488) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3489) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3490) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3491) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3492) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3493) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3494) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3495) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3496) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3497) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3498) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3499) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3500) : warning 215: expression has no effect
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


    Header size: 13556 bytes
    Code size: 2447168 bytes
    Data size: 6395844 bytes
    Stack/heap size: 32768 bytes; estimated max. usage: unknown, due to recursion
    Total requirements: 8889336 bytes


    32 Warnings.

    Moin,


    Habe es drinen Bekomme dieses Error nach dem ich RemoveBuildingForPlayer definiert habe


    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3783) : error 010: invalid function or declaration



    RemoveBuildingForPlayer(playerid, 4063, 1578.4688, -1676.4219, 13.0703, 0.25);
    RemoveBuildingForPlayer(playerid, 4064, 1571.6016, -1675.7500, 35.6797, 0.25);
    RemoveBuildingForPlayer(playerid, 4228, 1568.2891, -1677.7813, 10.8203, 0.25);
    RemoveBuildingForPlayer(playerid, 1266, 1538.5234, -1609.8047, 19.8438, 0.25);
    RemoveBuildingForPlayer(playerid, 1266, 1565.4141, -1722.3125, 25.0391, 0.25);
    RemoveBuildingForPlayer(playerid, 4229, 1597.9063, -1699.7500, 30.2109, 0.25);
    RemoveBuildingForPlayer(playerid, 4230, 1597.9063, -1699.7500, 30.2109, 0.25);
    RemoveBuildingForPlayer(playerid, 1260, 1565.4141, -1722.3125, 25.0391, 0.25);
    RemoveBuildingForPlayer(playerid, 647, 1541.4453, -1713.3047, 14.4297, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1541.4531, -1709.6406, 13.0469, 0.25);
    RemoveBuildingForPlayer(playerid, 647, 1541.2969, -1702.6016, 14.4375, 0.25);
    RemoveBuildingForPlayer(playerid, 647, 1546.6016, -1693.3906, 14.4375, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1547.5703, -1689.9844, 13.0469, 0.25);
    RemoveBuildingForPlayer(playerid, 647, 1546.8672, -1687.1016, 14.4375, 0.25);
    RemoveBuildingForPlayer(playerid, 646, 1545.5234, -1678.8438, 14.0000, 0.25);
    RemoveBuildingForPlayer(playerid, 1536, 1555.9297, -1677.1250, 15.1797, 0.25);
    RemoveBuildingForPlayer(playerid, 646, 1553.8672, -1677.7266, 16.4375, 0.25);
    RemoveBuildingForPlayer(playerid, 4032, 1568.2891, -1677.7813, 10.8203, 0.25);
    RemoveBuildingForPlayer(playerid, 4232, 1568.2891, -1677.7813, 10.8203, 0.25);
    RemoveBuildingForPlayer(playerid, 1536, 1555.8906, -1674.1094, 15.1797, 0.25);
    RemoveBuildingForPlayer(playerid, 646, 1553.8672, -1673.4609, 16.4375, 0.25);
    RemoveBuildingForPlayer(playerid, 646, 1545.5625, -1672.2188, 14.0000, 0.25);
    RemoveBuildingForPlayer(playerid, 647, 1546.6016, -1664.6250, 14.4375, 0.25);
    RemoveBuildingForPlayer(playerid, 647, 1546.8672, -1658.3438, 14.4375, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1547.5703, -1661.0313, 13.0469, 0.25);
    RemoveBuildingForPlayer(playerid, 3975, 1578.4688, -1676.4219, 13.0703, 0.25);
    RemoveBuildingForPlayer(playerid, 3976, 1571.6016, -1675.7500, 35.6797, 0.25);
    RemoveBuildingForPlayer(playerid, 4192, 1591.6953, -1674.8516, 20.4922, 0.25);
    RemoveBuildingForPlayer(playerid, 647, 1541.4766, -1648.4531, 14.4375, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1541.4531, -1642.0313, 13.0469, 0.25);
    RemoveBuildingForPlayer(playerid, 647, 1541.7422, -1638.9141, 14.4375, 0.25);
    RemoveBuildingForPlayer(playerid, 1260, 1538.5234, -1609.8047, 19.8438, 0.25);


    Das sind die Zeilen

    Moin,


    Habe ne kleine frage wo muss ich die Codes für den Remove rein packen?


    also diese hier...



    RemoveBuildingForPlayer(playerid, 4063, 1578.4688, -1676.4219, 13.0703, 0.25);
    RemoveBuildingForPlayer(playerid, 4064, 1571.6016, -1675.7500, 35.6797, 0.25);
    RemoveBuildingForPlayer(playerid, 4228, 1568.2891, -1677.7813, 10.8203, 0.25);
    RemoveBuildingForPlayer(playerid, 1266, 1538.5234, -1609.8047, 19.8438, 0.25);
    RemoveBuildingForPlayer(playerid, 1266, 1565.4141, -1722.3125, 25.0391, 0.25);
    RemoveBuildingForPlayer(playerid, 4229, 1597.9063, -1699.7500, 30.2109, 0.25);
    RemoveBuildingForPlayer(playerid, 4230, 1597.9063, -1699.7500, 30.2109, 0.25);
    RemoveBuildingForPlayer(playerid, 1260, 1565.4141, -1722.3125, 25.0391, 0.25);
    RemoveBuildingForPlayer(playerid, 647, 1541.4453, -1713.3047, 14.4297, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1541.4531, -1709.6406, 13.0469, 0.25);
    RemoveBuildingForPlayer(playerid, 647, 1541.2969, -1702.6016, 14.4375, 0.25);
    RemoveBuildingForPlayer(playerid, 647, 1546.6016, -1693.3906, 14.4375, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1547.5703, -1689.9844, 13.0469, 0.25);
    RemoveBuildingForPlayer(playerid, 647, 1546.8672, -1687.1016, 14.4375, 0.25);
    RemoveBuildingForPlayer(playerid, 646, 1545.5234, -1678.8438, 14.0000, 0.25);
    RemoveBuildingForPlayer(playerid, 1536, 1555.9297, -1677.1250, 15.1797, 0.25);
    RemoveBuildingForPlayer(playerid, 646, 1553.8672, -1677.7266, 16.4375, 0.25);
    RemoveBuildingForPlayer(playerid, 4032, 1568.2891, -1677.7813, 10.8203, 0.25);
    RemoveBuildingForPlayer(playerid, 4232, 1568.2891, -1677.7813, 10.8203, 0.25);
    RemoveBuildingForPlayer(playerid, 1536, 1555.8906, -1674.1094, 15.1797, 0.25);
    RemoveBuildingForPlayer(playerid, 646, 1553.8672, -1673.4609, 16.4375, 0.25);
    RemoveBuildingForPlayer(playerid, 646, 1545.5625, -1672.2188, 14.0000, 0.25);
    RemoveBuildingForPlayer(playerid, 647, 1546.6016, -1664.6250, 14.4375, 0.25);
    RemoveBuildingForPlayer(playerid, 647, 1546.8672, -1658.3438, 14.4375, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1547.5703, -1661.0313, 13.0469, 0.25);
    RemoveBuildingForPlayer(playerid, 3975, 1578.4688, -1676.4219, 13.0703, 0.25);
    RemoveBuildingForPlayer(playerid, 3976, 1571.6016, -1675.7500, 35.6797, 0.25);
    RemoveBuildingForPlayer(playerid, 4192, 1591.6953, -1674.8516, 20.4922, 0.25);
    RemoveBuildingForPlayer(playerid, 647, 1541.4766, -1648.4531, 14.4375, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1541.4531, -1642.0313, 13.0469, 0.25);
    RemoveBuildingForPlayer(playerid, 647, 1541.7422, -1638.9141, 14.4375, 0.25);
    RemoveBuildingForPlayer(playerid, 1260, 1538.5234, -1609.8047, 19.8438, 0.25);

    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(14) : fatal error 100: cannot read from file: "utils"



    Moin


    Habe ein Problem mit "utils" er erkennt dieses Include nicht weis nicht wieso.

    Moin,


    Ich mache mir gerade einen Befehl um zum Alca zu kommen.



    Nun bekomme ich diesen Error:



    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(7363) : error 017: undefined symbol "cmdtext"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    1 Error.



    aber wenn ich:


    #define cmdtext


    mache stürzt Pawno ab :(


    Hier die zeile..


    if(strcmp(cmdtext/"Alca",true)==0
    {

    }


    Habe es noch nicht weiter gemacht um erstmal zu schauen woran des liegt.

    Moin,


    Habe noch ein Bug gefunden.
    Man wird gefreezt wenn man ein Blitzer aufstellt.
    Erst wenn man ihn wieder weg macht kann man wieder spielen


    //Edit


    wenn man 2 aufbaut und nur einen wegmacht geht es.
    Aber es steht kein Blitzer da und es wird viel zu spät geblitzt.

    public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
    {
    new pname[MAX_PLAYERS],accFormat[128];
    GetPlayerName(playerid,pname,sizeof pname);
    format(accFormat,sizeof accFormat,"%s.datei",pname);
    if(response)
    {
    switch(dialogid) // dialogid auswählen
    {
    case DIALOG_LOGIN: // ID Login
    {
    if(!strlen(inputtext))
    {
    ShowPlayerDialog(playerid,DIALOG_LOGIN,1,"Login","Bitte logge dich ein","Abbrechen","Weiter");
    return SendClientMessage(playerid,0xFFFFFFFF,"Kein Passwort angegeben!");
    }
    if(strcmp(inputtext,dini_Get(accFormat,"Passwort")) == 0) // Passwort Direkt aus der Datei Laden
    {
    Spieler[playerid][wanted] = dini_Int(accFormat,"wanted");
    Spieler[playerid][skin] = dini_Int(accFormat,"skin");
    Spieler[playerid][lastx] = dini_Float(accFormat,"lastx");
    Spieler[playerid][lasty] = dini_Float(accFormat,"lasty");
    Spieler[playerid][lastz] = dini_Float(accFormat,"lastz");
    Spieler[playerid][eingeloggt] = 1; // Spieler ist nun erfolgreich eingeloggt
    SendClientMessage(playerid,0xFFFFFFFF,"Du wurdest erfolgreich eingeloggt.");
    }
    else
    {
    ShowPlayerDialog(playerid,DIALOG_LOGIN,1,"Login","Bitte logge dich ein","Abbrechen","Weiter");
    SendClientMessage(playerid,0xFFFFFFFF,"Das Passwort war Falsch!");
    SpawnPlayer(playerid);
    }
    }
    case DIALOG_REG: // ID Registrieren
    {
    if(!strlen(inputtext)) // Text darf nicht = Null sein Null im Sinne von nichts
    {
    ShowPlayerDialog(playerid,DIALOG_REG,1,"Registrieren","Bitte Registriere dich","Abbrechen","Weiter");
    return SendClientMessage(playerid,0xFFFFFFFF,"Das Passwort ist zu kurz!");
    }
    dini_Create(accFormat);
    dini_Set(accFormat,"Passwort",inputtext);
    Spieler[playerid][eingeloggt] = 1;
    SendClientMessage(playerid,0xFFFFFFFF,"Account wurde angelegt und du wurdest eingeloggt.");
    }
    }
    }
    else
    {
    switch(dialogid)
    {
    case DIALOG_LOGIN:ShowPlayerDialog(playerid,DIALOG_LOGIN,1,"Login","Bitte logge dich ein","Abbrechen","Weiter");
    case DIALOG_REG:ShowPlayerDialog(playerid,DIALOG_REG,1,"Registrieren","Bitte Registriere dich","Abbrechen","Weiter");
    }
    }
    return 1;
    }