MapMarkers

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
  • yo sry^^ SetPlayerMapIcon(iconid,x,y); oder SetPlayerMapIcon(playerid,iconid,x,y);
    einfach ausprobieren^^

  • und bei "public OnGameModeInit()"einfügen... habs so im samp forum gesehn ^^

    [GER] Bedman's Fun Server
    by You-Hoster.de
    IP: 78.111.64.126:2004


    VERREIST BIS ZUM ENDE DER FERIEN!!

  • D:\GTA SAMP\Server\gamemodes\TheRealWorld3.pwn(50) : error 017: undefined symbol "playerid"
    D:\GTA SAMP\Server\gamemodes\TheRealWorld3.pwn(53) : warning 213: tag mismatch
    D:\GTA SAMP\Server\gamemodes\TheRealWorld3.pwn(53) : warning 202: number of arguments does not match definition
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    1 Error.


    ?(

  • Versuch mald das hier:


    public OnPlayerConnect( playerid )
    {
    // This example demonstrates how to create a dollar-icon on top of a 24/7 located
    // in Las Venturas. This way new players know where to go with their money!
    SetPlayerMapIcon( playerid, 12, 2204.9468, 1986.2877, 16.7380, 52, 0 );
    }


    Hab ich im Wiki gefunden ^^

    [GER] Bedman's Fun Server
    by You-Hoster.de
    IP: 78.111.64.126:2004


    VERREIST BIS ZUM ENDE DER FERIEN!!

  • do.de - Domain-Offensive - Domains für alle und zu super Preisen
  • Habe das so public OnPlayerConnect(playerid)
    {
    GameTextForPlayer(playerid,"Willkommen auf dem Reallifeserver", 5000, 5);

    new jstr[256];
    new playername[MAX_PLAYER_NAME];
    GetPlayerName(playerid,playername,sizeof(playername));
    format(jstr, sizeof(jstr), "%s hat den Server betreten!", playername);
    SendClientMessageToAll(0xFF9900AA, jstr);
    return 1;
    }


    // This example demonstrates how to create a dollar-icon on top of a 24/7 located
    // in Las Venturas. This way new players know where to go with their money!
    SetPlayerMapIcon(playerid, 30, 2204.9468, 1986.2877);
    }


    D:\GTA SAMP\Server\gamemodes\TheRealWorld3.pwn(377) : error 021: symbol already defined: "SetPlayerMapIcon"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    1 Error.


    Hmmm bin wohl zu blöd :S


  • public OnPlayerConnect(playerid) {
    GameTextForPlayer(playerid,"Willkommen auf dem Reallifeserver", 5000, 5);

    new jstr[256];
    new playername[MAX_PLAYER_NAME];
    GetPlayerName(playerid,playername,sizeof(playername));
    format(jstr, sizeof(jstr), "%s hat den Server betreten!", playername);
    SendClientMessageToAll(0xFF9900AA, jstr);


    // This example demonstrates how to create a dollar-icon on top of a 24/7 located
    // in Las Venturas. This way new players know where to go with their money!
    SetPlayerMapIcon(playerid, 30, 2204.9468, 1986.2877);
    return 1;
    }


    so sollte das funzen

  • Dann kommt aber D:\GTA SAMP\Server\gamemodes\TheRealWorld3.pwn(374) : warning 202: number of arguments does not match definition
    D:\GTA SAMP\Server\gamemodes\TheRealWorld3.pwn(374) : warning 202: number of arguments does not match definition
    D:\GTA SAMP\Server\gamemodes\TheRealWorld3.pwn(374) : warning 202: number of arguments does not match definition
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    3 Warnings.

  • Ich habe nun das eingegeben!
    public OnPlayerConnect(playerid) {
    GameTextForPlayer(playerid,"Willkommen auf dem Reallifeserver", 5000, 5);


    new jstr[256];
    new playername[MAX_PLAYER_NAME];
    GetPlayerName(playerid,playername,sizeof(playername));
    format(jstr, sizeof(jstr), "%s hat den Server betreten!", playername);
    SendClientMessageToAll(0xFF9900AA, jstr);


    // This example demonstrates how to create a dollar-icon on top of a 24/7 located
    // in Las Venturas. This way new players know where to go with their money!
    SetPlayerMapIcon(playerid,30,255.5579,65.5628,1003.6406,51,0);
    return 1;
    }


    Dann kommt aber ... D:\GTA SAMP\Server\gamemodes\TheRealWorld3.pwn(517) : warning 203: symbol is never used: "ret_memcpy"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    1 Warning.


    Kann mir nicht einer sagen was ich ins script fügen soll?