Beiträge von The Transporter

    Hi
    Ich würde gerne wisse ob ich Züge und Straßenbahnen nur am LS Bahnhof spawnen kann bzw. fahren kann ? Ich will nämlich in nähe von LS Airport eine machen, doch da spawnt dann kein zug/straßenbahn. Könnte mir wer hier eine strasen bahn hinmachen ? Danke Gruß Transporter

    hmm Ich weis net ich komm einfach net weiter bei mir is das total verbuggt ! wenn ich /clear mache löscht es alle wanteds ! wenn ich connecte hat jeder die gleiche anzahl an wanteds wie ich ! etc. etc. etc.


    Kann mir jetzt mal bitte einer helfen wie ich das mache??? Ich wäre demjenigen sooooo was von dankbar... weil ich jetzt schon ewig daran rumbastele ! An einem selber klappt das iergendwie nur nicht mit anderen spielern


    Hier mal meine ideen dazu:
    breadfish.de/wcf/attachment/177/

    ja denke ich auch ! ich habe das hier gefunden ! im script öfters einmal 0 und sonst auf 1
    was aber komisch ist ! Die cars die vorher vom ersteller drin waren, waren offen ! aber warum sind die hier dann zu ?


    TogglePlayerControllable(playerid, 1);


    hey hab dir mal zum Thema was sind das denn für koordinaten ! Mal den scrpit und die scriptfiles geschickt !
    Neu Textdokument (2).txt
    http://filebeam.de/temp/1/Neu_Textdokument.txt

    Hey ich hab ein Filterscript mit autos ! und hab da solche Koordinaten in scriptfiles.cfg !! wie bekomm ich solche koordinaten oder wie änder ich das ?
    400,2537.328125,-1531.282348,23.826200,91.966796,-1,-1,Dealership,Mesa,27000,,0,0
    500,2537.212646,-1527.840942,23.876600,91.081802,-1,-1,Dealership,Mesa,27000,,0,0
    500,2536.844970,-1524.882446,23.933799,90.160697,-1,-1,Dealership,Mesa,27000,,0,0
    500,2537.395996,-1519.970581,24.006998,87.696098,-1,-1,Dealership,Mesa,27000,,0,0
    500,2537.451660,-1515.402587,24.084299,90.970497,-1,-1,Dealership,Mesa,27000,,0,0
    554,2527.415771,-1517.291137,24.045799,357.628204,-1,-1,Dealership,Yosemite,40000,,0,0
    554,2523.540771,-1517.338623,24.042999,1.179998,-1,-1,Dealership,Yosemite,40000,,0,0
    554,2518.021972,-1517.276977,24.045600,3.357500,-1,-1,Dealership,Yosemite,40000,,0,0
    554,2515.432128,-1517.183105,24.043899,358.309814,-1,-1,Dealership,Yosemite,40000,,0,0
    554,2509.779785,-1517.182373,24.039400,0.923699,-1,-1,Dealership,Yosemite,40000,,0,0
    579,2514.186279,-1536.051147,23.638099,87.869697,-1,-1,Dealership,Huntley,48000,,0,0
    579,2512.955078,-1532.342285,23.745500,94.909301,-1,-1,Dealership,Huntley,48000,,0,0
    579,2512.852783,-1527.890625,23.705099,94.671897,-1,-1,Dealership,Huntley,48000,,0,0
    579,2511.329589,-1522.828125,23.764799,89.273803,-1,-1,Dealership,Huntley,48000,,0,0
    535,2127.615478,-1448.041748,23.672300,1.477802,-1,-1,Dealership,Slamvan,23000,,0,1
    535,2152.901123,-1454.923706,25.297573,88.966018,-1,-1,Dealership,Slamvan,23000,,0,0
    535,431.440093,-1804.656616,5.308287,183.714706,-1,-1,Dealership,Slamvan,23000,,0,0


    oder muss ich den name auch noch ändern hinten ?


    das heist wenn ich sowas hier einfüge, dann sind die autos zu aber die von vorher nicht ! HÄÄÄ ?( ?(
    429,2123.4910,-1157.9861,23.7777,358.7806,-1,-1,Dealership,Banshee,35000,,0,0
    429,2119.0232,-1158.2231,23.9370,3.6006,-1,-1,Dealership,Banshee,89000,,0,0
    429,2115.4348,-1158.5127,24.2502,355.8610,-1,-1,Dealership,Banshee,89000,,0,0
    496,2118.3474,-1126.6610,25.0281,356.5372,-1,-1,Dealership,Blista ,89000,,0,0
    496,2121.4648,-1126.6161,25.1460,353.3447,-1,-1,Dealership,Blista ,31000,,0,0
    496,2149.0493,-1133.7822,25.2827,270.5539,-1,-1,Dealership,Blista ,31000,,0,0
    457,2148.6851,-1138.3771,25.1314,269.6748,-1,-1,Dealership,Caddy,31000,,0,0
    457,2160.7827,-1158.0543,23.4658,89.9466,-1,-1,Dealership,Caddy,47000,,0,0
    542,2136.3857,-1128.8107,25.3511,357.4246,-1,-1,Dealership,Clover,47000,,0,0
    542,2136.1448,-1136.6062,25.3555,359.9843,-1,-1,Dealership,Clover,47000,,0,0
    542,2149.4761,-1143.1106,24.7276,266.2450,-1,-1,Dealership,Clover,28000,,0,0
    507,2161.3445,-1144.1005,24.6345,91.2244,-1,-1,Dealership,Elegant,28000,,0,0
    507,2162.1392,-1148.3376,24.2039,89.9471,-1,-1,Dealership,Elegant,28000,,0,0
    562,2136.6331,-1152.1133,23.7300,30.5180,-1,-1,Dealership,Elegy,35000,,0,0
    562,2126.5466,-1152.1997,23.6925,318.3795,-1,-1,Dealership,Elegy,35000,,0,0
    419,2119.5574,-1132.7053,25.0957,267.3109,-1,-1,Dealership,Esperanto,35000,,0,0
    419,2119.2048,-1136.4338,24.9842,262.9293,-1,-1,Dealership,Esperanto,31000,,0,1
    419,2147.9561,-1153.1396,23.7178,270.2969,-1,-1,Dealership,Esperanto,31000,,0,0
    533,2147.9797,-1148.2220,24.1341,267.4650,-1,-1,Dealership,Feltzer,31000,,0,0
    533,2119.0647,-1140.4752,24.6832,262.0598,-1,-1,Dealership,Feltzer,31000,,0,0
    466,2118.4487,-1143.7120,24.5075,264.1710,-1,-1,Dealership,Landstalker,31000,,0,0
    466,2118.3669,-1146.6078,24.2914,262.2347,-1,-1,Dealership,Bobcat,26000,,0,0
    559,2117.4231,-1149.6635,24.0628,265.2930,-1,-1,Dealership,Jester,26000,,0,0
    559,2117.1160,-1152.2917,24.0067,268.0081,-1,-1,Dealership,Jester,26000,,0,0

    hmm ok das mit dem wanteds speichern und anzeigen geht jetzt, allerdings wenn ich dann dem Spieler ein neues Wanted gebe, bleibt bei /wanted das alte stehen also das wo bei pWanteds gespeichert wurde. Wie mach ich das, dass diese file pWanteds sofort erneuert wird ?


    Das sieht im mom so aus da lädt er dann die wanteds von der user.ini file aber wenn ich neues wanted gebe wird immernoch das von userfile angezeigt


    WantedLevel[i] = PlayerInfo[playerid][pWanteds];
    if(WantedLevel[i] > 0)
    {
    GetPlayerName(i, giveplayer, sizeof(giveplayer));
    format(string, sizeof(string), "%s%s: %d", string,giveplayer,WantedLevel[i]);
    x++;
    if(x > 3) {
    SendClientMessage(playerid, COLOR_YELLOW, string);
    x = 0;
    format(string, sizeof(string), "");
    } else {
    format(string, sizeof(string), "%s, ", string);
    }
    }
    }
    }

    also mein Problem ist es, dass wenn ich neu connecte, dass bei mir die Sterne noch angezeigt werden, doch wenn ein cop dann /wanteds macht, werden sie ihm nicht angezeigt ! was machen ?


    Bei mir sieht das so aus:


    if(strcmp(cmd, "/wanted", true) == 0)
    {
    if(IsPlayerConnected(playerid))
    {
    if(IsACop(playerid))
    {
    new wanteds;
    wanteds = GetPlayerWantedLevel(playerid);
    PlayerInfo[playerid][pWanteds] = wanteds;
    new x;
    SendClientMessage(playerid, COLOR_GREEN, "Wanteds:");
    for(new i=0; i < MAX_PLAYERS; i++) {
    if(IsPlayerConnected(i))
    {
    if(WantedLevel[i] > 0)
    {
    GetPlayerName(i, giveplayer, sizeof(giveplayer));
    format(string, sizeof(string), "%s%s: %d", string,giveplayer,WantedLevel[i],wanteds);
    x++;
    if(x > 3) {
    SendClientMessage(playerid, COLOR_YELLOW, string);
    x = 0;
    format(string, sizeof(string), "");
    } else {
    format(string, sizeof(string), "%s, ", string);
    }
    }
    }
    }
    if(x <= 3 && x > 0) {
    string[strlen(string)-2] = '.';
    SendClientMessage(playerid, COLOR_YELLOW, string);
    }
    }
    else
    {
    SendClientMessage(playerid, COLOR_GREY, " Du bist kein Beamte !");
    }
    }//not connected
    return 1;
    }
    public SetPlayerCriminal(playerid,declare,reason[])
    {//example: SetPlayerCriminal(playerid,255, "Stealing A Police Vehicle");
    if(IsPlayerConnected(playerid))
    {
    //SetPlayerWantedLevel(playerid, PlayerInfo[playerid][pWanteds]);
    PlayerInfo[playerid][pCrimes] += 1;
    new points = WantedPoints[playerid];
    new turned[MAX_PLAYER_NAME];
    new turner[MAX_PLAYER_NAME];
    new turnmes[128];
    new wantedmes[128];
    new wlevel;
    strmid(PlayerCrime[playerid][pAccusedof], reason, 0, strlen(reason), 255);
    GetPlayerName(playerid, turned, sizeof(turned));
    if (declare == 255)
    {
    format(turner, sizeof(turner), "Unbekannt");
    strmid(PlayerCrime[playerid][pVictim], turner, 0, strlen(turner), 255);
    }
    else
    {
    if(IsPlayerConnected(declare))
    {
    GetPlayerName(declare, turner, sizeof(turner));
    strmid(PlayerCrime[playerid][pVictim], turner, 0, strlen(turner), 255);
    strmid(PlayerCrime[declare][pBplayer], turned, 0, strlen(turned), 255);
    strmid(PlayerCrime[declare][pAccusing], reason, 0, strlen(reason), 255);
    }
    }
    format(turnmes, sizeof(turnmes), "Du hast ein Verbrechen begangen ( %s ). Reporter: %s.",reason,turner);
    SendClientMessage(playerid, COLOR_LIGHTRED, turnmes);
    if(points > 0)
    {
    new
    pt,
    yesno;
    if(points == 3) { if(WantedLevel[playerid] != 1) { WantedLevel[playerid] = 1; wlevel = 1; yesno = 1; } }
    else if(points >= 4 && points <= 5) { if(WantedLevel[playerid] != 2) { WantedLevel[playerid] = 2; wlevel = 2; yesno = 1; } }
    else if(points >= 6 && points <= 7) { if(WantedLevel[playerid] != 3) { WantedLevel[playerid] = 3; wlevel = 3; yesno = 1; } }
    else if(points >= 8 && points <= 9) { if(WantedLevel[playerid] != 4) { WantedLevel[playerid] = 4; wlevel = 4; yesno = 1; } }
    else if(points >= 10 && points <= 11) { if(WantedLevel[playerid] != 5) { WantedLevel[playerid] = 5; wlevel = 5; yesno = 1; } }
    else if(points >= 12 && points <= 13) { if(WantedLevel[playerid] != 6) { WantedLevel[playerid] = 6; wlevel = 6; yesno = 1; } }
    else if(points >= 14) { if(WantedLevel[playerid] != 10) { WantedLevel[playerid] = 10; wlevel = 10; yesno = 1; } }
    if(WantedLevel[playerid] >= 1) { if(gTeam[playerid] == 3) { gTeam[playerid] = 4; } }
    pt=WantedLevel[playerid];
    if(pt>6) pt=6;
    SetPlayerWantedLevel(playerid,pt);
    if(yesno)
    {
    format(wantedmes, sizeof(wantedmes), "Dein Wanted Level: %d", wlevel);
    SendClientMessage(playerid, COLOR_YELLOW, wantedmes);
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
    if(IsPlayerConnected(i))
    {
    if(PlayerInfo[i][pMember] == 1||PlayerInfo[i][pLeader] == 1)
    {
    format(cbjstore, sizeof(turnmes), "Notrufzentrale: Anrufer: %s",turner);
    SendClientMessage(i, TEAM_BLUE_COLOR, cbjstore);
    format(cbjstore, sizeof(turnmes), "Notrufzentrale: Verbrechen: %s, Gesucht: %s",reason,turned);
    SendClientMessage(i, TEAM_BLUE_COLOR, cbjstore);
    }
    }
    }
    }
    }
    }//not connected
    }

    sry war falsch ! ich hab das include ganz oben vom script und es kommt das hier


    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\pawno\include\Obj_LITE.inc(24) : error 017: undefined symbol "MAX_PLAYERS"
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\pawno\include\Obj_LITE.inc(24) : error 009: invalid array size (negative, zero or out of bounds)
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\pawno\include\Obj_LITE.inc(25) : error 017: undefined symbol "MAX_PLAYERS"
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\pawno\include\Obj_LITE.inc(35) : error 017: undefined symbol "MAX_PLAYERS"
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\pawno\include\Obj_LITE.inc(54) : error 017: undefined symbol "GetPlayerPos"
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\pawno\include\Obj_LITE.inc(54) : warning 215: expression has no effect
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\pawno\include\Obj_LITE.inc(54) : warning 215: expression has no effect
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\pawno\include\Obj_LITE.inc(54) : warning 215: expression has no effect
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\pawno\include\Obj_LITE.inc(54) : warning 215: expression has no effect
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\pawno\include\Obj_LITE.inc(54) : error 001: expected token: ";", but found ")"
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\pawno\include\Obj_LITE.inc(54) : error 029: invalid expression, assumed zero
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\pawno\include\Obj_LITE.inc(54) : fatal error 107: too many error messages on one line


    Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    8 Errors.

    und was is dann das hier ?
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\pawno\include\morphinc.inc(3) : warning 219: local variable "x2" shadows a variable at a preceding level
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\pawno\include\morphinc.inc(3) : warning 219: local variable "y2" shadows a variable at a preceding level
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\pawno\include\morphinc.inc(3) : warning 219: local variable "z2" shadows a variable at a preceding level
    C:\PROGRA~1\ROCKST~1\GRANDT~1\GAMEMO~1\Reallife.pwn(522) : warning 219: local variable "x2" shadows a variable at a preceding level
    C:\PROGRA~1\ROCKST~1\GRANDT~1\GAMEMO~1\Reallife.pwn(522) : warning 219: local variable "y2" shadows a variable at a preceding level
    C:\PROGRA~1\ROCKST~1\GRANDT~1\GAMEMO~1\Reallife.pwn(522) : warning 219: local variable "z2" shadows a variable at a preceding level