Beiträge von TeR[o]RiZeR

    Nein nun habe ich es gemacht nun steht das hier



    Zeile (58825) : Variable wird nie benutzt: "LSBC"
    Zeile (58825) : Variable wird nie benutzt: "RMVehs"
    Zeile (58825) : Variable wird nie benutzt: "RSVehs"
    Zeile (58825) : Variable wird nie benutzt: "RifaVehs"
    Zeile (58825) : Variable wird nie benutzt: "TerrorVehs"
    Zeile (58825) : Variable wird nie benutzt: "VagosVehs"


    1 Errors, 6 Warnungen
    Du hast Errors im Skript. Kompilierung abgebrochen


    PWNMod Compiler Version 1.2
    (c) Trooper[Y]
    In Kooperation mit GTA-Servers.de


    Aso wie macht man das wie in den Warninh wenn man das rein fügt [ pwn ] nicht alles in einer reihe steht das würde ich auch gerne wissen.

    Hallo, ich habe heute ein paar Objekte entfernt hier einmal 1-5 Codes
    RemoveBuildingForPlayer(1266, 1538.5234, -1609.8047, 19.8438, 0.25); RemoveBuildingForPlayer(4229, 1597.9063, -1699.7500, 30.2109, 0.25); RemoveBuildingForPlayer(4230, 1597.9063, -1699.7500, 30.2109, 0.25); RemoveBuildingForPlayer(1260, 1538.5234, -1609.8047, 19.8438, 0.25); RemoveBuildingForPlayer(5849, 1046.6797, -935.1953, 46.9922, 0.25);




    Nun kommen 220 Warnings


    C:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15360) : warning 213: tag mismatchC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15360) : warning 202: number of arguments does not match definitionC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15361) : warning 213: tag mismatchC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15361) : warning 202: number of arguments does not match definitionC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15362) : warning 213: tag mismatchC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15362) : warning 202: number of arguments does not match definitionC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15363) : warning 213: tag mismatchC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15363) : warning 202: number of arguments does not match definitionC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15364) : warning 213: tag mismatchC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15364) : warning 202: number of arguments does not match definitionC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15365) : warning 213: tag mismatchC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15365) : warning 202: number of arguments does not match definitionC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15366) : warning 213: tag mismatchC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15366) : warning 202: number of arguments does not match definitionC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15367) : warning 213: tag mismatchC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15367) : warning 202: number of arguments does not match definitionC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15368) : warning 213: tag mismatchC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15368) : warning 202: number of arguments does not match definitionC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15369) : warning 213: tag mismatchC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15369) : warning 202: number of arguments does not match definitionC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15370) : warning 213: tag mismatchC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15370) : warning 202: number of arguments does not match definitionC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15371) : warning 213: tag mismatchC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15371) : warning 202: number of arguments does not match definitionC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15372) : warning 213: tag mismatchC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15372) : warning 202: number of arguments does not match definitionC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15373) : warning 213: tag mismatchC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15373) : warning 202: number of arguments does not match definitionC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15374) : warning 213: tag mismatchC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15374) : warning 202: number of arguments does not match definitionC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15375) : warning 213: tag mismatchC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15375) : warning 202: number of arguments does not match definitionC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15376) : warning 213: tag mismatchC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15376) : warning 202: number of arguments does not match definitionC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15377) : warning 213: tag mismatchC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15377) : warning 202: number of arguments does not match definitionC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15378) : warning 213: tag mismatchC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15378) : warning 202: number of arguments does not match definitionC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15379) : warning 213: tag mismatchC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15379) : warning 202: number of arguments does not match definitionC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15380) : warning 213: tag mismatchC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15380) : warning 202: number of arguments does not match definitionC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15381) : warning 213: tag mismatchC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15381) : warning 202: number of arguments does not match definitionC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15382) : warning 213: tag mismatchC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15382) : warning 202: number of arguments does not match definitionC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15383) : warning 213: tag mismatchC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15383) : warning 202: number of arguments does not match definitionC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15384) : warning 213: tag mismatchC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15384) : warning 202: number of arguments does not match definitionC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15385) : warning 213: tag mismatchC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15385) : warning 202: number of arguments does not match definitionC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15386) : warning 213: tag mismatchC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15386) : warning 202: number of arguments does not match definitionC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15387) : warning 213: tag mismatchC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15387) : warning 202: number of arguments does not match definitionC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15388) : warning 213: tag mismatchC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15388) : warning 202: number of arguments does not match definitionC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15389) : warning 213: tag mismatchC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15389) : warning 202: number of arguments does not match definitionC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15390) : warning 213: tag mismatchC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15390) : warning 202: number of arguments does not match definitionC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15391) : warning 213: tag mismatchC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15391) : warning 202: number of arguments does not match definitionC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15392) : warning 213: tag mismatchC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15392) : warning 202: number of arguments does not match definitionC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15393) : warning 213: tag mismatchC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15393) : warning 202: number of arguments does not match definitionC:\Users\Sören\Desktop\German Play v.1.1 Beta\gamemodes\GP.pwn(15394) : warning 213: tag mismatch


    Hilfe!

    Ich möchte das wenn man /a nicht da steht "7* Admin Name: Test"


    Da soll stehen Projektleiter Rang 2002 "Projektleiter Name: Test"


    Screen wie es aussieht:







    if(strcmp(cmd, "/admin", true) == 0 || strcmp(cmd, "/a", true) == 0)
    {
    if(IsPlayerConnected(playerid))
    {
    GetPlayerName(playerid, sendername, sizeof(sendername));
    new length = strlen(cmdtext);
    while ((idx < length) && (cmdtext[idx] <= ' '))
    {
    idx++;
    }
    new offset = idx;
    new result[64];
    while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
    {
    result[idx - offset] = cmdtext[idx];
    idx++;
    }
    result[idx - offset] = EOS;
    if(!strlen(result))
    {
    SendClientMessage(playerid, COLOR_GRAD2, "NUTZE: (/a)dmin [admin chat]");
    return 1;
    }
    if(PlayerInfo[playerid][pAdmin] >= 6)
    {
    format(string, sizeof(string), "*%d Projektleiter %s[%d]: %s", PlayerInfo[playerid][pAdmin], sendername, playerid, result);
    }
    if(PlayerInfo[playerid][pAdmin] >= 1)
    {
    format(string, sizeof(string), "*%d Admin %s[%d]: %s", PlayerInfo[playerid][pAdmin], sendername, playerid, result);
    }
    else if(PlayerInfo[playerid][pSupporter] >= 1)
    {
    format(string, sizeof(string), "*%d Supporter %s[%d]: %s", PlayerInfo[playerid][pSupporter], sendername, playerid, result);
    }
    else if(PlayerInfo[playerid][pSupporter] == 6)
    {
    format(string, sizeof(string), "*%d Admin %s[%d]: %s", PlayerInfo[playerid][pSupporter], sendername, playerid, result);
    }


    else return 1;
    for(new i=0; i<GetMaxPlayers(); i++)
    {
    if(IsPlayerConnected(i))
    {
    if(PlayerInfo[pSupporter] >= 1 || PlayerInfo[pAdmin] >= 1)
    {
    SendClientMessage(i,COLOR_YELLOW,string);
    }
    }
    }
    Log("OA-Chat.txt",string);
    }
    return 1;
    }

    Hallo,


    Wenn ich /orten mache wird der User ja Markiert aber der Punkt bleibt auf den Punkt
    Wo er vor 10 Sek war also da wo ich /orten gemacht habe ich möchte es aber das er ihm folgt.
    Entschuldigung das der Code so komisch ist ich weiss nicht wie man den so macht wie in Pawno



    if(strcmp(cmd, "/orten", true) == 0) { if(IsPlayerConnected(playerid)) { if(!IsPlayerInFrac(playerid,13)) { SendClientMessage(playerid, COLOR_GREY, "Du bist kein Polizist!"); return 1; } tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD2, "Benutzung: /orten [Spieler ID]"); return 1; } giveplayerid = ReturnUser(tmp); if(IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { new Float:X,Float:Y,Float:Z; GetPlayerPos(giveplayerid, X,Y,Z); SetPlayerCheckpoint(playerid, X,Y,Z, 6); } } else { SendClientMessage(playerid, COLOR_GREY, "Falsche ID!"); } } return 1; }