Beiträge von Lee_Carter

    enum hInfo{ Float:hEntrancex, Float:hEntrancey, Float:hEntrancez, Float:hExitx, Float:hExity, Float:hExitz, hHealthx, hHealthy, hHealthz, hArmourx, hArmoury, hArmourz, hOwner[MAX_PLAYER_NAME], hDiscription[MAX_PLAYER_NAME], hValue, hHel, hArm, hInt, hLock, hOwned, hRooms, hRent, hRentabil, hTakings, hVec, hVcol1, hVcol2, hDate, hLevel, Text3D:Text,

    new HouseInfo[200][hInfo];
    enum bInfo{ bOwned, bOwner[64], bMessage[128], bExtortion[MAX_PLAYER_NAME], Float:bEntranceX, Float:bEntranceY, Float:bEntranceZ, Float:bExitX, Float:bExitY, Float:bExitZ, bLevelNeeded, bBuyPrice, bEntranceCost, bTill, bLocked, bInterior, bProducts, bMaxProducts, bPriceProd, Text3D:bText,


    Meinst du das?

    Die Objekte sind nicht entfernt :/


    Also zu Haus hab ich das hier gefunden


    if(house != 255) { if(SpawnChange[playerid]) //If 1, then you get to your house, else spawn somewhere else { GivePlayerWeapons(playerid); SetPlayerToTeamColor(playerid); SetPlayerInterior(playerid,HouseInfo[house][hInt]); SetPlayerPos(playerid, HouseInfo[house][hExitx], HouseInfo[house][hExity],HouseInfo[house][hExitz]); // Warp the player PlayerInfo[playerid][pLocal] = house; PlayerInfo[playerid][pInt] = HouseInfo[house][hInt]; SetPlayerVirtualWorld(playerid,house); return 1; } }


    for(new h = 0; h < sizeof(HouseInfo); h++) { new string2[128]; if(HouseInfo[h][hOwned] == 0) { format(string2, sizeof(string2), "[Haus zu verkaufen - %s]\nPreis: $%d\nLevel: %d\n/buyhouse zum kaufen",HouseInfo[h][hDiscription],HouseInfo[h][hValue],HouseInfo[h][hLevel]); HouseInfo[h][Text] = Create3DTextLabel(string2,COLOR_FORSELL,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+1,15.0,0); AddStaticPickup(1273, 1, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez], 0); pickups++; } if(HouseInfo[h][hOwned] == 1 && HouseInfo[h][hRentabil] == 0) { format(string2, sizeof(string2), "[Haus]\nBesitzer: %s\nLevel: %d",HouseInfo[h][hOwner],HouseInfo[h][hLevel]); HouseInfo[h][Text] = Create3DTextLabel(string2,COLOR_BUYED,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+1,15.0,0); AddStaticPickup(1239, 1, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez], 0); pickups++; } if(HouseInfo[h][hOwned] == 1 && HouseInfo[h][hRentabil] >= 1) { format(string2, sizeof(string2), "[Haus]\nBesitzer: %s\nLevel: %d\nMiete: $%d\nEinmieten mit /rentroom",HouseInfo[h][hOwner],HouseInfo[h][hLevel],HouseInfo[h][hRent]); HouseInfo[h][Text] = Create3DTextLabel(string2,COLOR_BUYED,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+1,15.0,0); AddStaticPickup(1239, 1, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez], 0); pickups++; }

    Ich hab ein Problem. Ich kann noch nicht wirklich scripten, nur Grundkenntnisse, will es aber lernen und brauch jz EURE hilfe.


    Ich will ein Haus einfügen und muss aber ein Object löschen. Da gibt es ein Error:


    error 017: undefined symbol "playerid"

    Was zum Teufel mach ich falsch ?!?!


    Spoiler anzeigen
    ----------------------
    v0.3e, (C)2005-2012 SA-MP Team

    Spoiler anzeigen
    [17:47:40] filterscripts = "" (string)
    [17:47:40]
    [17:47:40] Server Plugins
    [17:47:40] --------------
    [17:47:40] Loading plugin: mysql
    [17:47:40] Failed.
    [17:47:40] Loaded 0 plugins.

    Spoiler anzeigen
    [17:47:40]
    [17:47:40] Filterscripts
    [17:47:40] ---------------
    [17:47:40] Loaded 0 filterscripts.

    Spoiler anzeigen
    [17:47:40] Script[gamemodes/prp.amx]: Run time error 19: "File or function is not found"
    [17:47:40] Number of vehicle models: 0

    Oke danke. Ich weiß grad nicht KOK$. Ich schreib es dir nacher!


    Hier ist sie:

    Spoiler anzeigen
    SA-MP Dedicated Server
    ----------------------
    v0.3x, (C)2005-2013 SA-MP Team

    Spoiler anzeigen
    [23:45:55]
    [23:45:55] Server Plugins
    [23:45:55] --------------
    [23:45:55] Loading plugin: streamer.so
    [23:45:55]

    Spoiler anzeigen
    *** Streamer Plugin v2.5.2 by Incognito loaded ***

    Spoiler anzeigen
    [23:45:55] Loaded.
    [23:45:55] Loading plugin: mysql.so
    [23:45:55] SA:MP MySQL Plugin v2.1.1 Loaded.
    [23:45:55] Loaded.
    [23:45:55] [MySQL] Thread running. Threadsafe: Yes.
    [23:45:55] Loading plugin: audio.so
    [23:45:55]
    *** Audio Plugin v0.4 by Incognito loaded ***

    Spoiler anzeigen
    [23:45:55] Loaded.
    [23:45:55] Loading plugin: sscanf.so
    [23:45:55]

    Spoiler anzeigen
    [23:45:55] ===============================

    Spoiler anzeigen
    [23:45:55] sscanf plugin loaded.

    Spoiler anzeigen
    [23:45:55] (c) 2009 Alex "Y_Less" Cole

    Spoiler anzeigen
    [23:45:55] ===============================

    Spoiler anzeigen
    [23:45:55] Loaded.
    [23:45:55] Loaded 4 plugins.

    Spoiler anzeigen
    [23:45:55]
    [23:45:55] Ban list
    [23:45:55] --------
    [23:45:55] Loaded: samp.ban
    [23:45:55]
    [23:45:55]
    [23:45:55] Filterscripts
    [23:45:55] ---------------
    [23:45:55] Loading filterscript 'cops.amx'...
    [23:45:55]
    --------------------------------------
    [23:45:55] Cop Equipment Filterscript by I_LOVE_LINS
    [23:45:55] --------------------------------------

    Spoiler anzeigen
    [23:45:55] Loading filterscript 'Fraktionsautohaus.amx'...
    [23:45:55] '8' Fraktionsfahrzeuge wurden geladen & erstellt.
    [23:45:55] Loaded 2 filterscripts.

    Spoiler anzeigen
    [23:45:55] Script[gamemodes/SelfmadeByLee.amx]: Run time error 19: "File or function is not found"
    [23:45:55] Number of vehicle models: 14