Beiträge von Beavis

    was postet ihr hier für ein Mist?


    versuch mal das das kommt bei OnPlayerStateChange rein


    if(newstate==PLAYER_STATE_DRIVER)
    {
    for(new i=0; i<sizeof(SAPDCars); i++)
    {
    if(GetPlayerVehicleID(playerid)==SAPDCars[i])
    {
    //der inhalt halt
    }
    }

    Mach das lieber in gm rein mit fs geht das net weil es ein plugin ist ;)


    was ist das für ne dumme antwort?
    wiso sollte nen plugin im filterscript auch nicht gehen?


    versuchs ma so



    #include <a_samp>
    #include <streamer>
    public OnFilterScriptInit()
    {
    CreateDynamicObject(923, 1058.5999755859, 1918, 10.699999809265, 0, 0, 286);
    CreateDynamicObject(923, 1094.6999511719, 1912.5999755859, 10.699999809265, 0, 0, 285.99609375);
    CreateDynamicObject(3066, 1107.5, 1896.1999511719, 10.89999961853, 0, 0, 268);
    CreateDynamicObject(3585, 1110.6999511719, 1942.4000244141, 11.39999961853, 0, 0, 310);
    CreateDynamicObject(925, 1048.5999755859, 1904.5999755859, 10.89999961853, 0, 0, 0);
    CreateDynamicObject(925, 1048.5999755859, 1904.5999755859, 13, 0, 0, 0);
    CreateDynamicObject(3565, 1082.5, 1944.0999755859, 11.199999809265, 0, 0, 0);
    CreateDynamicObject(3565, 1074, 1943.9000244141, 11.199999809265, 0, 0, 0);
    CreateDynamicObject(3572, 1065.3000488281, 1944.0999755859, 11.199999809265, 0, 0, 332);
    CreateDynamicObject(3575, 1105.3000488281, 1906.6999511719, 12.5, 0, 0, 90);
    CreateDynamicObject(16599, 1118.0999755859, 1864.1999511719, 14.60000038147, 0, 0, 0);
    CreateDynamicObject(5262, 1137.5, 1891.4000244141, 12.800000190735, 0, 0, 72);
    CreateDynamicObject(5262, 1138.6999511719, 1900.3000488281, 12.800000190735, 0, 0, 251.99884033203);
    CreateDynamicObject(943, 1113.6999511719, 1917.4000244141, 16.099998474121, 0, 0, 0);
    CreateDynamicObject(8302, 1116.5, 1855.5999755859, 11.800000190735, 0, 0, 0);
    CreateDynamicObject(18451, 1087.5, 1894.4000244141, 10.300000190735, 0, 0, 0);
    CreateDynamicObject(3939, 1069.4000244141, 1864, 11.60000038147, 0, 0, 0);
    CreateDynamicObject(3932, 1057.9000244141, 1927.5999755859, 11.60000038147, 0, 0, 0);
    CreateDynamicObject(967, 1095.5999755859, 1894.9000244141, 9.8000001907349, 0, 0, 0);
    CreateDynamicObject(2695, 1058.9000244141, 1930.5, 10.60000038147, 0, 0, 0);
    CreateDynamicObject(2696, 1070.9000244141, 1866.9000244141, 10.60000038147, 0, 0, 0);
    CreateDynamicObject(2659, 1093, 1895.6999511719, 14.300000190735, 0, 0, 0);
    CreateDynamicObject(1527, 1097.1999511719, 1910.8000488281, 11, 0, 0, 0);
    CreateDynamicObject(1490, 1097.1999511719, 1903.5999755859, 11.10000038147, 0, 0, 0);
    CreateDynamicObject(3862, 1062.0999755859, 1929.0999755859, 11, 0, 0, 0);
    CreateDynamicObject(3863, 1074.3000488281, 1865.0999755859, 11, 0, 0, 0);
    CreateDynamicObject(18260, 1089.1999511719, 1881.1999511719, 11.39999961853, 0, 0, 144.5);
    CreateDynamicObject(1431, 1079.0999755859, 1923.8000488281, 10.39999961853, 0, 0, 256);
    CreateDynamicObject(1431, 1084.4000244141, 1929.8000488281, 10.39999961853, 0, 0, 255.99792480469);
    CreateDynamicObject(1431, 1084.8000488281, 1921.3000488281, 10.39999961853, 0, 0, 255.99792480469);
    CreateDynamicObject(1431, 1089.8000488281, 1932.0999755859, 10.39999961853, 0, 0, 255.99792480469);
    CreateDynamicObject(2041, 1073.5, 1864.5, 10.89999961853, 0, 0, 0);
    CreateDynamicObject(2043, 1075.4000244141, 1864.4000244141, 10.699999809265, 0, 0, 0);
    CreateDynamicObject(348, 1074.3000488281, 1863.8000488281, 10.655779838562, 90, 0, 11.25);
    CreateDynamicObject(353, 1074.0999755859, 1864.5, 10.655779838562, 90, 0, 0);
    CreateDynamicObject(356, 1074.8000488281, 1864.3000488281, 10.655779838562, 90, 90, 0);
    CreateDynamicObject(348, 1062.0999755859, 1928.0999755859, 10.655779838562, 90, 0, 0);
    CreateDynamicObject(353, 1062.6999511719, 1928.4000244141, 10.655779838562, 90, 60, 0);
    CreateDynamicObject(347, 1061.5, 1928.1999511719, 10.655779838562, 90, 0, 356);
    CreateDynamicObject(2041, 1061, 1928.1999511719, 10.89999961853, 0, 0, 0);
    CreateDynamicObject(3632, 1099.9000244141, 1876.4000244141, 10.300000190735, 0, 0, 0);
    CreateDynamicObject(2991, 1107.4000244141, 1883, 10.39999961853, 0, 0, 0);


    return 1;
    }


    public OnFilterScriptExit()
    {
    return 1;
    }

    machs mir einfach und Poste alles davon
    wo es bei der if anfängt (mit den key)
    bis zum ende
    denn da das du gepostet hast ist fehlerfrei

    der Format is zu lang mach das mal so
    format(query,sizeof(query),"UPDATE `user` SET `Name`= `%s`,`Passwort`= ´%s´,`Kills`= `%i`,`Deaths`= `%i`,`Id`=`%i`,`Health`=´%f´,`Adminlvl`=´%i´],`Timeout`=´%i´,`x`=´%f´,`y`=´%f´,`z`=´%f´,\
    `Intid`=´%i´,`world`=´%i´,`Connect`=´%i´,`Level`=´%i´,`Skin`=´%i´,`Rps`=´%i´,`Premiums`=´%i´,`AutoDiebRate`=´%f´,\
    `Krankenhaus`=´%i´,`Fraktion`=´%i´,`Job`=´%i´,´Geld´=`%i`,`Spawn`=`%i` WHERE ´Name´=´%s´",


    das \ sagt nur an, das es unten weiter geht
    versuchs mal der error sollte dann weg sein