Anderl
Members-
Posts
2,266 -
Joined
-
Last visited
Everything posted by Anderl
-
Verdade, essa porra de Game-Monitor não está a funcionar corretamente deve estar fazendo uns 3 meses quase... Estava tentando configurar o game MTA:SA no Painel de Controlo da minha empresa ( DGames ) mas o servidor aparecia como offline, depois que eu vi que era o Game-Monitor que não estava funcionando Mas, de qualquer modo, isso não tem haver com o problema deles. Gabriel_Domingues, notei que você está configurando o servidor incorretamente. Deixe Server IP em branco ( no mtaserver.conf ), mude sua porta para 22003 e a HTTP para 22003 ou 22005 ou qualquer ( ou deixe assim se você só abriu a 22126 ).
-
You can download the RC version already in https://nightly.multitheftauto.com
-
There's no problem, I just wanna know why this guy is sharing a race mode on Scripting section and also saying "give me again rar" lol?
-
If you do mean how much weapons you can use at same time, you can use 2 ( but they're the same and only if you set skill otherwise you can use only 1 ).
-
Calma, ele não falou o que ele queria. Ele apenas pediu ajuda. Fala ae, intechz, o que você precisa?
-
What the hell are you doing?
-
Yes, PHP is != not =! like you wrote.
-
What the hell are you saying?
-
Does you even provide FTP acess, control panel or something to control it, what about latency, what are the machine configurations? You should say that, not that you will provide SERVER NAME
-
Create a folder called "conf" and put the file there.
-
$characterData is an array, not a function. Anyway, how do you think we will help us without the gamemode?
-
spawnPlayer (localPlayer, 548.66711425781, -1427.5430908203, 16.1328125) if ( localPlayer == GUIEditor_Button[12] ) then
-
Do you call this organized code? You didn't even tabulate it. Also, this code is totally wrong. Right code below. Client-side: addEventHandler ( 'onClientGUIClick', root, function ( ) if ( source == GUIEditor_Button[12] ) then triggerServerEvent ( 'onDkhl', localPlayer ); end end ) Server-side: addEvent ( 'onDkh1', true ); addEventHandler ( 'onDkh1', root, function ( ) spawnPlayer ( source, 548.66711425781, -1427.5430908203, 16.1328125 ); outputChatBox ( 'You have been warped to DKHL area!', source, 0, 255, 0, false ); end )
-
Really good job, keep it up
-
Maybe I buy some at the end of the month. How much them costs?
-
Are you using a HTTP server to players download resources?
-
I tested it and it's working. zahl1 = 0; z1 = 10; z2 = 10; z3 = 10; rnd1 = math.random ( 1, 12 ); rnd2 = math.random ( 1, 12 ); rnd3 = math.random ( 1, 12 ); if ( z1 == rnd1 or z1 == rnd2 or z1 == rnd3 ) then zahl1 = zahl1 + 1; print ( 'You won $250.000.000!' ); else print ( 'Zah1 1: Falsch!' ); end if ( z2 == rnd1 or z2 == rnd2 or z2 == rnd3 ) then zahl1 = zahl1 + 1; print ( 'You won $250.000.000!' ); else print( 'Zahl 2: Falsch!' ); end if ( z3 == rnd1 or z3 == rnd2 or z3 == rnd3 ) then zahl1 = zahl1 + 1; print( 'You won $250.000.000!' ); else print( 'Zahl 3: Falsch!' ); end
-
I tested it right now on Lua Command Line and it worked perfectly. Basically, same code: function gR( ) return math.random ( 1, 12 ), math.random ( 1, 12 ), math.random ( 1, 12 ); end function test ( ) local z1 = 10; local rnd1, rnd2, rnd3 = gR( ); local zah1 = 0; print ( rnd1, rnd2, rnd3 ); if ( tonumber ( z1 ) == tonumber ( rnd1 ) or tonumber ( z1 ) == tonumber ( rnd2 ) or tonumber ( z1 ) == tonumber ( rnd3 ) ) then zah1 = zah1 + 1; print ( 'You won $250.000.000!' ); else print ( 'Zah1 1: Falsch!' ); end end --[[ First try: test( ); Output: 1 7 3 Zah1 1: Falsch! -- Second try: test( ); Output: 10 8 6 You won $250.000.000! -- ]] As you can see, it worked perfectly. I don't understand your problem.
-
I don't understand you, random numbers may not be 10 lol I don't even know why you do need to check if a random number is 10.
-
First time I agree with you.
-
It's wrong. getPlayerFromName gets player element from string But pPlayer is player element. Ok, I've put wrong argument on it 'cause I did it fast but don't change the conversation.
-
Yes, I tested. It's wrong. As I saw in that page, arg is a table containing all function parameters.
-
That's wrong, I think. addCommandHandler ( "sms", function ( pPlayer, chCommand, chName, ... ) if ( chName and ... ) then local pTarget = getPlayerFromName ( chName ); local chText = table.concat ( { ... }, " " ); if ( pTarget ) then outputChatBox ( getPlayerName ( pPlayer ) .. " sendet: " .. chText .. ".", pTarget, 0, 200, 200 ); outputChatBox ( "SMS erfolgreich gesendet an " .. pTarget .. ".", pPlayer, 0, 200, 200 ); end else outputChatBox ( "SATZBAU: sms [ZIEL] [NACHRICHT]", pPlayer, 255, 0, 0 ); end end )
-
Não, eu faço desse modo também. Mas eu organizo os ficheiros de código também, aí fica mais fácil para mim.
