-
Posts
253 -
Joined
-
Last visited
Posts posted by -ffs-Sniper
-
-
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
-
Use a VPN proxy:
-Hotspotshield
-CyberGhost VPN (30 day trial)
-and much more, just google for it
-
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 ) -------------------------------------------------
-
Great tool! Speeds up the general procedure of compiling tons of scripts.
There is just one thing I would be really thankful for: Give us the possibility of saving the file list! I really hate adding 50+ files by hand to the program after every reboot.
-
I didn't expect that myself at first . (I forgot to remove "low" from my code)
Anyways, you're welcome.
-
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" )
-
Which line (in your example) has a nil table index? (there is no line 57)
-
Can you show us "data/vehiclecolors.conf"?
-
Race might already have a handler onPlayerVehicleEnter. Therefore set the handler's priority to "low". This way you can ensure your code will be executed as last.
Be sure you are using the latest nightly of MTA! ->https://nightly.multitheftauto.com/
addEventHandler ( "onPlayerVehicleEnter", getRootElement(), onEnterVehicle, "low" )
-
It is possible to launch using Lua.
http://stackoverflow.com/questions/2829 ... -using-lua
http://stackoverflow.com/questions/9535 ... pplication
I tinhk should MTA remove that function.
The function isn't available neither on the client nor server side.
-
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?
-
German:
Login/Register - Anmelden/RegistrierenLatest 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...
-
Please post your mtaserver.conf.
-
Could you post the exact message your server shows?
(It is really hard to understand what your issue is)
-
Wurdest du selbst gebannt oder möchtest du jemanden entbannen?
-
-
Add the following to the end of your ACL:
</acl> </acl>
-
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!
-
Add the following line to the Admin ACL (after line 368):
<right name="command.refresh" access="true"></right>
-
Where is the rest of the code? I am 90% sure this is stolen.
-
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)
-
-
I just asked you out because of curiosity.
Nevermind, good luck with your hosting service!
-
https://wiki.multitheftauto.com/wiki/Filepath
-> Client file security
Error.
in Scripting
Posted
No es necesario...