Beiträge von mimpus

    Wieso geht das nicht=



    public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
    {
    new auto = GetVehicleModel(GetPlayerVehicleID(playerid));
    if(GetPlayerState(playerid) == pCarLicense)
    {
    if(auto == 400 || auto == 401 || auto == 402 || auto == 404 || auto == 405 || auto == 409 || auto == 410 || auto == 411
    || auto == 412 || auto == 413 || auto == 414 || auto == 415 || auto == 416 || auto == 417 || auto == 418 || auto == 419
    || auto == 420 || auto == 421 || auto == 422 || auto == 423 || auto == 424 || auto == 426 || auto == 429 || auto == 431
    || auto == 434 || auto == 436 || auto == 437 || auto == 438 || auto == 439 || auto == 440 || auto == 442 || auto == 444
    || auto == 445 || auto == 451 || auto == 455 || auto == 456 || auto == 458 || auto == 459 || auto == 466 || auto == 467
    || auto == 470 || auto == 474 || auto == 475 || auto == 477 || auto == 478 || auto == 479 || auto == 480 || auto == 482
    || auto == 483 || auto == 486 || auto == 489 || auto == 490 || auto == 491 || auto == 492 || auto == 494 || auto == 495
    || auto == 496 || auto == 498 || auto == 499 || auto == 500 || auto == 502 || auto == 503 || auto == 504 || auto == 505
    || auto == 506 || auto == 507 || auto == 508 || auto == 516 || auto == 517 || auto == 518 || auto == 525 || auto == 525
    || auto == 527 || auto == 528 || auto == 529 || auto == 531 || auto == 532 || auto == 534 || auto == 534 || auto == 536
    || auto == 539 || auto == 549 || auto == 541 || auto == 542 || auto == 543 || auto == 546 || auto == 547 || auto == 548
    || auto == 550 || auto == 551 || auto == 552 || auto == 554 || auto == 555 || auto == 556 || auto == 557 || auto == 558
    || auto == 559 || auto == 560 || auto == 561 || auto == 562 || auto == 565 || auto == 566 || auto == 567 || auto == 568
    || auto == 573 || auto == 574 || auto == 575 || auto == 576 || auto == 579 || auto == 580 || auto == 582 || auto == 585
    || auto == 587 || auto == 588 || auto == 589 || auto == 596 || auto == 597 || auto == 598 || auto == 599 || auto == 600
    || auto == 601 || auto == 602 || auto == 603 || auto == 604 || auto == 605 || auto == 609 || auto == 432)
    {
    if(PlayerInfo[playerid][pCarLicense] == 0)
    {
    RemovePlayerFromVehicle(playerid);
    SendClientMessage(playerid,0xFFFF89FF,"Sie besitzen kein Führerschein");
    }
    }
    }



    Hier die Errors




    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(394) : error 017: undefined symbol "SavePlayer"
    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(463) : error 017: undefined symbol "SavePlayer"
    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(603) : warning 213: tag mismatch
    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(630) : error 029: invalid expression, assumed zero
    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(630) : error 004: function "OnPlayerExitVehicle" is not implemented
    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(632) : error 079: inconsistent return types (array & non-array)
    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(635) : warning 225: unreachable code
    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(635) : error 029: invalid expression, assumed zero
    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(635) : error 004: function "OnPlayerStateChange" is not implemented
    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(637) : error 079: inconsistent return types (array & non-array)
    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(640) : warning 225: unreachable code
    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(640) : error 029: invalid expression, assumed zero
    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(640) : error 004: function "OnPlayerEnterCheckpoint" is not implemented
    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(642) : error 079: inconsistent return types (array & non-array)
    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(645) : warning 225: unreachable code
    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(645) : error 029: invalid expression, assumed zero
    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(645) : error 004: function "OnPlayerLeaveCheckpoint" is not implemented
    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(647) : error 079: inconsistent return types (array & non-array)
    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(650) : warning 225: unreachable code
    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(650) : error 029: invalid expression, assumed zero
    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(650) : error 004: function "OnPlayerEnterRaceCheckpoint" is not implemented
    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(652) : error 079: inconsistent return types (array & non-array)
    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(655) : warning 225: unreachable code
    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(655) : error 029: invalid expression, assumed zero
    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(655) : error 004: function "OnPlayerLeaveRaceCheckpoint" is not implemented
    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(657) : error 079: inconsistent return types (array & non-array)
    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(660) : warning 225: unreachable code
    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(660) : error 029: invalid expression, assumed zero
    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(660) : error 004: function "OnRconCommand" is not implemented
    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(662) : error 079: inconsistent return types (array & non-array)
    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(665) : warning 225: unreachable code
    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(665) : error 029: invalid expression, assumed zero
    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(665) : error 004: function "OnPlayerRequestSpawn" is not implemented
    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(667) : error 079: inconsistent return types (array & non-array)
    Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


    26 Errors.



    bitte um hilfe

    Zitat

    J:\Dokumente und Einstellungen\Atti\Desktop\DRP v.1.2\gamemodes\DRP.pwn(10702) : error 017: undefined symbol "cmdtext"
    J:\Dokumente und Einstellungen\Atti\Desktop\DRP v.1.2\gamemodes\DRP.pwn(10703) : error 029: invalid expression, assumed zero
    J:\Dokumente und Einstellungen\Atti\Desktop\DRP v.1.2\gamemodes\DRP.pwn(10703) : warning 215: expression has no effect
    J:\Dokumente und Einstellungen\Atti\Desktop\DRP v.1.2\gamemodes\DRP.pwn(10703) : error 001: expected token: ";", but found ")"
    J:\Dokumente und Einstellungen\Atti\Desktop\DRP v.1.2\gamemodes\DRP.pwn(10703) : error 029: invalid expression, assumed zero

    Welche zeile ist /10703

    Hi mein Frak sys geht mit dini und zwa nur Team und nicht Fraktion, wo muss ich einfügen dam mit nur Team 4 sie benutzen kann??
    Danke im Vorraus hab nix in der Wiki gefunden

    OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
    {
    if(GetVehicleModel(vehicleid) == 521 || GetVehicleModel(vehicleid) == 522 || GetVehicleModel(vehicleid) == 523 || GetVehicleModel(vehicleid) == 586 || GetVehicleModel(vehicleid) == 581 || GetVehicleModel(vehicleid) == 463 || GetVehicleModel(vehicleid) == 461)
    {
    if(PlayerInfo[playerid][pBikeLicense] == 0)
    {
    SendClientMessage(playerid, 0xFFFF89FF, "Du hast keinen Motorrad Schein!"); //ja ich helf dir, mache aber nicht alles^^
    RemovePlayerFromVehicle(playerid);
    }
    }
    if(GetVehicleModel(vehicleid) == 400)
    if(GetVehicleModel(vehicleid) == 401)
    if(GetVehicleModel(vehicleid) == 402)
    if(GetVehicleModel(vehicleid) == 404)
    if(GetVehicleModel(vehicleid) == 405)
    if(GetVehicleModel(vehicleid) == 406)
    if(GetVehicleModel(vehicleid) == 407)
    if(GetVehicleModel(vehicleid) == 408)
    if(GetVehicleModel(vehicleid) == 409)
    if(GetVehicleModel(vehicleid) == 410)
    if(GetVehicleModel(vehicleid) == 411)
    if(GetVehicleModel(vehicleid) == 412)
    if(GetVehicleModel(vehicleid) == 413)
    if(GetVehicleModel(vehicleid) == 414)
    if(GetVehicleModel(vehicleid) == 415)
    if(GetVehicleModel(vehicleid) == 416)
    if(GetVehicleModel(vehicleid) == 418)
    if(GetVehicleModel(vehicleid) == 419)
    if(GetVehicleModel(vehicleid) == 420)
    if(GetVehicleModel(vehicleid) == 421)
    if(GetVehicleModel(vehicleid) == 422)
    if(GetVehicleModel(vehicleid) == 423)
    if(GetVehicleModel(vehicleid) == 424)
    if(GetVehicleModel(vehicleid) == 426)
    if(GetVehicleModel(vehicleid) == 427)
    if(GetVehicleModel(vehicleid) == 428)
    if(GetVehicleModel(vehicleid) == 429)
    if(GetVehicleModel(vehicleid) == 431)
    if(GetVehicleModel(vehicleid) == 432)
    if(GetVehicleModel(vehicleid) == 433)
    if(GetVehicleModel(vehicleid) == 434)
    if(GetVehicleModel(vehicleid) == 435)
    if(GetVehicleModel(vehicleid) == 436)
    if(GetVehicleModel(vehicleid) == 437)
    if(GetVehicleModel(vehicleid) == 438)
    if(GetVehicleModel(vehicleid) == 439)
    if(GetVehicleModel(vehicleid) == 440)
    if(GetVehicleModel(vehicleid) == 442)
    if(GetVehicleModel(vehicleid) == 444)
    if(GetVehicleModel(vehicleid) == 445)
    if(GetVehicleModel(vehicleid) == 449)
    if(GetVehicleModel(vehicleid) == 451)
    if(GetVehicleModel(vehicleid) == 453)
    if(GetVehicleModel(vehicleid) == 455)
    if(GetVehicleModel(vehicleid) == 456)
    if(GetVehicleModel(vehicleid) == 457)
    if(GetVehicleModel(vehicleid) == 458)
    if(GetVehicleModel(vehicleid) == 459)
    if(GetVehicleModel(vehicleid) == 466)
    if(GetVehicleModel(vehicleid) == 467)
    if(GetVehicleModel(vehicleid) == 470)
    if(GetVehicleModel(vehicleid) == 471)
    if(GetVehicleModel(vehicleid) == 474)
    if(GetVehicleModel(vehicleid) == 475)
    if(GetVehicleModel(vehicleid) == 477)
    if(GetVehicleModel(vehicleid) == 478)
    if(GetVehicleModel(vehicleid) == 479)
    if(GetVehicleModel(vehicleid) == 480)
    if(GetVehicleModel(vehicleid) == 482)
    if(GetVehicleModel(vehicleid) == 483)
    if(GetVehicleModel(vehicleid) == 485)
    if(GetVehicleModel(vehicleid) == 489)
    if(GetVehicleModel(vehicleid) == 490)
    if(GetVehicleModel(vehicleid) == 491)
    if(GetVehicleModel(vehicleid) == 492)
    if(GetVehicleModel(vehicleid) == 494)
    if(GetVehicleModel(vehicleid) == 495)
    if(GetVehicleModel(vehicleid) == 496)
    if(GetVehicleModel(vehicleid) == 498)
    if(GetVehicleModel(vehicleid) == 499)
    if(GetVehicleModel(vehicleid) == 500)
    if(GetVehicleModel(vehicleid) == 501)
    if(GetVehicleModel(vehicleid) == 502)
    if(GetVehicleModel(vehicleid) == 503)
    if(GetVehicleModel(vehicleid) == 504)
    if(GetVehicleModel(vehicleid) == 505)
    if(GetVehicleModel(vehicleid) == 506)
    if(GetVehicleModel(vehicleid) == 507)
    if(GetVehicleModel(vehicleid) == 508)
    if(GetVehicleModel(vehicleid) == 516)
    if(GetVehicleModel(vehicleid) == 517)
    if(GetVehicleModel(vehicleid) == 518)
    if(GetVehicleModel(vehicleid) == 525)
    if(GetVehicleModel(vehicleid) == 526)
    if(GetVehicleModel(vehicleid) == 527)
    if(GetVehicleModel(vehicleid) == 528)
    if(GetVehicleModel(vehicleid) == 529)
    if(GetVehicleModel(vehicleid) == 530)
    if(GetVehicleModel(vehicleid) == 531)
    if(GetVehicleModel(vehicleid) == 532)
    if(GetVehicleModel(vehicleid) == 533)
    if(GetVehicleModel(vehicleid) == 534)
    if(GetVehicleModel(vehicleid) == 535)
    if(GetVehicleModel(vehicleid) == 536)
    if(GetVehicleModel(vehicleid) == 539)
    if(GetVehicleModel(vehicleid) == 540)
    if(GetVehicleModel(vehicleid) == 541)
    if(GetVehicleModel(vehicleid) == 542)
    if(GetVehicleModel(vehicleid) == 543)
    if(GetVehicleModel(vehicleid) == 544)
    if(GetVehicleModel(vehicleid) == 545)
    if(GetVehicleModel(vehicleid) == 546)
    if(GetVehicleModel(vehicleid) == 547)
    if(GetVehicleModel(vehicleid) == 549)
    if(GetVehicleModel(vehicleid) == 550)
    if(GetVehicleModel(vehicleid) == 551)
    if(GetVehicleModel(vehicleid) == 552)
    if(GetVehicleModel(vehicleid) == 554)
    if(GetVehicleModel(vehicleid) == 555)
    if(GetVehicleModel(vehicleid) == 556)
    if(GetVehicleModel(vehicleid) == 557)
    if(GetVehicleModel(vehicleid) == 558)
    if(GetVehicleModel(vehicleid) == 559)
    if(GetVehicleModel(vehicleid) == 560)
    if(GetVehicleModel(vehicleid) == 561)
    if(GetVehicleModel(vehicleid) == 562)
    if(GetVehicleModel(vehicleid) == 564)
    if(GetVehicleModel(vehicleid) == 565)
    if(GetVehicleModel(vehicleid) == 566)
    if(GetVehicleModel(vehicleid) == 567)
    if(GetVehicleModel(vehicleid) == 568)
    if(GetVehicleModel(vehicleid) == 569)
    if(GetVehicleModel(vehicleid) == 571)
    if(GetVehicleModel(vehicleid) == 572)
    if(GetVehicleModel(vehicleid) == 573)
    if(GetVehicleModel(vehicleid) == 574)
    if(GetVehicleModel(vehicleid) == 575)
    if(GetVehicleModel(vehicleid) == 576)
    if(GetVehicleModel(vehicleid) == 578)
    if(GetVehicleModel(vehicleid) == 579)
    if(GetVehicleModel(vehicleid) == 580)
    if(GetVehicleModel(vehicleid) == 582)
    if(GetVehicleModel(vehicleid) == 583)
    if(GetVehicleModel(vehicleid) == 585)
    if(GetVehicleModel(vehicleid) == 570)
    if(GetVehicleModel(vehicleid) == 587)
    if(GetVehicleModel(vehicleid) == 588)
    if(GetVehicleModel(vehicleid) == 589)
    if(GetVehicleModel(vehicleid) == 591)
    if(GetVehicleModel(vehicleid) == 594)
    if(GetVehicleModel(vehicleid) == 596)
    if(GetVehicleModel(vehicleid) == 597)
    if(GetVehicleModel(vehicleid) == 598)
    if(GetVehicleModel(vehicleid) == 599)
    if(GetVehicleModel(vehicleid) == 600)
    if(GetVehicleModel(vehicleid) == 601)
    if(GetVehicleModel(vehicleid) == 602)
    if(GetVehicleModel(vehicleid) == 603)
    if(GetVehicleModel(vehicleid) == 609)
    {
    if(PlayerInfo[playerid][pCarLicense] == 0)
    {
    SendClientMessage(playerid, 0xFFFF89FF, "Du hast keinen Auto Schein!"); //weiß es auch grad nicht genau aber so vllt:
    RemovePlayerFromVehicle(playerid);
    }
    }
    SendClientMessage(playerid,bRot,"Benutze STRG um den Motor an/aus zu schalten!");
    return 1;
    }
    public OnPlayerExitVehicle(playerid, vehicleid)
    {
    return 1;
    }




    Why funzt das nich ;(
    0 errors aber er steig trodzdem ein UND bleibt drinne