Jump to content

#Paper

Members
  • Posts

    568
  • Joined

  • Last visited

Everything posted by #Paper

  1. #Paper

    Check

    if getAccountData(source, "mspserver.newplayer") == "yes" then outputChatBox("No New Player!") else outputChatBox("No New Player!") end like this? but if the player join for 1° time the server can't find the accountData, and returns the errer, so?
  2. #Paper

    Check

    how i can check if is the 1° time that a player join?
  3. #Paper

    Your Infernus

    -M$P-Racing's Infernus: 94.23.144.55:6511
  4. sostitute line 42: outputChatBox(getPlayerName(tplayer).. "has:"..addPts2[1]['points'].."points.")
  5. #Paper

    /renametime

    ok, but what tables i must modify?
  6. #Paper

    /renametime

    How i can make a command for rename a TopTime? addCommandHandler( "deletetime", function( player, cmd, place ) if not _TESTING and not isPlayerInACLGroup(player, g_Settings.admingroup) then return end if g_SToptimesManager and g_SToptimesManager.mapTimes then local row = g_SToptimesManager.mapTimes:deletetime(place) if row then g_SToptimesManager:updateTopText() local mapName = tostring(g_SToptimesManager.mapTimes.mapName) local placeText = place and " #" .. tostring(place) or "" outputChatBox( "#ff0000INFO: #00ff00Top time "..placeText.." from '" .. tostring(row.playerName) .. "' deleted by " .. getPlayerName(player), 255, 55, 00, true) outputServerLog( "INFO: Top time"..placeText.." from '" ..tostring(row.playerName).. "' (" ..tostring(row.timeText).. " in " ..mapName.. ") deleted by " .. getAdminNameForLog(player) ) end end end ) This is the command for delete.
  7. I think that you must trigger the event (addEvent("onPlayerDestructionDerbyWin",true)), if you inserted that funcition, i don't saw it
  8. So, i've that function, how to get the time? outputChatBox("Hunter TopTimes: "..getPlayerName(source).. ' got TopTime Position! | Rank: ' .. newPos .. " | Time:"..tostring(newTime)) end
  9. You can do that: local pointstogive = getPlayerCount() * 2 addPoints = tonumber(pointstogive)
  10. you will do that for all modes?
  11. How i can convert the time in the hunter alert (in toptimes ) to a real time? The "Time" field isn't the time, is random numbers... how i can get the time?
  12. function die () local getrank = exports.race:getPlayerRank(source) if ( getrank <= 3 ) then --FUNCTION FOR GIVE THE POINTS UDER 3rd RANK elseif ( getrank == 2) then --FUNCTION FOR GIVE THE POINTS IN 2nd RANK elseif ( getrank == 1 ) then --FUNCTION FOR GIVE THE POINTS UDER 1st RANK end end addEventHandler("onPlayerWasted", getRootElement(), die) i think that's must work...
  13. #Paper

    CoD2MoD

    Why when i try to start cod2mod show me this error?
  14. #Paper

    LUAC

    do you know something about my question?
  15. #Paper

    LUAC

    Is there anyway to modify/decompile the .luac files or .lua files compileds?
  16. i don't use that code, but can you fix this? local paccount = getPlayerAccount(player) if getAccountData(paccount, "msprpg.license") == 0 then introduzione () end
  17. no Solid... don't works, it returns as Bad Argument...
  18. #Paper

    spawnPlayer

    Oh ok i fixxed, it works TY! ;D
×
×
  • Create New...