Jump to content

Klesh

Members
  • Posts

    306
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Klesh

  1. Klesh

    Winscoreboard

    addEventHandler("onPlayerFinish", rootElement, raceWin ) addEventHandler("onPlayerFinish",getRootElement(), givePlayerMoney(Wins, 1200) outputChatBox(getPlayerName ( Wins ) .. " has won $1200 as last player alive",getRootElement(),0,255,0) setElementData(wins,"Points",tonumber(getElementData(win,"Points"))+2) setElementData(source,"Wins",tonumber(getElementData(source,"Wins"))+1) end) what not works?
  2. Klesh

    Winscoreboard

    I do a script for race, all works fine excep the the races wins. here is the code localPlayer = getLocalPlayer() function addColumns() exports.scoreboard:scoreboardAddColumn("Wins") end addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), addColumns) local playerMoney = getPlayerMoney(source) local playerPoints = getElementData(getLocalPlayer(), "Points") local playerWin = getElementData(getLocalPlayer(), "Wins") local playerWashted = getElementData(getLocalPlayer(), "Deaths") end addEventHandler ( "onPlayerQuit", getRootElement ( ), onPlayerQuit ) addEventHandler ( "onPlayerLogin", getRootElement ( ), onPlayerLogin ) addEvent( "onPlayerWin", true ) function onPlayerWin() givePlayerMoney(winner, 1200) outputChatBox(getPlayerName ( win ) .. " has won $1200 as last player alive",getRootElement(),0,255,0) setElementData(wins,"Points",tonumber(getElementData(win,"Points"))+2) setElementData(wins,"Wins",tonumber(getElementData(wins,"Wins"))+1) end) Only is the wins because the deaths and money works fine. Plz help when the player wins this no adds to scoreboard Example Klesh is the final survivor and in the scoreboard appears +1 wins
  3. Klesh

    PlayerWashted

    I have a script, is mine but this have deaths in scoreboard and works fine but when quit and join again the deaths are in 0. What i have to do to save the deaths. addEventHandler("onPlayerWasted",getRootElement(), function () setElementData(source,"Deaths",tonumber(getElementData(source,"Deaths"))+1) end) Thnx For the Help.
  4. No the letter, the scoreboard column.
  5. I want the column exports.scoreboard:scoreboardAddColumn("Points") in small size. Thnx for Help.
  6. Hi every comunity, i do a script for race but i want change the size for points column to small size. PlZ HelP and ThnXs
  7. what function can replace that event, because i want when the wins gets 1200 cash, but onPlayerDestructionDerbyWin no works. Any idea??? Thnx For HELP PLZ
  8. The userpanel by Castillo is good, but something no works and is the race wins, because when someone wins the event no works, i have to do something to this works, thanxs for help.
  9. Only a simple post, no link? Delate This Post.
  10. Hi all comunity, i need help in ghostmode vote, i want the size letters small because the current size are too big. Help And Thnx. local sx, sy = guiGetScreenSize() function GMStart() addEventHandler("onClientRender",getRootElement(),GmDefaultText) end addEvent("onGMStart",true) addEventHandler("onGMStart",getRootElement(),GMStart) function GMStop() removeEventHandler("onClientRender",getRootElement(),GmDefaultText) end addEvent("onGMStop",true) addEventHandler("onGMStop",getRootElement(),GMStop) function GmDefaultText() dxDrawText("PRESIONA G PARA VOTAR GHOSTMODE ",0,(567/900)*sy,(1436/1440)*sx,(669/900)*sy,tocolor(0,0,0,255),2.0,"bankgothic","center","center",false,false,false) dxDrawText("PRESIONA G PARA VOTAR GHOSTMODE",(3/1440)*sx,(570/900)*sy,(1439/1440)*sx,(672/900)*sy,tocolor(255,255,255,255),2.0,"bankgothic","center","center",false,false,false) dxDrawText(votecount.."/"..reqPlayers.." VOTOS RECIVIDOS",(2/1440)*sx,(633/900)*sy,(1430/1440)*sx,(707/900)*sy,tocolor(0,0,0,255),1.5,"bankgothic","center","center",false,false,false) dxDrawText(votecount.."/"..reqPlayers.." VOTOS RECIVIDOS",0,(645/900)*sy,(1439/1440)*sx,(701/900)*sy,tocolor(255,255,255,255),1.5,"bankgothic","center","center",false,false,false) end function UpdateCount(VoteCount,PlayerCount) outputChatBox(VoteCount..PlayerCount) reqPlayers = PlayerCount votecount = VoteCount end addEvent("UpdateCount",true) addEventHandler("UpdateCount",getRootElement(),UpdateCount)
  11. Klesh

    Join Quit

    No works, i want the message like outputChatBox('* ' .. getPlayerName(source) .. ' has joined the game', 255, 100, 100) But in two colors, the message in red and the name in yellow. Pls help and Thanks.
  12. Klesh

    Join Quit

    Hi, I modify the joinquit, but it is possible to put in the message for example. Klesh to the server has joined LA Klesh has joined to (in color red) server LA (in yellow color) Thnx for the help.
  13. Klesh

    Afk

    Sorry but i search in the community and forum afk system, please help to search one.
  14. Klesh

    maps dd/dm

    My dream is complete, thanks man.
  15. Klesh

    Car Team

    I am not requesting im asking, but thanks especially varez, solidsnake.
  16. Klesh

    Car Team

    Its posible, for example on teh gamemode race DD/DM, have 1 team in this team, ¿ how can set the colors car from this team? Example team color red, car color red, name color red. Thanks for the help.
  17. Klesh

    Save Team

    Thanks to solid snake for the scipt, works perfectly.
  18. Klesh

    Save Team

    I serch but i can find it and i dont know what resource is. Please give me the link. Thanks.
  19. Klesh

    Replace Resource

    Thanks if another people wants this resource please contact me.
  20. Klesh

    Save Team

    When i Join in the server and in the admin panel "P" put set team and create one, select me like a menber to put in them, the problem is, when i quit or reconnect i dont in the team. How can save the players when i put them or me in the team. Please and thanks.
  21. Thank you solidsnake it works. ty very much
  22. Klesh

    Map File Problem

    Don`t Works only convert object to object. I need how can isntall a only file .map. Help
×
×
  • Create New...