Beiträge von Raul_Gonzalez

    Hallo,
    Ich habe ein Problem mit meinem Script, Ich bekomme folgenden Error:
    C:\Dokumente und Einstellungen\xxx\Desktop\samp03csvr_R2-2_win32\npcmodes\SFTram.pwn(32) : error 004: function "SendClientMessageToAll" is not implemented
    C:\Dokumente und Einstellungen\xxx\Desktop\samp03csvr_R2-2_win32\npcmodes\SFTram.pwn(36) : error 004: function "SendClientMessageToAll" is not implemented
    C:\Dokumente und Einstellungen\xxx\Desktop\samp03csvr_R2-2_win32\npcmodes\SFTram.pwn(40) : error 004: function "SendClientMessageToAll" is not implemented
    C:\Dokumente und Einstellungen\xxx\Desktop\samp03csvr_R2-2_win32\npcmodes\SFTram.pwn(44) : error 004: function "SendClientMessageToAll" is not implemented
    C:\Dokumente und Einstellungen\xxx\Desktop\samp03csvr_R2-2_win32\npcmodes\SFTram.pwn(48) : error 004: function "SendClientMessageToAll" is not implemented
    C:\Dokumente und Einstellungen\xxx\Desktop\samp03csvr_R2-2_win32\npcmodes\SFTram.pwn(52) : error 004: function "SendClientMessageToAll" is not implemented
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    6 Errors.


    In folgendem Script:
    ////////////////////////////////////////
    // Tram Driver Billy for SFCRRPG //
    // Created and Recorded by Stevo127 //
    ////////////////////////////////////////
    #include <a_npc>
    #include <a_samp>




    #define COLOR_LIME 0x10F441AA


    forward StopTimer();
    forward SendClientMessageToAll(msg);




    new StopCount;




    public OnNPCEnterVehicle()
    {
    StopCount =0;
    SetTimer("StopTimer",1000,0);
    }


    public OnRecordingPlaybackEnd()
    {
    if(StopCount == 1)
    {
    SendClientMessageToAll(COLOR_LIME,"[S-Bahn Ankunft] S-Bahn ist in Financial angekommen. Abfahrt nach Esplanade North in einer Stunde.");
    }
    if(StopCount == 2)
    {
    SendClientMessageToAll(COLOR_LIME,"[S-Bahn Ankunft] S-Bahn ist in Esplanade North angekommen. Abfahrt nach Calton Heights in einer Stunde.");
    }
    if(StopCount == 3)
    {
    SendClientMessageToAll(COLOR_LIME,"[S-Bahn Ankunft] S-Bahn ist in Calton Heights angekommen. Abfahrt nach Garcia in einer Stunde.");
    }
    if(StopCount == 4)
    {
    SendClientMessageToAll(COLOR_LIME,"[S-Bahn Ankunft] S-Bahn ist in Garcia angekommen. Abfahrt nach Doherty in einer Stunde.");
    }
    if(StopCount == 5)
    {
    SendClientMessageToAll(COLOR_LIME,"[S-Bahn Ankunft] S-Bahn ist in Doherty angekommen. Abfahrt nach Downtown in einer Stunde.");
    }
    if(StopCount == 6)
    {
    SendClientMessageToAll(COLOR_LIME,"[S-Bahn Ankunft] S-Bahn ist in Downtown angekommen. Abfahrt nach Financial in einer Stunde.");
    }
    SetTimer("StopTimer",10000,0);
    }


    public StopTimer()
    {
    StopCount ++;
    if (StopCount == 7) StopCount =1;


    if (StopCount == 1)
    {
    //SendClientMessageToAll(COLOR_LIME,"[TRAM DEPARTURE] Tram Driver Billy has now departed from Downtown. Next Stop: Financial.");
    StartRecordingPlayback(1,"Downtown_To_Financial");
    }
    if (StopCount == 2)
    {
    //SendClientMessageToAll(COLOR_LIME,"[TRAM DEPARTURE] Tram Driver Billy has now departed from Financial. Next Stop: Esplanade North.");
    StartRecordingPlayback(1,"Financial_To_EsplanadeNorth");
    }
    if (StopCount == 3)
    {
    //SendClientMessageToAll(COLOR_LIME,"[TRAM DEPARTURE] Tram Driver Billy has now departed from Esplanade North. Next Stop: Calton Heights.");
    StartRecordingPlayback(1,"EsplanadeNorth_To_Calton_Heights");
    }
    if (StopCount == 4)
    {
    //SendClientMessageToAll(COLOR_LIME,"[TRAM DEPARTURE] Tram Driver Billy has now departed from Calton Heights. Next Stop: Garcia.");
    StartRecordingPlayback(1,"Calton_Heights_To_Garcia");
    }
    if (StopCount == 5)
    {
    //SendClientMessageToAll(COLOR_LIME,"[TRAM DEPARTURE] Tram Driver Billy has now departed from Garcia. Next Stop: Doherty.");
    StartRecordingPlayback(1,"Garcia_To_Doherty");
    }
    if (StopCount == 6)
    {
    //SendClientMessageToAll(COLOR_LIME,"[TRAM DEPARTURE] Tram Driver Billy has now departed from Doherty. Next Stop: Downtown.");
    StartRecordingPlayback(1,"Doherty_To_Downtown");
    }
    }



    Was mache ich Falsch oder was vergesse ich?


    Bitte um schnelle Antwort
    MfG
    Chris