Jump to content

Castillo

Retired Staff
  • Posts

    21,935
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Castillo

  1. Create a table which contains the positions for each team, when the player dies, get the player team name, and get the position out of the table.
  2. You can't really share something that's not yours without the permission from the owner of them. Aswell as that I'm quite sure these scripts weren't made public by choice, my guess is that they were leaked.
  3. Something tells me that you aren't "Xiti" ( scripter of that userpanel ). Do you have his permission to upload this?
  4. Supongo que usara algo de la windows para formar el serial, ademas de componentes de la computadora.
  5. El serial esta formado por ID's de los componentes de tu computadora.
  6. Pues que crearon su propio script, que no es dificil.
  7. setTimer ( function(_, playeraccount) Remove the "_" from it.
  8. "carModel" is nil, you forgot to define it on your function arguments.
  9. end, 2000, 1 ) You forgot to pass the "playeraccount" argument.
  10. Name both differently. Seriously, is not that hard to understand what we're trying to tell you.
  11. Problem of this is, that it only runs your server side commands, it won't trigger any client side command.
  12. Wait a moment, you are using the event "onResourceStart" to run the "LevelOnWasted" function? you should be using "onPlayerWasted".
  13. Well, you could edit it to be able to support commands. Things you would need: string.find string.gsub executeCommandHandler
  14. Well, I was telling you to rename the variable, not the function. This is a variable: local DxMenu = false This is a function: function test ( ) end
  15. Please don't reply if you have absolutely no idea what is this about. @Air: One of the problems I just noticed, is that you have a timer outside of your "drawNexMapString" function, which causes it to execute when the resource starts, so 'winner' is nil then. Try this: function drawNexMapString ( player, wintext ) local x, y = guiGetScreenSize ( ) if ( wintext == "none" ) then else winnertext = dxText:create ( wintext, x/2, y/2 -180 + 1, false, "default-bold", 1.65, "center" ) winnertext:type ( 'shadow', 1.3, 1 ) winnertext:font ( "default-bold" ) setTimer ( function ( ) winnertext:visible ( false ) end ,5000, 1 ) end winner = dxText:create ( tostring ( getPlayerNametagText ( player ) ) .." #FFFFFFis the final survivor!", x/2, y/2 -150 + 1, false, "default-bold", 1.65, "center" ) winner:type ( 'shadow', 1.3, 1 ) winner:font ( "default-bold" ) setTimer ( function ( ) winner:visible ( false ) end ,5000, 1 ) end addEvent ( "onWins", true ) addEventHandler ( "onWins", getRootElement(), drawNexMapString )
  16. No podes sacarle solo el mapa al freeroam, ya que la cosa no funciona asi.
  17. Castillo

    Green Candy

    I believe MTA:Blue and MTA:Eir aren't compatible, as far as I got told, it was going to be a completely different "branch".
  18. Post your code. Client and server side.
  19. Move this: local account = getPlayerAccount(client) if (account) and not isGuestAccount (account) then after: if ( killer ) and ( killer ~= source ) then
  20. And when it gives you errors, what is "fileDownload + 1" returning?
×
×
  • Create New...