Jump to content

Rol@ndy

Members
  • Posts

    21
  • Joined

  • Last visited

Details

  • Interests
    Skype: rolandy.mta

Recent Profile Visitors

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

Rol@ndy's Achievements

Civilian

Civilian (7/54)

0

Reputation

  1. Don't know why no work.
  2. Hi! Who can help me? Its script in my server. Not work: -"final survivor" not get points and cash. -user stats: map wons and win streak. -Can get hunter points only 1 times in 1 login, next top times and get hunter not get points and cash. (if reconnect can get points 1 times) Pls help me!
  3. Rol@ndy

    Pls HELP!!!

    Its Race system. The "Final Survivor" not get stats (cash,points)! Pls Help! function earnMoney() local thePlayer = source local position = (getAliveRacePlayers() + 1) local account = getPlayerAccount(thePlayer) if not (isGuestAccount(account)) then if getPlayerCount() >= 3 then local pAlive = getAliveRacePlayers() local pDead = getDeadRacePlayers() local finalCash = 0 if not (position == 1) then if pAlive == 0 then pAlive = 1 end if not respawnFix[thePlayer] then local finalCash = math.floor(((40/position)*pDead)*pAlive) -- Calculate the final money value. local points = math.floor((pAlive + pDead)*pDead) local playerCash = getAccountData(account,"cash") local playerPoints = getAccountData(account,"points") setAccountData(account,"points",playerPoints+points) setAccountData(account,"cash",playerCash+finalCash) local playerCash = getAccountData(account,"cash") local playerPoints = getAccountData(account,"points") addStat(account,"totalDeaths",1) outputChatBox("#00BFFF[FINISHED] #FFFFFFYou have received $#00BFFF" .. finalCash .. " #ffffff and #00BFFF"..points.."#ffffff EXP for#00BFFF "..position.." #ffffffplace!",thePlayer,255,255,255,true) respawnFix[thePlayer] = true end end else outputChatBox("#00BFFF[FINISHED] #FFFFFFNot enough players to earn money - #00BFFF3 #FFFFFFrequired.",thePlayer,255,255,255,true) return end scoreboardRefresh(thePlayer) end end addEventHandler ("onPlayerWasted",getRootElement(),earnMoney)
  4. Azt meg tudja mondani valaki hogy a szerver hová menti a játékosok adatait? Olyasmire gondolok, hogy pont meg pénz. És még egy kérdés: Hogy tudok kiszedni valakit egy "team"-ből, admin panelből csak akkor lehetséges ha online a játékos. De gondolom ezt is menti valahová a szerver! És egy harmadik kérdés: A szerveremen több játékmód van, DD,Shooter és Old School DM. Hogy lehetne megoldani hogy a DM mapoknál csak akkor jöjjön be a votemanager ha már mindenki meghalt? (elég rossz ha valaki pont jó időt futna de kihal mögüle mindenki és nem ér be.) És hogy csak azoknál a mapoknál legyen így mert DD és Shooternél viszont elég gáz lenne. Ha valaki tud, segítsen. Köszi
  5. Megtaláltam a problémát! Nem volt hozzáadva az user.Console az ACL-ben. Köszi a segítséget!
×
×
  • Create New...