Beiträge von TriXxoR

    Da kannst du mit PlayerToPoint arbeiten.
    Hier nen TIPP


    public Ports()
    {
    for(new i=0; i<MAX_PLAYERS; i++) {
    if(IsPlayerConnected(i))
    {
    if (PlayerToPoint(1.0, i,1481.2798,-1771.2249,18.7958))
    {
    SetPlayerInterior(i,3);
    SetPlayerPos(i,387.7978,173.8582,1008.3828);
    SendClientMessage(i, COLOR_YELLOW, " Du kannst mit /jobs das Job Menü aufrufen!.");
    GameTextForPlayer(i, "~w~Welcome to the City Hall", 5000, 1);
    SetPlayerCheckpoint(i,361.8299,173.6021,1008.3828,1.0);
    PlayerInfo[i][pLocal] = 241;
    }}}
    return 1;
    }


    Das hab ich ausn Script rauskopiert


    Dann über Ports nen timer laufen lassen

    Hey... kennt ihr hier server die Schonmal fremdwerbung gemacht haben ?
    Es nervt ziemelich...
    Wir sind dabei uns was aufzubauen haben auch gut 35 Stammspieler und am tag im Schnitt 24 Leute aber immer wieder kommen Fremdwerber vorbei.



    Hier mal 2IPS:
    Vomn solchen Deppen.


    188.40.86.76:9072
    78.143.58.58:7777


    if (strcmp(cmd, "/buypremium", true) == 0)
    {
    new Spielername[MAX_PLAYER_NAME]; //<Am besten oben in den Lokalen berreich
    GetPlayerName(playerid, Spielername, sizeof(Spielername));
    if(dini_Exists("/PremiumUser/%s.ini",SpielerName))
    {
    SendClientMessage(playerid, COLOR_LIGHTGREEN, "Du bist bereits Premium User");
    }
    else
    {
    dini_Create("/PremiumUser/%s.ini",SpielerName);
    hatpremium[playerid] += 1;
    SendClientMessage(playerid, COLOR_LIGHTGREEN, "Herzlichen Glückwunsch! Du bist nun Premium User!");
    GivePlayerMoney(playerid, -5000000);
    }
    return 1;
    }


    Vll so... weiss aber net

    if(strcmp(cmd,"/showperso",true)==0)
    {
    if(IsPlayerConnected(playerid))
    {
    tmp = strtok(cmdtext, idx);
    if(!strlen(tmp))
    {
    SendClientMessage(playerid, COLOR_WHITE, "FEHLER: /showperso [playerid]");
    return 1;
    }
    giveplayerid = ReturnUser(tmp);
    if(IsPlayerConnected(giveplayerid))
    {
    if(giveplayerid != INVALID_PLAYER_ID)
    {
    if(PlayerInfo[playerid][pOwnPerso] == 0)
    {
    SendClientMessage(playerid, COLOR_GREY, "**Du besitzt keinen PersonalAusweis**");
    return 1;
    }
    if (ProxDetectorS(8.0, playerid, giveplayerid))
    {
    if(giveplayerid == playerid) { SendClientMessage(playerid, COLOR_GREY, "Um deine Stats zu betrachten Tipp /stats!"); return 1; }
    new jtext[20];
    if(PlayerInfo[playerid][pJob] == 1) { jtext = "Dedektiv"; }
    else if(PlayerInfo[playerid][pJob] == 2) { jtext = "Anwalt"; }
    else if(PlayerInfo[playerid][pJob] == 3) { jtext = "Hure"; }
    else if(PlayerInfo[playerid][pJob] == 4) { jtext = "Drogen Dealer"; }
    else if(PlayerInfo[playerid][pJob] == 5) { jtext = "Autodieb"; }
    else if(PlayerInfo[playerid][pJob] == 6) { jtext = "News Reporter"; }
    else if(PlayerInfo[playerid][pJob] == 7) { jtext = "KFZ Mechaniker"; }
    else if(PlayerInfo[playerid][pJob] == 8) { jtext = "Bodyguard"; }
    else if(PlayerInfo[playerid][pJob] == 9) { jtext = "Waffendealer"; }
    else if(PlayerInfo[playerid][pJob] == 10) { jtext = "Autodealer"; }
    else if(PlayerInfo[playerid][pJob] == 12) { jtext = "Boxer"; }
    else if(PlayerInfo[playerid][pJob] == 14) { jtext = "Busfahrer"; }
    else if(PlayerInfo[playerid][pJob] == 15) { jtext = "Zeitungs Junge"; }
    else if(PlayerInfo[playerid][pJob] == 16) { jtext = "ZugFahrer"; }
    else { jtext = "None"; }
    new drank[20];
    if(PlayerInfo[playerid][pDonateRank] == 1) { drank = "Bürger von SA"; }
    else if(PlayerInfo[playerid][pDonateRank] >= 2) { drank = "Ehrenbürger"; }
    else if(PlayerInfo[playerid][pDonateRank] >= 2) { drank = "Special User"; }
    else { drank = "Einwanderer"; }
    new name[MAX_PLAYER_NAME];
    new age = PlayerInfo[playerid][pAge];
    new crimes = PlayerInfo[playerid][pCrimes];
    new level = PlayerInfo[playerid][pLevel];
    GetPlayerName(playerid, name, sizeof(name));


    new string1[128],string2[128],string3[128],string4[128],string5[128],string6[128],mstring[1280];


    format(string1, sizeof(string1),"Name: %s",name);


    format(string2, sizeof(string2),"Alter: %d",age);


    format(string3, sizeof(string3),"Level: %d",level);


    format(string4, sizeof(string4),"Beruf: %s",jtext);


    format(string5, sizeof(string5),"Status: %s",drank);


    format(string6, sizeof(string6),"Verbrechen: %d",crimes);


    format(mstring, sizeof (mstring), "%s\n\n%s\n\n%s\n\n%s\n\n%s\n\n%s", string1,string2,string3,string4,string5,string6);
    ShowPlayerDialog(giveplayerid,Perso,DIALOG_STYLE_MSGBOX,"Personalausweis",mstring,"Ok","Cancel"); //<<<<< Hier die FehlerZeile
    }
    else
    {
    SendClientMessage(playerid, COLOR_GREY, " Spieler ist nicht in deiner Nähe !");
    return 1;
    }
    }
    }
    else
    {
    SendClientMessage(playerid, COLOR_GREY, " Dieser Spieler ist Offline !");
    return 1;
    }
    }
    return 1;
    }