Beiträge von EliteBread

    bei mir kommen fehler


    C:\Users\EliteBread\Desktop\Spiele usw\Andere Programme\Daten\Selfmade Script\gamemodes\Bread.pwn(3146) : error 017: undefined symbol "wechsell"
    C:\Users\EliteBread\Desktop\Spiele usw\Andere Programme\Daten\Selfmade Script\gamemodes\Bread.pwn(3148) : error 028: invalid subscript (not an array or too many subscripts): "HomeIP"
    C:\Users\EliteBread\Desktop\Spiele usw\Andere Programme\Daten\Selfmade Script\gamemodes\Bread.pwn(3148) : warning 215: expression has no effect
    C:\Users\EliteBread\Desktop\Spiele usw\Andere Programme\Daten\Selfmade Script\gamemodes\Bread.pwn(3148) : error 001: expected token: ";", but found "]"
    C:\Users\EliteBread\Desktop\Spiele usw\Andere Programme\Daten\Selfmade Script\gamemodes\Bread.pwn(3148) : error 029: invalid expression, assumed zero
    C:\Users\EliteBread\Desktop\Spiele usw\Andere Programme\Daten\Selfmade Script\gamemodes\Bread.pwn(3148) : fatal error 107: too many error messages on one line


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



    5 Errors.


    public wechsel(playerid)
    {
    if(wechsell == 0)
    {
    TextDrawShowForPlayer(playerid,HomeIP[playerid][1]);
    TextDrawHideForPlayer(playerid,TeamS);
    wechsell = 1;
    }
    else
    {
    TextDrawShowForPlayer(playerid,TeamS);
    TextDrawHideForPlayer(playerid,HomeIP[playerid][1]);
    wechsell = 0;
    }
    return 1;
    }

    aber sicher doch
    public OnPlayerConnect(playerid)
    {
    {
    if(pSpeedoOn[playerid] == 0)
    {
    pSpeedo[playerid][0] = TextDrawCreate(541.000000,367.000000,"Carname");
    TextDrawBackgroundColor(pSpeedo[playerid][0], 0x000000ff);
    TextDrawUseBox(pSpeedo[playerid][0],1);
    TextDrawBoxColor(pSpeedo[playerid][0],0x000000cc);
    TextDrawTextSize(pSpeedo[playerid][0],621.000000,8.000000);
    TextDrawAlignment(pSpeedo[playerid][0],2);
    TextDrawFont(pSpeedo[playerid][0],3);
    TextDrawLetterSize(pSpeedo[playerid][0],0.399999,1.100000);
    TextDrawColor(pSpeedo[playerid][0],0xffffffff);
    TextDrawSetOutline(pSpeedo[playerid][0],1);
    TextDrawSetProportional(pSpeedo[playerid][0],1);
    TextDrawSetShadow(pSpeedo[playerid][0], 1);


    pSpeedo[playerid][1] = TextDrawCreate(541.000000,381.000000,"Km/h: ");
    TextDrawBackgroundColor(pSpeedo[playerid][1],0x000000cc);
    TextDrawUseBox(pSpeedo[playerid][1],1);
    TextDrawBoxColor(pSpeedo[playerid][1],0x00000099);
    TextDrawTextSize(pSpeedo[playerid][1],621.000000,3.000000);
    TextDrawAlignment(pSpeedo[playerid][1],0);
    TextDrawFont(pSpeedo[playerid][1],1);
    TextDrawLetterSize(pSpeedo[playerid][1],0.399999,1.100000);
    TextDrawColor(pSpeedo[playerid][1],0xffffffff);
    TextDrawSetOutline(pSpeedo[playerid][1], 1);
    TextDrawSetProportional(pSpeedo[playerid][1], 1);
    TextDrawSetShadow(pSpeedo[playerid][1], 1);
    TextDrawTextSize(pSpeedo[playerid][1], 623.000000, 95.000000);

    pSpeedo[playerid][2] = TextDrawCreate(541.000000,396.000000,"Tank");
    TextDrawBackgroundColor(pSpeedo[playerid][2],0x000000cc);
    TextDrawUseBox(pSpeedo[playerid][2],1);
    TextDrawBoxColor(pSpeedo[playerid][2],0x00000099);
    TextDrawTextSize(pSpeedo[playerid][2],621.000000,13.000000);
    TextDrawAlignment(pSpeedo[playerid][2],0);
    TextDrawFont(pSpeedo[playerid][2],1);
    TextDrawLetterSize(pSpeedo[playerid][2],0.299999,1.400000);
    TextDrawColor(pSpeedo[playerid][2],0xffffffff);
    TextDrawSetOutline(pSpeedo[playerid][2],1);
    TextDrawSetProportional(pSpeedo[playerid][2], 1);
    TextDrawSetShadow(pSpeedo[playerid][2], 1);


    pSpeedo[playerid][3] = TextDrawCreate(541.000000,412.000000,"Zustand");
    TextDrawBackgroundColor(pSpeedo[playerid][3],0x000000cc);
    TextDrawUseBox(pSpeedo[playerid][3],1);
    TextDrawBoxColor(pSpeedo[playerid][3],0x00000099);
    TextDrawTextSize(pSpeedo[playerid][3],621.000000,1.000000);
    TextDrawAlignment(pSpeedo[playerid][3],0);
    TextDrawFont(pSpeedo[playerid][3],1);
    TextDrawLetterSize(pSpeedo[playerid][3],0.199999,1.600000);
    TextDrawColor(pSpeedo[playerid][3],0xffffffff);
    TextDrawSetOutline(pSpeedo[playerid][3],1);
    TextDrawSetProportional(pSpeedo[playerid][3],1);
    TextDrawSetShadow(pSpeedo[playerid][3], 1);

    pSpeedo[playerid][4] = TextDrawCreate(624.000000,363.000000," ");
    TextDrawBackgroundColor(pSpeedo[playerid][4],0x000000ff);
    TextDrawUseBox(pSpeedo[playerid][4],1);
    TextDrawBoxColor(pSpeedo[playerid][4],0xffffff99);
    TextDrawTextSize(pSpeedo[playerid][4],538.000000,17.000000);
    TextDrawAlignment(pSpeedo[playerid][4],0);
    TextDrawFont(pSpeedo[playerid][4],1);
    TextDrawLetterSize(pSpeedo[playerid][4],1.800000,0.699999);
    TextDrawColor(pSpeedo[playerid][4],0xffffffff);
    TextDrawSetOutline(pSpeedo[playerid][4],1);
    TextDrawSetProportional(pSpeedo[playerid][4],1);
    TextDrawSetShadow(pSpeedo[playerid][4],1);

    pSpeedo[playerid][5] = TextDrawCreate(624.000000,430.000000," ");
    TextDrawBackgroundColor(pSpeedo[playerid][5],0x000000ff);
    TextDrawUseBox(pSpeedo[playerid][5],1);
    TextDrawBoxColor(pSpeedo[playerid][5],0xffffff99);
    TextDrawTextSize(pSpeedo[playerid][5],538.000000,26.000000);
    TextDrawAlignment(pSpeedo[playerid][5],0);
    TextDrawFont(pSpeedo[playerid][5],3);
    TextDrawLetterSize(pSpeedo[playerid][5],1.000000,1.000000);
    TextDrawColor(pSpeedo[playerid][5],0xffffffff);
    TextDrawSetOutline(pSpeedo[playerid][5],1);
    TextDrawSetProportional(pSpeedo[playerid][5],1);
    TextDrawSetShadow(pSpeedo[playerid][5],1);








    pSpeedoOn[playerid] = 1;

    }

    ocmd:kick(playerid,params[])
    {
    new pID;
    if(!isPlayerAnAdmin(playerid,==0) return SendClientMessage(playerid,0xE10000FF,"Du bist kein Admin/Rang zu niedrig!");
    new reason[64], string[64];
    if(sscanf(params,"us",pID,reason)) return SendClientMessage(playerid,Rot,"Nutze /kick [Playerid] [Grund]");
    format(string,sizeof(string),"AdmCmd: %s wurde von %s gekickt. Grund: %s.",PlayerName(pID),PlayerName(playerid),reason);
    SendClientMessageToAll(dunkelrot,string);
    Kick(pID);
    return 1;
    }


    so würde ich das machen

    Hallo,
    alle zusammen ich biete ein Lolipop chainsaw code denn ich gewonnen habe aber keine Ps3 habe
    für 10€ paysafe per Mittelsmann (wie auch immer das geht)


    MFG Elite

    Hallo Com,
    ich habe Probiert ein Tacho zu erstelen leider nicht ganz so wie ich das wollte


    es siht so aus :(


    ich hoffe ihr könnt euch denken wie es aussehen sollte:



    xD ich weiß nicht seher schön



    LG Elite

    Hallo Com,
    wie mache ich es das der User in meinem car sitzen muss und ich mich nicht selber heilen kann
    MFG Elite


    dcmd_heal(playerid,params[])
    {
    if(PlayerInfo[playerid][Beruf] == 4)
    {
    if(!IsAMedicCar(GetPlayerVehicleID(playerid))) return SendClientMessage(playerid, Rot,"Du bist in keinem Rtw ");
    {
    new pID, grund[50], hname[MAX_PLAYER_NAME];
    new string[128];
    if(sscanf(params,"us",pID,grund))
    {
    SendClientMessage(playerid,Gelb,"Benutze: /heal [playerid]");


    }
    GetPlayerName(playerid,hname,sizeof(hname));
    format(string,sizeof(string),"Du wurdest von %s für 75$ Geheilt",hname);
    SendClientMessage(pID,Grün,string);
    SetPlayerHealth(pID,100);
    PlayerInfo[pID][Geld] = -75;


    }
    }

    return 1;
    }

    dabei geht es ja aber hier bei nicht


    public OnPlayerStateChange(playerid, newstate, oldstate)
    {
    if(vehicleid == 448 || vehicleid == 461 || vehicleid == 462 || vehicleid == 463 || vehicleid == 468 || vehicleid == 471 || vehicleid == 521
    || vehicleid == 522 || vehicleid == 523 || vehicleid == 581 || vehicleid == 586)
    {
    if(newstate == PLAYER_STATE_DRIVER && PlayerInfo[playerid][BikeL] != 1)
    {
    RemovePlayerFromVehicle(playerid);
    SendClientMessage(playerid, Rot, "Du hast keinen Motorradschein");
    }
    }


    if(vehicleid == 400 || vehicleid == 401 || vehicleid == 402 || vehicleid == 404 || vehicleid == 405 ||
    vehicleid == 409 || vehicleid == 410 || vehicleid == 411 || vehicleid == 412 || vehicleid == 413 ||
    vehicleid == 414 || vehicleid == 415 || vehicleid == 416 || vehicleid == 418 || vehicleid == 419 ||
    vehicleid == 420 || vehicleid == 421 || vehicleid == 422 || vehicleid == 423 || vehicleid == 424 ||
    vehicleid == 426 || vehicleid == 496 || vehicleid == 541 ||
    vehicleid == 427 || vehicleid == 428 || vehicleid == 429 || vehicleid == 434 || vehicleid == 436 ||
    vehicleid == 438 || vehicleid == 439 || vehicleid == 440 || vehicleid == 442 || vehicleid == 445 ||
    vehicleid == 451 || vehicleid == 458 || vehicleid == 459 || vehicleid == 466 || vehicleid == 467 ||
    vehicleid == 470 || vehicleid == 474 || vehicleid == 475 || vehicleid == 477 || vehicleid == 478 ||
    vehicleid == 479 || vehicleid == 480 || vehicleid == 482 || vehicleid == 483 || vehicleid == 489 ||
    vehicleid == 490 || vehicleid == 491 || vehicleid == 492 || vehicleid == 494 || vehicleid == 495 ||
    vehicleid == 498 || vehicleid == 499 || vehicleid == 500 || vehicleid == 502 || vehicleid == 503 ||
    vehicleid == 504 || vehicleid == 505 || vehicleid == 506 || vehicleid == 507 || vehicleid == 508 ||
    vehicleid == 516 || vehicleid == 517 || vehicleid == 518 || vehicleid == 525 || vehicleid == 526 ||
    vehicleid == 527 || vehicleid == 528 || vehicleid == 529 || vehicleid == 531 || vehicleid == 532 ||
    vehicleid == 533 || vehicleid == 534 || vehicleid == 535 || vehicleid == 536 || vehicleid == 540 ||
    vehicleid == 542 || vehicleid == 543 || vehicleid == 545 || vehicleid == 546 || vehicleid == 547 ||
    vehicleid == 549 || vehicleid == 550 || vehicleid == 551 || vehicleid == 552 || vehicleid == 554 ||
    vehicleid == 555 || vehicleid == 558 || vehicleid == 560 || vehicleid == 561 || vehicleid == 562 ||
    vehicleid == 565 || vehicleid == 566 || vehicleid == 567 || vehicleid == 568 || vehicleid == 573 ||
    vehicleid == 575 || vehicleid == 576 || vehicleid == 579 || vehicleid == 580 || vehicleid == 496 ||
    vehicleid == 582 || vehicleid == 585 || vehicleid == 587 || vehicleid == 588 || vehicleid == 589 ||
    vehicleid == 596 || vehicleid == 597 || vehicleid == 598 || vehicleid == 599 || vehicleid == 600 ||
    vehicleid == 601 || vehicleid == 602 || vehicleid == 603 || vehicleid == 604 || vehicleid == 605 ||
    vehicleid == 609)
    {
    if(newstate == PLAYER_STATE_DRIVER && PlayerInfo[playerid][CarL] != 1)
    {
    RemovePlayerFromVehicle(playerid);
    SendClientMessage(playerid, Rot, "Du hast keinen Fühererschein");
    }
    }
    if(vehicleid == 417 || vehicleid == 425 ||
    vehicleid == 447 || vehicleid == 460 ||
    vehicleid == 469 || vehicleid == 476 ||
    vehicleid == 487 || vehicleid == 488 ||
    vehicleid == 497 || vehicleid == 511 ||
    vehicleid == 512 || vehicleid == 513 ||
    vehicleid == 519 || vehicleid == 520 ||
    vehicleid == 548 || vehicleid == 553 ||
    vehicleid == 563 || vehicleid == 577 ||
    vehicleid == 592 || vehicleid == 593)
    {
    if(newstate == PLAYER_STATE_DRIVER && PlayerInfo[playerid][FlyL] != 1)
    {
    RemovePlayerFromVehicle(playerid);
    SendClientMessage(playerid, Rot, "Du hast keinen Flugschein");
    }
    }
    da kommt die errors

    Hallo Com,
    ich habe ein kleines Problem ich habe eine
    Fühererschein abfrage leider geht es nicht weil es zum error bei vehicleid kommt
    was mich iritiert weil ich habe es auch so bei IsNoNitroCar gemacht und da kommen keine errors ???


    stock IsNoNitroCar(vehicleid)
    {
    if(vehicleid == 581 || vehicleid == 523 || vehicleid == 462 || vehicleid == 521 ||
    vehicleid == 463 || vehicleid == 522 || vehicleid == 461 || vehicleid == 448 ||
    vehicleid == 468 || vehicleid == 586 || vehicleid == 509 || vehicleid == 481 ||
    vehicleid == 510 || vehicleid == 472 || vehicleid == 473 || vehicleid == 493 ||
    vehicleid == 595 || vehicleid == 484 || vehicleid == 430 || vehicleid == 453 ||
    vehicleid == 452 || vehicleid == 446 || vehicleid == 454 || vehicleid == 590 ||
    vehicleid == 569 || vehicleid == 537 || vehicleid == 538 || vehicleid == 570 ||
    vehicleid == 449 || vehicleid == 406)
    {
    return 1;
    }
    else return 0;
    }





    C:\Users\EliteBread\Desktop\Spiele usw\Andere Programme\Daten\Selfmade Script\gamemodes\Bread.pwn(2885) : error 017: undefined symbol "vehicleid"
    C:\Users\EliteBread\Desktop\Spiele usw\Andere Programme\Daten\Selfmade Script\gamemodes\Bread.pwn(2895) : error 017: undefined symbol "vehicleid"
    C:\Users\EliteBread\Desktop\Spiele usw\Andere Programme\Daten\Selfmade Script\gamemodes\Bread.pwn(2927) : error 017: undefined symbol "vehicleid"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    3 Errors.