Jump to content

manve1

Retired Staff
  • Posts

    1,283
  • Joined

  • Last visited

Everything posted by manve1

  1. Get the dimensions of the ped which you will need later so store them in a variable which you get quite frequently so it looks better. Then create a 3D text using the Z of the dimension up to where you want it to be ( might take a bit ) then it's done.
  2. local count = 10 local x,y = guiGetScreenSize( ) local left,top,right,bottom = x*351/1360,y*166/768,x*999/1360,y*454/768 setTimer ( function ( ) count = count -1 if ( count == 0 ) then removeEventHandler("onClientRender",root,DrawTheText) triggerServerEvent("give", getLocalPlayer()) end end,500,0 ) function DrawTheText( ) dxDrawText( "Wait [ " .. count .. " ]",left,top,right,bottom, tocolor(0,255,0,255), 2.00, "default-bold", "center", "top", false, false, false, false, false ) end local marker = createMarker(1956.6, -2486, 13.5-1, "cylinder", 2, 255, 0, 0) addEventHandler("onClientMarkerHit", marker, function (p) if p == localPlayer then count = 10 addEventHandler("onClientRender",root,DrawTheText) end end )
  3. manve1

    Wont work

    I didn't look at the first post correctly, but I still don't see anything about "table", this time it is my own fault, but for recommendation towards AlphaMark, i would include anything that is used towards the same function.
  4. manve1

    Wont work

    crateMarker = createMarker(unpack(BoxPos[math.random(1,3)]),"cylinder") Error Because: because it was "CreateMarker"...and it hve to be "createMarker" the name of what you call it, in this instance 'crateMarker' doesn't mean anything unless you use it in other place of your script. The problem is because createMarker needs at least 3 functions: createMarker(x,y,z) everything else is just the design, but as in your script you got: createMarker(x,_,_,type) by '_' i represent that the arguments don't exists, so that's what you need to fix
  5. addEventHandler("onClientMarkerHit", auto, function( p ) if p == localPlayer then guiSetVisible ( autoventana, true) showCursor ( true ) end end
  6. some people like me don't want to give skype or talk to others, well i don't have enough time, sorry
  7. there is a section called "Tutorials" viewforum.php?f=148 Good luck.
  8. There are poop loads of people asking for this .... just one thing that will be most helpful thing is mta wiki, we here on forums can help, but not make it only to fix some bugs...
  9. well, i didn't look at the files, so it's his problem of making a fault.
  10. I would accept this offer, but as i am already making a project for another person, i don't want to get into tons of work. Good Luck anyway.
  11. For scripts, you could give some basic designs that you would like that could be modified on
  12. whatever, i can't be bothered to carry on to this conversation so, useful things for you to take a look: Engine Functions Text Labels
  13. well, he asks to get "his" script to be made by someone and then he say's that he has the script? where is the logic? after all, I don't make scripts for free, so no point asking me for help over PM as i won't reply to that kind of messages
  14. This isn't a request section, pay someone to make it or give it a shot yourself and we'll be happy to help you out.
  15. manve1

    Help pls!!!

    That will be because you haven't done what SolidSnake14 has told you too.
  16. manve1

    DM server.

    If im right, you want to get rid of the position of the player in the right bottom corner?
  17. You could simply make a database like SQLite so save all of the kills/wins and then check if it needs updating every so often.
  18. My bad. Even tho if the admin moves him self with the admin panel from the staff team ( or another admin does this ) he could still be allowed to do that command [This is my opinion.]
  19. manve1

    Help pls!!!

    It Can, but it's not recommended as everything will be lost over server restart, or a specific object gets destroyed ( player elements gets destroyed when they quit [any time of disconnect] ) The Recommended ways by me to you would be SQLite or MySql. P.S. Don't Triple-Post. Edit Old Ones then posting more than once.
  20. Wrong, First of all he asked only for admins, he didn't say for admin 'team' which you done. Next time read a little bit more carefully function giveMoney (player, command) if ( hasObjectPermissionTo ( player, "function.kickPlayer") ) then givePlayerMoney(player, tonumber("1000")) local luckyBugger = getRandomPlayer() --local x, y, z = getElementPosition ( luckyBugger ) <== this is not needed. outputChatBox ( "You've recieved 1000", luckyBugger ) else outputChatBox("You Have No Access To This Command.") end addCommandHandler ("giveMoney", giveMoney)
  21. The best way for you getting those scripts if someone experienced gives you the code, or you learn how to script, else you will need to buy it off someone. Tho about you CAN'T have a script without an meta.xml. If you mean the whole script not only source codes, you might find that some people don't have the time or just can't be bothered to put it into a resource.Good Luck Anyway.
  22. If i was you i wouldn't request for helping, but i would buy it off someone, or start by yourself and come here for help of fixing bugs. Good Luck.
×
×
  • Create New...