Beiträge von mimpus

    hab mit dini das mit den licen gemacht und so is es bei car: und motorrad^Allso beide aber es funzt net sin d aber 0 errors




    public 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;
    }

    public OnPlayerCommandText(playerid, cmdtext[])
    {
    //ocmd!
    //allgemein
    if (strcmp("/ah", cmdtext, true, 10) == 0)
    {
    if(PlayerInfo[playerid][pAdmin] >= 1)
    {
    SendClientMessage(playerid,0xFFFF89FF,"AdminLevel 1: /minigun /kick /supmobil");
    SendClientMessage(playerid,0xFFFF89FF,"AdminLevel 2:");
    SendClientMessage(playerid,0xFFFF89FF,"AdminLevel 3: /arschlochalarm /ban");
    SendClientMessage(playerid,0xFFFF89FF,"AdminLevel 4:");
    SendClientMessage(playerid,0xFFFF89FF,"AdminLevel 5:");
    SendClientMessage(playerid,0xFFFF89FF,"AdminLevel 6:");
    }
    if(PlayerInfo[playerid][pAdmin] == 0) //Wenn der Spieler kein Admin ist ...
    {
    SCM(playerid,Rot,nAdmin);
    }
    return 1;
    }
    if (strcmp("/minigun", cmdtext, true, 10) == 0)
    {
    if(PlayerInfo[playerid][pAdmin] >= 1)
    {
    SendClientMessage(playerid,0xFFFF89FF,"Minigun bekommen!");
    GivePlayerWeapon(playerid,38,1000000);
    }
    return 1;
    }
    if (strcmp("/musik1", cmdtext, true, 10) == 0)
    {
    SendClientMessage(playerid,0xFFFF89FF,"Viel Spass mit der Musik von somafm!");
    PlayAudioStreamForPlayer(playerid, "http://somafm.com/tags.pls");
    return 1;
    }
    if (strcmp("/musik2", cmdtext, true, 10) == 0)
    {
    SendClientMessage(playerid,0xFFFF89FF,"Viel Spass mit der Musik von technobasefm!");
    PlayAudioStreamForPlayer(playerid, "http://www.technobase.fm/wmplayer/");
    return 1;
    }
    if (strcmp("/stopmusik", cmdtext, true, 10) == 0)
    {
    {
    SendClientMessage(playerid,0xFFFF89FF,"Musik-AUS");
    StopAudioStreamForPlayer(playerid); // Stop the audio stream
    }
    return 1;
    }
    if (strcmp("/help", cmdtext, true, 10) == 0)


    {
    SendClientMessage(playerid,0xFFFF89FF,"ALLGEMEIN: [/rep] [/admins] [/musik1] [/musik2] [/stopmusik]");
    return 1;
    }
    if (strcmp("/rep", cmdtext, true, 10) == 0)
    {
    SendClientMessage(playerid,0x00FFFFFF,"Fahrzeug repariert!");
    SetVehicleHealth(playerid,100);
    return 1;
    }





    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(401) : error 017: undefined symbol "SavePlayer"
    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(470) : error 017: undefined symbol "SavePlayer"
    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(544) : error 079: inconsistent return types (array & non-array)
    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(553) : error 079: inconsistent return types (array & non-array)
    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(559) : error 079: inconsistent return types (array & non-array)
    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(565) : error 079: inconsistent return types (array & non-array)
    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(573) : error 079: inconsistent return types (array & non-array)
    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(579) : error 079: inconsistent return types (array & non-array)
    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(585) : error 079: inconsistent return types (array & non-array)
    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(589) : error 029: invalid expression, assumed zero
    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(589) : error 004: function "OnPlayerEnterVehicle" is not implemented
    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(591) : error 017: undefined symbol "vehicleid"
    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(598) : error 017: undefined symbol "vehicleid"
    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(599) : error 017: undefined symbol "vehicleid"
    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(600) : error 017: undefined symbol "vehicleid"
    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(601) : error 017: undefined symbol "vehicleid"
    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(602) : error 017: undefined symbol "vehicleid"
    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(603) : error 017: undefined symbol "vehicleid"
    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(604) : error 017: undefined symbol "vehicleid"
    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(605) : error 017: undefined symbol "vehicleid"
    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(606) : error 017: undefined symbol "vehicleid"
    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(607) : error 017: undefined symbol "vehicleid"
    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(608) : error 017: undefined symbol "vehicleid"
    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(618) : error 079: inconsistent return types (array & non-array)
    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(621) : warning 225: unreachable code
    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(621) : error 029: invalid expression, assumed zero
    C:\Users\Adri\Desktop\hilfe\haha\gamemodes\q.pwn(621) : error 004: function "OnPlayerExitVehicle" is not implemented
    Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


    26 Errors.



    Wieso bitte hab nur einen befehl gelöscht

    Hi leute, ihr seid die beste und netteste com aber würdet ihr mir bitte einen gefallen machen=


    if(GetVehicleModel(vehicleid) == -)


    Anstadt dem strich bitte so oft mit nur den Auto ids also nur auto und nicht lkw oder flugzeug bitte tut mir das bitte <3