Jump to content

-ffs-Sniper

Members
  • Posts

    253
  • Joined

  • Last visited

Posts posted by -ffs-Sniper

  1. No es correcto pekio123...

    local papel, tinta, escritura 
      
    function obj(thePlayer, cmd) 
        if(papel < 1 and tinta < 2) then 
            outputChatBox("No tienes los materiales necesarios.", thePlayer) 
            return 
        elseif(escritura == true) then 
            outputChatBox("Tienes la mano cansada.", thePlayer) 
            return 
        end 
        outputChatBox("Escritura.", thePlayer) 
        escritura = true 
        setTimer ( function() 
            outputChatBox("Te recuperaste.", thePlayer) 
            escritura = false 
        end, 20000, 1 ) 
    end 
    

  2. function lasv () 
        local vehicle = getPedOccupiedVehicle( localPlayer ) 
        local element = ( vehicle and isElement( vehicle ) ) and vehicle or localPlayer 
        setElementPosition ( element, 1943, 1424, 73 ) 
    end 
    addCommandHandler ( "lv", lasv ) 
      
    ------------------------------------------------- 
    

  3. I think I found the mistake: You need to remove old clothes before adding new ones of a different type.

    function onEnterVehicle ( theVehicle, seat, jacked ) 
       for i = 1, 17 do 
           removePedClothes ( source, i ) 
       end 
       addPedClothes ( source, "helmet", "helmet", 16 ) 
       addPedClothes ( source, "glasses03blue", "glasses03", 15 ) 
       addPedClothes ( source, "tshirtwhite", "tshirt", 0 ) 
       addPedClothes ( source, "sneakerproblu", "sneaker", 3 ) 
       addPedClothes ( source, "bbshortwht", "boxingshort", 2 ) 
    end 
    addEventHandler ( "onPlayerVehicleEnter", getRootElement(), onEnterVehicle, "low" ) 
    

  4. Most likely there are two resources running at your server outputting each chat message onPlayerChat and afterwards cancelling the event.

    Could you tell us what gamemode you are currently using?

  5. German:

    Login/Register - Anmelden/Registrieren

    Latest News - Neuigkeiten

    Login - Anmelden

    Register - Registrieren

    Username - Benutzername

    Password - Passwort

    Confirm - Bestätigen

    Registration - Registrierung

    Alphanumeric characters only for username and password! - Nur Zahlen und Buchstaben sind im Benutzernamen und Passwort erlaubt!

    Cancel - Abbrechen

    You did not fill in all the fields. - Es wurden nicht alle Felder vollständig ausgefüllt.

    Your passwords did not match. - Die Passwörter stimmen nicht überein.

    You did not enter a valid email address. - Die E-Mail Adresse ist ungültig.

    Select a team - Wähle ein Team

    Select a class - Wähle eine Klasse

    Player ... has joined the game. - Spieler ... hat das Spiel betreten.

    Player ... has left the game. - Spieler ... hat das Spiel verlassen.

    Unable to connect to Multi Theft Fortress news stream. - Verbindung zum Multi Theft Fortress Nachrichten Strom fehlgeschlagen.

    Loading map '...' failed - invalid gamemode! - Laden der Map '...' fehlgeschlagen - Ungültiger Spielmodus!

    Loading map '...'... - Lade die Map '...'...

    Loading of map '...' complete. - Laden der Map '...' abgeschlossen.

    Unloading map '...'... - Entlade die Map '...'...

    Unloading of map '...' complete. - Entladen der Map '...' abgeschlossen.

    You were killed by ... - Du wurdest von ... getötet

    .. is dominating ... - ... dominiert ...

    ... got revenge on ... - ... rächte sich an ...

    Certain registration information is missing. - Bestimmte Registierungs-Informationen fehlen.

    The specified username is already registered. - Der angegebene Benutzername ist bereits vergeben.

    An unknown problem occurred. - Ein unbekannter Fehler ist aufgetreten.

    A connection to the account server could not be established. - Eine Verbindung zum Benutzerkonten-Server konnte nicht hergestellt werden.

    The account does not exist. - Das Benutzerkonto existiert nicht.

    The password specifed is incorrect. - Das angegebene Passwort ist falsch.

    Loading... - Lade...

  6. Press 'P' ingame as an admin, click the "Resources" tab, select "race" and click "Settings", look for "Admin group list", double-click and enter the following: "Admin,SuperModerator,Moderator".

    At the end just restart the race resource and Moderators will be able to do /redo aswell!

  7. Every function must be closed with an "end". I highly advice you to use tabulators giving you a better overview.

    function nodamage(attacker, bodypart) 
        if getElementType(attacker) == 'vehicle' then 
            cancelEvent() 
        end 
    end 
    addEventHandler("onClientPlayerDamage", getLocalPlayer (),nodamage) 
    

×
×
  • Create New...