Namen

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
  • Hey kann mir wer sagen wie ich das rauskriege:


    public SearchingHit(playerid)
    {
    new string[256];
    new giveplayer[MAX_PLAYER_NAME];
    new searchhit = 0;
    for(new i=0; i<MAX_PLAYERS; i++)
    {
    if(IsPlayerConnected(i))
    {
    if(searchhit == 0)
    {
    if(PlayerInfo[i][pHeadValue] > 0 && GotHit[i] == 0 && PlayerInfo[i][pMember] != 8)
    {
    GetPlayerName(i, giveplayer, sizeof(giveplayer));
    searchhit = 1;
    hitfound = 1;
    hitid = i;
    for(new k=0; k<MAX_PLAYERS; k++)
    {
    if(IsPlayerConnected(k))



    Wenn ich das rausnheme kommt:

    C:\Users\PC\Desktop\GTARP\gamemodes\gtarp.pwn(1659) : error 055: start of function body without function header
    C:\Users\PC\Desktop\GTARP\gamemodes\gtarp.pwn(1661) : error 010: invalid function or declaration
    C:\Users\PC\Desktop\GTARP\gamemodes\gtarp.pwn(1672) : error 010: invalid function or declaration
    C:\Users\PC\Desktop\GTARP\gamemodes\gtarp.pwn(1677) : error 010: invalid function or declaration
    C:\Users\PC\Desktop\GTARP\gamemodes\gtarp.pwn(1681) : error 010: invalid function or declaration
    C:\Users\PC\Desktop\GTARP\gamemodes\gtarp.pwn(41548) : error 004: function "SearchingHit" is not implemented
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    6 Errors.

  • Zeile: 41548 format(string, sizeof(string), "* You wrote Line %d of the Newspaper.", line);
    SendClientMessage(playerid, COLOR_WHITE, string);
    if(line == 7)
    {
    SendClientMessage(playerid, COLOR_WHITE, "* Your Newspaper has been added to the News List (for Paper Boys).");
    }
    }
    return 0;
    }
    if(ConnectedToPC[playerid] == 255)
    {
    new idx;
    tmp = strtok(text, idx);
    if ((strcmp("Contracts", tmp, true, strlen(tmp)) == 0) && (strlen(tmp) == strlen("Contracts")))
    {
    if(PlayerInfo[playerid][pRank] < 4)
    {
    SendClientMessage(playerid, COLOR_GREY, " Only Hitman with Rank 4 or above can search and assign Contracts !");
    return 0;
    }
    SearchingHit(playerid);
    return 0;
    }
    else if ((strcmp("News", tmp, true, strlen(tmp)) == 0) && (strlen(tmp) == strlen("News")))
    {
    new x_nr[256];
    41574 x_nr = strtok(text, idx);


    und zu SearchinHit


    Z 148 forward SearchingHit(playerid);
    Z 1658 public SearchingHit(playerid)
    Z 41568 SearchingHit(playerid);

  • C:\Users\PC\Desktop\GTARP - Kopie\gamemodes\gtarp.pwn(1657) : error 055: start of function body without function header
    C:\Users\PC\Desktop\GTARP - Kopie\gamemodes\gtarp.pwn(1658) : error 010: invalid function or declaration
    C:\Users\PC\Desktop\GTARP - Kopie\gamemodes\gtarp.pwn(1660) : error 055: start of function body without function header
    C:\Users\PC\Desktop\GTARP - Kopie\gamemodes\gtarp.pwn(1662) : error 010: invalid function or declaration
    C:\Users\PC\Desktop\GTARP - Kopie\gamemodes\gtarp.pwn(1673) : error 010: invalid function or declaration
    C:\Users\PC\Desktop\GTARP - Kopie\gamemodes\gtarp.pwn(1678) : error 010: invalid function or declaration
    C:\Users\PC\Desktop\GTARP - Kopie\gamemodes\gtarp.pwn(1682) : error 010: invalid function or declaration
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    komm jetzt

  • do.de - Domain-Offensive - Domains für alle und zu super Preisen