PlayAudioStreamForPlayer Problem

Wichtiger Hinweis: Bitte ändert nicht manuell die Schriftfarbe auf schwarz sondern belasst es bei der Standardeinstellung. Somit tragt ihr dazu bei dass euer Text auch bei Verwendung unseren dunklen Forenstils noch lesbar ist!

Tipp: Ihr wollt längere Codeausschnitte oder Logfiles bereitstellen? Benutzt unseren eigenen PasteBin-Dienst Link
  • Moinsen,


    kreige immer 26 errors und zwar diese:


    C:\Users\Michi\Desktop\Living in SA\gamemodes\test.pwn(949) : error 010: invalid function or declaration
    C:\Users\Michi\Desktop\Living in SA\gamemodes\test.pwn(951) : error 010: invalid function or declaration
    C:\Users\Michi\Desktop\Living in SA\gamemodes\test.pwn(953) : error 010: invalid function or declaration
    C:\Users\Michi\Desktop\Living in SA\gamemodes\test.pwn(955) : error 010: invalid function or declaration
    C:\Users\Michi\Desktop\Living in SA\gamemodes\test.pwn(957) : error 010: invalid function or declaration
    C:\Users\Michi\Desktop\Living in SA\gamemodes\test.pwn(959) : error 010: invalid function or declaration
    C:\Users\Michi\Desktop\Living in SA\gamemodes\test.pwn(961) : error 010: invalid function or declaration
    C:\Users\Michi\Desktop\Living in SA\gamemodes\test.pwn(963) : error 010: invalid function or declaration
    C:\Users\Michi\Desktop\Living in SA\gamemodes\test.pwn(965) : error 010: invalid function or declaration
    C:\Users\Michi\Desktop\Living in SA\gamemodes\test.pwn(967) : error 010: invalid function or declaration
    C:\Users\Michi\Desktop\Living in SA\gamemodes\test.pwn(969) : error 010: invalid function or declaration
    C:\Users\Michi\Desktop\Living in SA\gamemodes\test.pwn(971) : error 010: invalid function or declaration
    C:\Users\Michi\Desktop\Living in SA\gamemodes\test.pwn(973) : error 010: invalid function or declaration
    C:\Users\Michi\Desktop\Living in SA\gamemodes\test.pwn(975) : error 010: invalid function or declaration
    C:\Users\Michi\Desktop\Living in SA\gamemodes\test.pwn(977) : error 010: invalid function or declaration
    C:\Users\Michi\Desktop\Living in SA\gamemodes\test.pwn(979) : error 010: invalid function or declaration
    C:\Users\Michi\Desktop\Living in SA\gamemodes\test.pwn(981) : error 010: invalid function or declaration
    C:\Users\Michi\Desktop\Living in SA\gamemodes\test.pwn(983) : error 010: invalid function or declaration
    C:\Users\Michi\Desktop\Living in SA\gamemodes\test.pwn(985) : error 010: invalid function or declaration
    C:\Users\Michi\Desktop\Living in SA\gamemodes\test.pwn(987) : error 010: invalid function or declaration
    C:\Users\Michi\Desktop\Living in SA\gamemodes\test.pwn(989) : error 010: invalid function or declaration
    C:\Users\Michi\Desktop\Living in SA\gamemodes\test.pwn(991) : error 010: invalid function or declaration
    C:\Users\Michi\Desktop\Living in SA\gamemodes\test.pwn(993) : error 010: invalid function or declaration
    C:\Users\Michi\Desktop\Living in SA\gamemodes\test.pwn(995) : error 010: invalid function or declaration
    C:\Users\Michi\Desktop\Living in SA\gamemodes\test.pwn(997) : error 010: invalid function or declaration
    C:\Users\Michi\Desktop\Living in SA\gamemodes\test.pwn(999) : error 010: invalid function or declaration


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



    26 Errors.


    kann sich das vlt jemand anschauen, mein scipt mit den ganzen Zeilen:


    http://pastebin.com/r5y8gyWG


    MFG

  • public OnPlayerCommandText(playerid, cmdtext[])
    {
    if (strcmp("/radio", cmdtext, true, 10) == 0)
    {
    ShowPlayerDialog(playerid, 1 , DIALOG_STYLE_LIST, "Radiosender", "ClubTime.FM\nTechnoBase.FM\nBigFM\nRPR1\n1LIVE\nBlackBeats.FM\nMusik stoppen", "Auswählen", "Abbrechen");
    PlayerPlaySound(playerid,1056,0.0,0.0,0.0);
    return 1;
    }
    if (strcmp(cmdtext, "/auf1", true) == 0){
    MoveObject(y_gate1,1709.1971435547, -1142.0632324219, 24.948265075684+5,1);
    return 1;
    }
    if (strcmp(cmdtext, "/zu1", true) == 0){
    MoveObject(y_gate1,1709.1971435547, -1142.0632324219, 24.948265075684,1);
    return 1;
    }
    if (strcmp(cmdtext, "/auf2", true) == 0){
    MoveObject(y_gate2,1716.0120849609, -1142.0632324219, 24.948265075684+5,1);
    return 1;
    }
    if (strcmp(cmdtext, "/zu2", true) == 0){
    MoveObject(y_gate2,1716.0120849609, -1142.0632324219, 24.948265075684,1);
    return 1;
    }
    if (strcmp(cmdtext, "/auf3", true) == 0){
    MoveObject(y_gate3,1726.1171875, -1142.0632324219, 24.956075668335+5,1);
    return 1;
    }
    if (strcmp(cmdtext, "/zu3", true) == 0){
    MoveObject(y_gate3,1726.1171875, -1142.0632324219, 24.956075668335,1);
    return 1;
    }
    if (strcmp(cmdtext, "/auf4", true) == 0){
    MoveObject(y_gate4,1732.5556640625, -1142.0632324219, 24.956075668335+5,1);
    return 1;
    }
    if (strcmp(cmdtext, "/zu4", true) == 0){
    MoveObject(y_gate4,1732.5556640625, -1142.0632324219, 24.956075668335,1);
    return 1;
    }
    if (strcmp(cmdtext, "/auf5", true) == 0){
    MoveObject(y_gate5,1743.2744140625, -1142.0632324219, 24.956075668335+5,1);
    return 1;
    }
    if (strcmp(cmdtext, "/zu5", true) == 0){
    MoveObject(y_gate5,1743.2744140625, -1142.0632324219, 24.956075668335,1);
    return 1;
    }
    if (strcmp(cmdtext, "/auf6", true) == 0){
    MoveObject(y_gate6,1750.0999755859, -1142.0632324219, 24.956075668335+5,1);
    return 1;
    }
    if (strcmp(cmdtext, "/zu6", true) == 0){
    MoveObject(y_gate6,1750.0999755859, -1142.0632324219, 24.956075668335,1);
    return 1;
    }
    if (strcmp(cmdtext, "/auf7", true) == 0){
    MoveObject(y_gate7,1777.8641357422, -1142.0632324219, 24.956075668335+5,1);
    return 1;
    }
    if (strcmp(cmdtext, "/zu7", true) == 0){
    MoveObject(y_gate7,1777.8641357422, -1142.0632324219, 24.956075668335,1);
    return 1;
    }
    if (strcmp(cmdtext, "/auf8", true) == 0){
    MoveObject(y_gate8,1784.4595947266, -1095.1427001953, 24.948265075684+5,1);
    return 1;
    }
    if (strcmp(cmdtext, "/zu8", true) == 0){
    MoveObject(y_gate8,1784.4595947266, -1095.1427001953, 24.948265075684,1);
    return 1;
    }
    if (strcmp(cmdtext, "/auf9", true) == 0){
    MoveObject(y_gate9,1777.4206542969, -1095.1427001953, 24.948265075684+5,1);
    return 1;
    }
    if (strcmp(cmdtext, "/zu9", true) == 0){
    MoveObject(y_gate9,1777.4206542969, -1095.1427001953, 24.948265075684,1);
    return 1;
    }
    if (strcmp(cmdtext, "/auf10", true) == 0){
    MoveObject(y_gate10,1767.3449707031, -1095.1428222656, 24.948265075684+5,1);
    return 1;
    }
    if (strcmp(cmdtext, "/zu10", true) == 0){
    MoveObject(y_gate10,1767.3449707031, -1095.1428222656, 24.948265075684,1);
    return 1;
    }
    if (strcmp(cmdtext, "/auf11", true) == 0){
    MoveObject(y_gate11,1760.9138183594, -1095.1429443359, 24.956075668335+5,1);
    return 1;
    }
    if (strcmp(cmdtext, "/zu11", true) == 0){
    MoveObject(y_gate11,1760.9138183594, -1095.1429443359, 24.956075668335,1);
    return 1;
    }
    if (strcmp(cmdtext, "/auf12", true) == 0){
    MoveObject(y_gate12,1750.1708984375, -1095.1483154297, 24.948265075684+5,1);
    return 1;
    }
    if (strcmp(cmdtext, "/zu12", true) == 0){
    MoveObject(y_gate12,1750.1708984375, -1095.1483154297, 24.948265075684,1);
    return 1;
    }
    if (strcmp(cmdtext, "/auf13", true) == 0){
    MoveObject(y_gate13,1743.4207763672, -1095.1483154297, 24.948265075684+5,1);
    return 1;
    }
    if (strcmp(cmdtext, "/zu13", true) == 0){
    MoveObject(y_gate13,1743.4207763672, -1095.1483154297, 24.948265075684,1);
    return 1;
    }
    if (strcmp(cmdtext, "/auf14", true) == 0){
    MoveObject(y_gate14,1732.7440185547, -1095.1483154297, 24.956075668335+5,1);
    return 1;
    }
    if (strcmp(cmdtext, "/zu14", true) == 0){
    MoveObject(y_gate14,1732.7440185547, -1095.1483154297, 24.956075668335,1);
    return 1;
    }
    if (strcmp(cmdtext, "/auf15", true) == 0){
    MoveObject(y_gate15,1726.2724609375, -1095.1474609375, 24.956075668335+5,1);
    return 1;
    }
    if (strcmp(cmdtext, "/zu15", true) == 0){
    MoveObject(y_gate15,1726.2724609375, -1095.1474609375, 24.956075668335,1);
    return 1;
    }
    return 0;
    }