Beiträge von MichiEXE

    Das muss dort hin, wo der Spieler das Fahrrad besteigt, geht bei playerentervehicle oder bei playerstatechange
    if(IsABike(vehicleid))
    {
    SetVehicleParamsEx(vehicleid,1,0,0,0,0,0,0);
    return 1;
    }


    und unten im Script:


    stock IsABike(vehicleid) //Made by me
    {
    new result;
    new xmodel = GetVehicleModel(vehicleid);
    switch(xmodel)
    {
    case 509, 481, 510: result = xmodel;
    default: result = 0;
    }
    return result;
    }

    Der Name ist ja nicht so.. tiefgründig.. also es kommt einen nicht so vor.
    Die Rechtschreibung geht so.. solltest du mal ordentlich prüfen.
    Zum Server sag ich erstmal das was mir anhand der Werbung einfällt:
    Die Fraktionen sind eigenartig, mal deutsche und mal Amerikanische, etc.
    Außerdem ist das halt sehr stark uneditiert übernommen vom GF, vor allem sind die Fraktionen vorhanden die mega unnötig sind.
    Ich werde dann mal vorbeischauen.

    Kommt noch immer das selbe vom crashdetect.


    Spoiler anzeigen
    [16:49:01] [debug] Run time error 3: "Stack/heap collision (insufficient stack size)"
    [16:49:01] [debug] Stack pointer (STK) is 0xB2FA0, heap pointer (HEA) is 0xB300C
    [16:49:01] [debug] AMX backtrace:
    [16:49:01] [debug] #0 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000b37e8 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #1 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000b3c0c "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #2 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000b4030 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #3 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000b4454 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #4 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000b4878 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #5 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000b4c9c "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #6 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000b50c0 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #7 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000b54e4 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #8 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000b5908 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #9 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000b5d2c "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #10 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000b6150 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #11 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000b6574 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #12 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000b6998 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #13 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000b6dbc "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #14 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000b71e0 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #15 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000b7604 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #16 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000b7a28 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #17 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000b7e4c "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #18 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000b8270 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #19 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000b8694 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #20 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000b8ab8 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #21 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000b8edc "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #22 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000b9300 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #23 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000b9724 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #24 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000b9b48 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #25 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000b9f6c "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #26 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000ba390 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #27 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000ba7b4 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #28 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000babd8 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #29 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000baffc "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #30 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000bb420 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #31 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000bb844 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #32 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000bbc68 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #33 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000bc08c "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #34 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000bc4b0 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #35 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000bc8d4 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #36 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000bccf8 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #37 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000bd11c "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #38 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000bd540 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #39 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000bd964 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #40 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000bdd88 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #41 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000be1ac "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #42 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000be5d0 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #43 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000be9f4 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #44 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000bee18 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #45 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000bf23c "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #46 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000bf660 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #47 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000bfa84 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #48 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000bfea8 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #49 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c02cc "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #50 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c06f0 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #51 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c0b14 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #52 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c0f38 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #53 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c135c "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #54 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c1780 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #55 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c1ba4 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #56 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c1fc8 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #57 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c23ec "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #58 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c2810 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #59 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c2c34 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #60 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c3058 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #61 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c347c "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #62 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c38a0 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #63 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c3cc4 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #64 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c40e8 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #65 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c450c "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #66 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c4930 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #67 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c4d54 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #68 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c5178 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #69 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c559c "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #70 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c59c0 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #71 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c5de4 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #72 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c6208 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #73 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c662c "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #74 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c6a50 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #75 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c6e74 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #76 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c7298 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #77 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c76bc "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #78 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c7ae0 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #79 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c7f04 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #80 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c8328 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #81 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c874c "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #82 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c8b70 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #83 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c8f94 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #84 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c93b8 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #85 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c97dc "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #86 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c9c00 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #87 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000ca024 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #88 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000ca448 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #89 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000ca86c "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #90 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000cac90 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #91 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000cb0b4 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #92 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000cb4d8 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #93 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000cb8fc "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #94 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000cbd20 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #95 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000cc144 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #96 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000cc568 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #97 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000cc98c "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #98 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000ccdb0 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #99 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000cd1d4 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #100 000cbef4 in public ocmd_fhelp (playerid=0, params[]=@0xffffffff !"", ... <1 argument>) at sfrl.p:13604
    [16:49:01] [debug] #101 native CallLocalFunction () [00472fc0] from samp-server.exe
    [16:49:01] [debug] #102 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000b37e8 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #103 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000b3c0c "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #104 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000b4030 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #105 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000b4454 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #106 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000b4878 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #107 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000b4c9c "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #108 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000b50c0 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #109 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000b54e4 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #110 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000b5908 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #111 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000b5d2c "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #112 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000b6150 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #113 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000b6574 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #114 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000b6998 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #115 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000b6dbc "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #116 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000b71e0 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #117 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000b7604 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #118 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000b7a28 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #119 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000b7e4c "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #120 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000b8270 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #121 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000b8694 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #122 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000b8ab8 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #123 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000b8edc "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #124 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000b9300 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #125 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000b9724 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #126 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000b9b48 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #127 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000b9f6c "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #128 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000ba390 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #129 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000ba7b4 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #130 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000babd8 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #131 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000baffc "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #132 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000bb420 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #133 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000bb844 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #134 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000bbc68 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #135 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000bc08c "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #136 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000bc4b0 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #137 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000bc8d4 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #138 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000bccf8 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #139 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000bd11c "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #140 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000bd540 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #141 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000bd964 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #142 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000bdd88 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #143 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000be1ac "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #144 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000be5d0 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #145 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000be9f4 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #146 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000bee18 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #147 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000bf23c "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #148 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000bf660 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #149 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000bfa84 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #150 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000bfea8 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #151 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c02cc "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #152 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c06f0 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #153 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c0b14 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #154 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c0f38 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #155 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c135c "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #156 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c1780 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #157 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c1ba4 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #158 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c1fc8 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #159 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c23ec "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #160 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c2810 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #161 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c2c34 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #162 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c3058 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #163 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c347c "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #164 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c38a0 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #165 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c3cc4 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #166 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c40e8 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #167 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c450c "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #168 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c4930 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #169 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c4d54 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #170 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c5178 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #171 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c559c "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #172 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c59c0 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #173 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c5de4 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #174 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c6208 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #175 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c662c "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #176 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c6a50 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #177 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c6e74 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #178 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c7298 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #179 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c76bc "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #180 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c7ae0 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #181 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c7f04 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #182 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c8328 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #183 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c874c "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #184 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c8b70 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #185 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c8f94 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #186 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c93b8 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #187 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c97dc "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #188 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000c9c00 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #189 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000ca024 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #190 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000ca448 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #191 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000ca86c "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #192 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000cac90 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #193 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000cb0b4 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #194 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000cb4d8 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #195 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000cb8fc "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #196 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000cbd20 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #197 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000cc144 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #198 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000cc568 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #199 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000cc98c "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #200 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000ccdb0 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #201 000cbef4 in SendClientMessageEx (playerid=0, color=-1, text[]=@0x000cd1d4 "SFPD: /frc /roadblock /barrie...") at sfrl.p:13604
    [16:49:01] [debug] #202 000cbef4 in public OnPlayerCommandText (playerid=0, cmdtext[]=@0xffffffff !"", ... <1 argument>) at sfrl.p:13604


    Und der Befehl (fhelp) wo es passiert (ist eigentlich unwichtig da es ÜBERALL passierr wo SendClientMessage aufgerufen wird):


    ocmd:fhelp(playerid,params[])
    {
    new str[165];
    if(GetPVarInt(playerid,"Fraktion")==0)return noaccess
    new frak=GetPVarInt(playerid,"Fraktion");
    switch(frak)
    {
    case 1: format(str,sizeof(str),"Präsident: /frc /setsteuern /setzollmaut /gate /invite /uninvite /gov /d /f");
    case 2: format(str,sizeof(str),"SFPD: /frc /roadblock /barrier /gate /tazer /wanted /gw /orten /cuff /uncuff /invite /uninvite /gov /d /f /grab /m /arrest /sirene /frisk /takedrugs");
    case 3: format(str,sizeof(str),"SAN NEWS: /frc /news /invite /uninvite /live /fkasse /f");
    case 4: format(str,sizeof(str),"Ordnungsamt: /frc /d /m /invite /punktgeben /ticket /uninvite /tazer /abschleppen /f /gate /sirene /respawncar");
    case 5: format(str,sizeof(str),"Medics: /frc /healpaket /f /invite /uninvite /sirene");
    case 6: format(str,sizeof(str),"SF Rifas: /frc /fesseln /f /buyweapon (In Base Interior) /invade /invite /uninvite");
    case 7: format(str,sizeof(str),"Biker: /frc /fesseln /f /buyweapon (In Base Interior) /invade /invite /uninvite");
    case 8: format(str,sizeof(str),"Triaden: /frc /fesseln /f /buyweapon (In Base Interior) /invade /invite /uninvite");
    case 9: format(str,sizeof(str),"Russen Mafia: /frc /fesseln /f /buyweapon (In Base Interior) /invade /invite /uninvite");
    case 10: format(str,sizeof(str),"Transport GmbH: /frc /f /invite /uninvite /filltanke (An einer Tankstelle) /filltrailer");
    case 11: format(str,sizeof(str),"Ballass: /fesseln /frc /f /buyweapon (In Base Interior) /invade /invite /uninvite");
    case 12: format(str,sizeof(str),"Grove Street: /fesseln /frc /f /buyweapon (In Base Interior) /invade /invite /uninvite");
    }
    SendClientMessage(playerid,WEIß,"========================= FRAKTIONS HILFE =========================");
    SendClientMessage(playerid,WEIß,str);
    SendClientMessage(playerid,WEIß,"========================= FRAKTIONS HILFE =========================");
    return 1;
    }

    Jeffry
    Nein, leider nicht. Hab das selbe aber schon mit 10000 getestet..


    @Mr.Reese


    stock SendClientMessageEx(playerid,color,text[])
    {
    new textleng=strlen(text);
    if(strlen(text) >= 125)
    {
    new str[256], charcount = 0;
    for(new x = 0; x<2;)
    {
    for(new i=charcount; i<sizeof(textleng); i++)
    {
    format(str, sizeof(str), "%s%s", str, text[i]);
    charcount++;
    }
    charcount++;
    SendClientMessage(playerid, color, str);
    }
    }
    return 1;
    }


    //e
    Wenn du diesen tatsächlich compiled hast und dieser bei dir geht, hast du den Stock auch genutzt? Weil ein Stock doch erst
    vom Script wahrgenommen wird wenn dieser auch von wo anders aufgerufen wurde.

    Ich bekomme bei der 2. For-Schleife den Warning 224:
    indeterminate array size in "sizeof" expression (symbol "")


    //e
    Bringt nichts, hab eben getestet, sobald ich nen Befehl eingebe der Überlänge hat, bei dem dann ja auch gesplittet werden soll,
    kommen die selben Errors/Meldungen in der Konsole wie oben geschrieben nur halt auf den Befehl bezogen, und dieser wird auch gar nicht erst weiter ausgeführt.

    Hallo Leute,


    Ich hab da mal wieder ein Problem wo ich nicht ganz weiter komme..
    Ich hätte es gerne das sobald ein String (SendClientMessage/ToAll) größer als 128 Zeichen ist, dieser in einer neuen Zeile fortgesetzt wird.


    Beispiel:
    Hallo, ich bin der Michi und hab da ein dickes Problem da mein Code den ich gemacht habe nicht gehen möchte, das ist sehr...
    ...sehr schade! Ich hab den Code lieb und er mich nicht!


    Soll nur ein Beispiel sein damit ihr versteht wie ich das meine.


    Der Code lautet so (Habe SendClientMessage und SendClientMessageToAll umdefiniert zu meinen eigenen stock's).


    stock SendClientMessageToAllEx(color,string[])
    {
    new str1[128],str2[128];
    if(strlen(string)>125)
    {
    format(str1,sizeof(str1),"%s...",string);
    strmid(str2,string,128,256);
    SendClientMessageToAll(color,str1);
    SendClientMessageToAll(color,str2);
    }
    else{format(str1,sizeof(str1),"%s",string); SendClientMessageToAll(color,str1);}
    return 1;
    }


    stock SendClientMessageEx(playerid,color,string[])
    {
    new str1[128],str2[128];
    if(strlen(string)>125)
    {
    format(str1,sizeof(str1),"%s...",string);
    strmid(str2,string,128,256);
    SendClientMessage(playerid,color,str1);
    SendClientMessage(playerid,color,str2);
    }
    else{format(str1,sizeof(str1),"%s",string); SendClientMessage(playerid,color,str1);}
    return 1;
    }


    Aber in der Log kommt ein nettes gespame (Hab ja das crashdetect plugin) :

    Spoiler anzeigen
    [16:00:11] [debug] Run time error 3: "Stack/heap collision (insufficient stack size)"
    [16:00:11] [debug] Stack pointer (STK) is 0xB2FC8, heap pointer (HEA) is 0xB2FF8
    [16:00:11] [debug] AMX backtrace:
    [16:00:11] [debug] #0 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000b37f8 " ") at sfrl.p:13601
    [16:00:11] [debug] #1 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000b3c10 " ") at sfrl.p:13601
    [16:00:11] [debug] #2 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000b4028 " ") at sfrl.p:13601
    [16:00:11] [debug] #3 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000b4440 " ") at sfrl.p:13601
    [16:00:11] [debug] #4 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000b4858 " ") at sfrl.p:13601
    [16:00:11] [debug] #5 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000b4c70 " ") at sfrl.p:13601
    [16:00:11] [debug] #6 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000b5088 " ") at sfrl.p:13601
    [16:00:11] [debug] #7 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000b54a0 " ") at sfrl.p:13601
    [16:00:11] [debug] #8 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000b58b8 " ") at sfrl.p:13601
    [16:00:11] [debug] #9 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000b5cd0 " ") at sfrl.p:13601
    [16:00:11] [debug] #10 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000b60e8 " ") at sfrl.p:13601
    [16:00:11] [debug] #11 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000b6500 " ") at sfrl.p:13601
    [16:00:11] [debug] #12 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000b6918 " ") at sfrl.p:13601
    [16:00:11] [debug] #13 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000b6d30 " ") at sfrl.p:13601
    [16:00:11] [debug] #14 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000b7148 " ") at sfrl.p:13601
    [16:00:11] [debug] #15 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000b7560 " ") at sfrl.p:13601
    [16:00:11] [debug] #16 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000b7978 " ") at sfrl.p:13601
    [16:00:11] [debug] #17 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000b7d90 " ") at sfrl.p:13601
    [16:00:11] [debug] #18 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000b81a8 " ") at sfrl.p:13601
    [16:00:11] [debug] #19 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000b85c0 " ") at sfrl.p:13601
    [16:00:11] [debug] #20 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000b89d8 " ") at sfrl.p:13601
    [16:00:11] [debug] #21 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000b8df0 " ") at sfrl.p:13601
    [16:00:11] [debug] #22 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000b9208 " ") at sfrl.p:13601
    [16:00:11] [debug] #23 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000b9620 " ") at sfrl.p:13601
    [16:00:11] [debug] #24 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000b9a38 " ") at sfrl.p:13601
    [16:00:11] [debug] #25 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000b9e50 " ") at sfrl.p:13601
    [16:00:11] [debug] #26 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000ba268 " ") at sfrl.p:13601
    [16:00:11] [debug] #27 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000ba680 " ") at sfrl.p:13601
    [16:00:11] [debug] #28 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000baa98 " ") at sfrl.p:13601
    [16:00:11] [debug] #29 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000baeb0 " ") at sfrl.p:13601
    [16:00:11] [debug] #30 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000bb2c8 " ") at sfrl.p:13601
    [16:00:11] [debug] #31 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000bb6e0 " ") at sfrl.p:13601
    [16:00:11] [debug] #32 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000bbaf8 " ") at sfrl.p:13601
    [16:00:11] [debug] #33 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000bbf10 " ") at sfrl.p:13601
    [16:00:11] [debug] #34 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000bc328 " ") at sfrl.p:13601
    [16:00:11] [debug] #35 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000bc740 " ") at sfrl.p:13601
    [16:00:11] [debug] #36 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000bcb58 " ") at sfrl.p:13601
    [16:00:11] [debug] #37 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000bcf70 " ") at sfrl.p:13601
    [16:00:11] [debug] #38 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000bd388 " ") at sfrl.p:13601
    [16:00:11] [debug] #39 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000bd7a0 " ") at sfrl.p:13601
    [16:00:11] [debug] #40 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000bdbb8 " ") at sfrl.p:13601
    [16:00:11] [debug] #41 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000bdfd0 " ") at sfrl.p:13601
    [16:00:11] [debug] #42 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000be3e8 " ") at sfrl.p:13601
    [16:00:11] [debug] #43 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000be800 " ") at sfrl.p:13601
    [16:00:11] [debug] #44 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000bec18 " ") at sfrl.p:13601
    [16:00:11] [debug] #45 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000bf030 " ") at sfrl.p:13601
    [16:00:11] [debug] #46 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000bf448 " ") at sfrl.p:13601
    [16:00:11] [debug] #47 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000bf860 " ") at sfrl.p:13601
    [16:00:11] [debug] #48 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000bfc78 " ") at sfrl.p:13601
    [16:00:11] [debug] #49 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000c0090 " ") at sfrl.p:13601
    [16:00:11] [debug] #50 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000c04a8 " ") at sfrl.p:13601
    [16:00:11] [debug] #51 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000c08c0 " ") at sfrl.p:13601
    [16:00:11] [debug] #52 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000c0cd8 " ") at sfrl.p:13601
    [16:00:11] [debug] #53 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000c10f0 " ") at sfrl.p:13601
    [16:00:11] [debug] #54 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000c1508 " ") at sfrl.p:13601
    [16:00:11] [debug] #55 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000c1920 " ") at sfrl.p:13601
    [16:00:11] [debug] #56 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000c1d38 " ") at sfrl.p:13601
    [16:00:11] [debug] #57 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000c2150 " ") at sfrl.p:13601
    [16:00:11] [debug] #58 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000c2568 " ") at sfrl.p:13601
    [16:00:11] [debug] #59 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000c2980 " ") at sfrl.p:13601
    [16:00:11] [debug] #60 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000c2d98 " ") at sfrl.p:13601
    [16:00:11] [debug] #61 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000c31b0 " ") at sfrl.p:13601
    [16:00:11] [debug] #62 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000c35c8 " ") at sfrl.p:13601
    [16:00:11] [debug] #63 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000c39e0 " ") at sfrl.p:13601
    [16:00:11] [debug] #64 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000c3df8 " ") at sfrl.p:13601
    [16:00:11] [debug] #65 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000c4210 " ") at sfrl.p:13601
    [16:00:11] [debug] #66 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000c4628 " ") at sfrl.p:13601
    [16:00:11] [debug] #67 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000c4a40 " ") at sfrl.p:13601
    [16:00:11] [debug] #68 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000c4e58 " ") at sfrl.p:13601
    [16:00:11] [debug] #69 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000c5270 " ") at sfrl.p:13601
    [16:00:11] [debug] #70 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000c5688 " ") at sfrl.p:13601
    [16:00:11] [debug] #71 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000c5aa0 " ") at sfrl.p:13601
    [16:00:11] [debug] #72 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000c5eb8 " ") at sfrl.p:13601
    [16:00:11] [debug] #73 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000c62d0 " ") at sfrl.p:13601
    [16:00:11] [debug] #74 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000c66e8 " ") at sfrl.p:13601
    [16:00:11] [debug] #75 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000c6b00 " ") at sfrl.p:13601
    [16:00:11] [debug] #76 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000c6f18 " ") at sfrl.p:13601
    [16:00:11] [debug] #77 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000c7330 " ") at sfrl.p:13601
    [16:00:11] [debug] #78 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000c7748 " ") at sfrl.p:13601
    [16:00:11] [debug] #79 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000c7b60 " ") at sfrl.p:13601
    [16:00:11] [debug] #80 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000c7f78 " ") at sfrl.p:13601
    [16:00:11] [debug] #81 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000c8390 " ") at sfrl.p:13601
    [16:00:11] [debug] #82 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000c87a8 " ") at sfrl.p:13601
    [16:00:11] [debug] #83 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000c8bc0 " ") at sfrl.p:13601
    [16:00:11] [debug] #84 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000c8fd8 " ") at sfrl.p:13601
    [16:00:11] [debug] #85 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000c93f0 " ") at sfrl.p:13601
    [16:00:11] [debug] #86 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000c9808 " ") at sfrl.p:13601
    [16:00:11] [debug] #87 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000c9c20 " ") at sfrl.p:13601
    [16:00:11] [debug] #88 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000ca038 " ") at sfrl.p:13601
    [16:00:11] [debug] #89 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000ca450 " ") at sfrl.p:13601
    [16:00:11] [debug] #90 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000ca868 " ") at sfrl.p:13601
    [16:00:11] [debug] #91 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000cac80 " ") at sfrl.p:13601
    [16:00:11] [debug] #92 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000cb098 " ") at sfrl.p:13601
    [16:00:11] [debug] #93 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000cb4b0 " ") at sfrl.p:13601
    [16:00:11] [debug] #94 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000cb8c8 " ") at sfrl.p:13601
    [16:00:11] [debug] #95 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000cbce0 " ") at sfrl.p:13601
    [16:00:11] [debug] #96 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000cc0f8 " ") at sfrl.p:13601
    [16:00:11] [debug] #97 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000cc510 " ") at sfrl.p:13601
    [16:00:11] [debug] #98 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000cc928 " ") at sfrl.p:13601
    [16:00:11] [debug] #99 000cbed4 in SendClientMessageEx (playerid=0, color=-1, string[]=@0x000ccd40 " ") at sfrl.p:13601
    [16:00:11] [debug] #100 000cbed4 in public OnPlayerConnect (playerid=0, ... <2 arguments>) at sfrl.p:13601


    Hat da jemand ne Lösung? Ich hatte schon von nem anderen Thread (Codeschnipsel) 2 andere Varianten, eine hatte die selben Errors, und der andere hat den
    String nicht so geteilt wie ich das wollte.


    Mfg
    Michi

    Hallöchen,


    Ich habe folgendes Problem.


    Ich habe ein Anti ESC geschrieben, welches hauptsächlich nur ein Timer ist.
    Mein Problem ist, wie frage ich richtig ab ob der Spieler wirklich, NUR im Desktop/Menu ist.. weil anderseits schlägt der Timer schon zu wenn ich mich nicht bewege.
    (Ich setze bei OnPlayerUpdate eine PVAR auf 1, und mit dem Timer (falls auf 1) wieder auf 0. Wenn nicht (auf 1) soll eine PlayerChatBubble einzeigt werden mit 'nem formatiertem String.)


    public AntiESCTimer()
    {
    for(new i = 0; i < GetMaxPlayers(); i ++)
    {
    if(!IsPlayerConnected(i))continue;
    if(GetPVarInt(i, "DeskCheck") == 1)
    {
    DeletePVar(i, "DeskCheck");
    SetPVarInt(i, "AFKTime", 0);
    return true;
    }
    else
    {
    if(GetPVarInt(i,"AFKTime")>=420000)return KickEx(i,"AFK Zeit überschritten!");
    new str[128];
    format(str,sizeof(str),"Seit %i Sekunden im Menu/Desktop",GetPVarInt(i, "AFKTime"));
    SetPlayerChatBubble(i,str,DROT,14.4,1000);
    //printf(str); Hab da mal einfach geguckt ob der str an sich funktioniert.. tut er.
    SetPVarInt(i, "AFKTime", GetPVarInt(i, "AFKTime")+1);
    }
    }
    return true;
    }



    OnPlayerUpdate muss ich denk ich nicht zeigen, ist nur ein pvar der dazu gehört.. SetTimer in OnGameModeInit wird auch nicht wichtig sein.


    Wie gesagt, wie geh ich sicher ob der User wirklich auch im Menu/Desktop ist, und sich nicht einfach nur bewegt.


    Mfg,
    Michi