Jump to content

Xeno

Members
  • Posts

    728
  • Joined

  • Last visited

Everything posted by Xeno

  1. What. This is a total mess. function onDeath() outputChatBox("your dead, cool story bro") end addEventHandler("onPlayerWasted", getRootElement(), onDeath) That is a simple way to do it.
  2. Xeno

    Help

    local screenWidth, screenHeight = guiGetScreenSize() function news(clickedElement) cx,cy = getCursorPosition() if cx >= 050 and cx <= 530 and cy >= screenWidth and screenHeight <= endY then addEventHandler("onClientRender",rootElement, serverBoxDesign) end end addEventHandler ( "onClientClick", getRootElement(), news ) Would something like this work? I'm trying to make a dxDraw clickable. What I don't understand is how i'm meant to get the parts of the screen?? Thanks Xeno
  3. Try changing the name of the folder. Seems stupid, but try it
  4. What's the name of your script? (file)
  5. Xeno

    little problem

    Deleted, - Kenix beat me D: NOTE: When setting teams you can't just do this function createTeams() police = createTeam("police",255,0,0) end function setTeam() setPlayerTeam(player, police) end addCommandHandler("setTeam", setTeam) You have to get the team name and use that to set the team, like this: function createTeams() police = createTeam("police",255,0,0) end function setTeam() local getPoliceTeam = getTeamFromName("police") setPlayerTeam(player, getPoliceTeam) end addCommandHandler("setTeam", setTeam)
  6. Xeno

    little problem

    local getTeam = getTeamFromName ("Police") if theTeam then setPlayerTeam (source, policeTeam) What is "theTeam"?? It should be if getTeam then ( I think..)
  7. That's a pretty awesome offer, I would buy a server if I hadn't already got one.
  8. When I start it I get this in the debug: "Resource 'sql' start was requested "
  9. Yeah but I was on the iPod and I couldn't be fucked to go and type that =] And also, I'm English so its 0.99p for me ;3 Anyway, nice game.
  10. Are you really going to bitch about one of the biggest and most successfully servers on MTA? My opinion is, is that if you don't like the server, don't go there.
  11. Xeno

    Help me plsssss

    Ill give you a nice login panel if you pay me 30 pounds.
  12. This is not a place to sell scripts.
  13. You should make a full version and sell it for 99p
  14. I tried to set it up on my computer, but I got an error in console saying access denied @ shutdown ....but I added it to the acl and all. Someone help please. Xeno
  15. When I type in local host, it says: Oops! This link appears to be broken. Did you mean: localhost.­net Additional suggestions: Go to localho.­st Go to localhost.­com Search on Google: Also when I do: http://localhost/phpmyadmin/ Oops! This link appears to be broken. Suggestions: Search on Google:
  16. No no, the download works, its only when I open the file it appears with that text...
  17. You dont need this: <config src="meta.xml" type="client"/> And the push script is client, not server. Good job otherwise ;D
  18. When I open this it says Navigation to the webpage was canceled What you can try: Retype the address. So I guess its the online one..
  19. Xeno

    Clean login panel.

    How come in your images the GUI design is different..? Mines still the old one. Nice job by the way.
  20. The URL for the download is invalid f
  21. Thats brilliant, thanks.
  22. Is there like, a document I can use which is like wiki but i can use while offline? I'm about to go on holiday and i have some long car journey, so I want to script abit because of the free time I have ( I know, its sad..)
  23. Xeno

    Error MTA

    Its a problem with your connection or the server.
×
×
  • Create New...