Jump to content

WalkinG

Members
  • Posts

    9
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

WalkinG's Achievements

Newbie

Newbie (4/54)

0

Reputation

  1. Thank you very much for helping me.
  2. I'm Brazilian and I speak little English, so I'm sorry if I explain it wrong I want to use commas and points in numbers but I do not know how, example a value that returns 150000 to be returned 1,500.00 Thank you, hope you help me.
  3. I need to rotate two players one front to the other but not to do this knowing already used "findRotation" but also did not work, now I'm trying to do so vx,vy,vz = getElementRotation(avitima) ax,ay,az = getElementRotation(Assal) setPedRotation(avitima, 0, 0, az-vz) setPedRotation(Assal, 0, 0, vz-az) but also does not work Help-me!
  4. then is it??? function rank (source) for p,contas in ipairs (getElementsByType('player')) do conta = getPlayerAccount(contas) nomes = getAccountName (conta) kill= getAccountData (conta,"players.kills") table.sort( kill, function( a, b ) return a > b end ) outputChatBox(table.concat(kill, ", ")) end end addCommandHandler ("ranking",rank)
  5. Sorry for my English I wanted to make a simple rank but do not know how I can do this take account of all the players and get the most value from a AccountData value = getAccountData (source, "Kills") list = #value .... ?????
  6. Sorry for my English I want the Server Pass information pro client side, more or less it Server function money (source) valor = getPlayerMoney (source) end addEvent ("Pass.Valor",true) addEventHandler ("Pass.Valor",root,money) Client function atualiza () triggerServerEvent (localPlayer,"Pass.Valor",localPlayer,valor) outputChatBox (valor) end addCommandHandler ("show",atualiza) Thank you very much in advance
  7. Sorry for my English I need to get an account even with the player offline , but I do not know to do this this mode works function restante (source) conta = getPlayerAccount(source) valor = getAccountData (conta,"Walking.s") setAccountData (conta,"Walking.s",valor+1) end addCommandHandler ("acc",restante) mas eu quero algo tipo function restante (source) valor = getAccountData ("WalkinG","Walking.s") setAccountData ("WalkinG","Walking.s",valor+1) end addCommandHandler ("acc",restante)
×
×
  • Create New...