Beiträge von Jerome (:

    egal ob stock oder public bewirkt das gleiche.


    forward MoveObjekt(OID, Float:MoveX, Float:MoveY, Float:MoveZ, Float:BackX, Float:BackY, Float:BackZ, time);
    forward CloseObjekt(OID, Float:BackX, Float:BackY, Float:BackZ);
    public MoveObjekt(OID, Float:MoveX, Float:MoveY, Float:MoveZ, Float:BackX, Float:BackY, Float:BackZ, time)
    {
    SetTimerEx("CloseObjekt",time*1000,0,"dfff",OID, BackX ,BackY, BackZ);
    MoveObject(OID, MoveX, MoveY, MoveZ, 4);
    return 1;
    }
    public CloseObjekt(OID, Float:BackX, Float:BackY, Float:BackZ)
    {
    MoveObject(OID, BackX, BackY, BackZ, 4);
    }


    native MoveObjekt(OID, Float:MoveX, Float:MoveY, Float:MoveZ, Float:BackX, Float:BackY, Float:BackZ, time)

    Wie sehr ich diesen Satz liebe :*


    Zitat

    Achtung: Das Entfernen der Copyrights ist verboten und wird strafrechtlich verfolgt! Bitte lest euch vor der Verwendung des Scripts auch die paar Zeilen ganz oben durch!

    Viel spaß.


    Deine Art ist total bescheuert. Man kann es ganz leicht mit einem Stock machen. :x

    public SavePlayer(playerid)
    {
    new Name[MAX_PLAYER_NAME],query[1500];
    GetPlayerName(playerid,Name,MAX_PLAYER_NAME);
    format(query, 1500, "UPDATE `player` SET `Adminlevel` = '%d', `Geld` = '%d', `Skin` = '%d', `Leader` = '%d', `Member` = '%d', `Auto` = '%d', `LKW` = '%d', `Bike` = '%d', `Fly` = '%d',"
    ,PI[playerid][pAdmin],GetPlayerMoney(playerid),PI[playerid][pSkin],PI[playerid][pLeader],PI[playerid][pMember],PI[playerid][pCar],PI[playerid][pLKW],PI[playerid][pBike],PI[playerid][pFly]);
    format(query, 1500, "%s `Gebannt` = '%d', `Tutorial` = '%d', `Rank` = '%d', `PayDay` = '%d', `PayDayTog` = '%d', `Level` = '%d', `Respekt` = '%d', `Job` = '%d', `Lotto` = '%d',",query,
    PI[playerid][pGebannt],PI[playerid][pTutorial],PI[playerid][pRank],PI[playerid][pPayDay],PI[playerid][pPayDayTog],PI[playerid][pLevel],PI[playerid][pRespekt],PI[playerid][pJob],PI[playerid][pLotto]);
    format(query, 1500, "%s `Banner` = '%s', `BanGrund` = '%s', `Wanted` = '%d', `Handy` = '%d', `Jail` = '%d', `Konto` = '%d', `Pin` = '%d', `Bank` = '%d' WHERE `Name` = '%s'",
    query,PI[playerid][pBanner],PI[playerid][pBanGrund],GetPlayerWantedLevel(playerid),PI[playerid][pHandy],PI[playerid][pJail],PI[playerid][pKonto],PI[playerid][pPin],PI[playerid][pBank],Name);
    mysql_query(query);
    return 1;
    }


    aus das


    format(query, 1500, "UPDATE `player` SET `Adminlevel` = '%d', `Geld` = '%d', `Skin` = '%d', `Leader` = '%d', `Member` = '%d', `Auto` = '%d', `LKW` = '%d', `Bike` = '%d', `Fly` = '%d',"
    ,PI[playerid][pAdmin],GetPlayerMoney(playerid),PI[playerid][pSkin],PI[playerid][pLeader],PI[playerid][pMember],PI[playerid][pCar],PI[playerid][pLKW],PI[playerid][pBike],PI[playerid][pFly]);
    wird das


    ,PI[playerid][pAdmin],GetPlayerMoney(playerid),PI[playerid][pSkin],PI[playerid][pLeader],PI[playerid][pMember],PI[playerid][pCar],PI[playerid][pLKW],PI[playerid][pBike],PI[playerid][pFly]);
    format(query, 1500, "%s `Gebannt` = '%d', `Tutorial` = '%d', `Rank` = '%d', `PayDay` = '%d', `PayDayTog` = '%d', `Level` = '%d', `Respekt` = '%d', `Job` = '%d', `Lotto` = '%d',",query,


    daraus wird das

    format(query, 1500, "%s `Banner` = '%s', `BanGrund` = '%s', `Wanted` = '%d', `Handy` = '%d', `Jail` = '%d', `Konto` = '%d', `Pin` = '%d', `Bank` = '%d' WHERE `Name` = '%s'",
    query,PI[playerid][pBanner],PI[playerid][pBanGrund],GetPlayerWantedLevel(playerid),PI[playerid][pHandy],PI[playerid][pJail],PI[playerid][pKonto],PI[playerid][pPin],PI[playerid][pBank],Name);


    und das Sendest du an den Server


    mysql_query(query);