Jump to content

-.Paradox.-

Members
  • Posts

    1,239
  • Joined

  • Last visited

Everything posted by -.Paradox.-

  1. Thanks TAPL gonna try. and @AbaZaSiRiN00 Post the part where you triggered the client event "onTestExp"
  2. He asked how does it work.
  3. Change your graphic card or processor.
  4. Omg. I don't want to load them from XML. I just want output the logged in players data every 30 seconds.
  5. Trying to output every logged in player data(level, xp, rank, acl, challenges) in a xml file called"data.xml" only. And make it refresh every time a player login. Simple :]
  6. I already know that-.- The problem is where i shall locate it.
  7. Thanks, And how i can use getElementData exactly to get some element data of the players?
  8. You don't understand. I'm trying to output every logged in player's data into "data.xml" not save them and load etc..
  9. Create the phone object and attach it to the hand of the player using bone attachements.
  10. I know but it's too advanced for me. That's why i'm trying to do it with XML functions.
  11. Yeah, He still can change the properties of deagle to make it look like colt.
  12. Hello guys, Can somebody how i can use XML Functions to save players in a xml file like example"data.xml" and in that file it should output the nick and some element data's(from my choice) everytime the player login or join. Thanks in advance. P.S:It would be cool if there is a function to refresh the xml file data's every minute.
  13. I already created a HTTP server with Apache, but i still cant understand how to use it...
  14. getPlayerName(player):gsub ( "#%x%x%x%x%x%x", "" )
  15. Post the client side code.
  16. Use if (getPlayerMoney(source)>=20000) then And tell me the errors.
  17. sWidth, sHeight = guiGetScreenSize() function onTestExp() dxDrawText("#FFFFCC +"..tostring(experience), (539/1024)*sWidth, (545/768)*sHeight, (289/1024)*sWidth, (250/768)*sHeight, tocolor (255, 255, 255, 255), (0.7/1366)*sWidth,(0.7/768)*sHeight,"bankgothic","left","top",false,false,false,true) end addEvent("onTestExp", true) addEventHandler( "onTestExp", root, function( expe ) experience = expe addEventHandler("onClientRender", root, onTestExp) setTimer( function () removeEventHandler ( "onClientRender", root, onTestExp ) end, 2000, 1) if isTimer(source) then resetTimer(source) experience = ( experience + expe ) setTimer( function () removeEventHandler ( "onClientRender", root, onTestExp ) end, 2000, 1) end end)
  18. Okay, and what i should do to increase the value of the experience variable with the value sent from server side?
  19. I undertand, but i'll have to do it manually.. What if i killed 3 players like example? It will cancel the first text and it will ouput a new one. Oh btw are those the exact functions: setTimer isTimer killTimer resetTimer getTickCount
×
×
  • Create New...