Jump to content

Wisin

Members
  • Posts

    126
  • Joined

  • Last visited

Everything posted by Wisin

  1. I went to take a visit to this server, and all I found was a pathetic copy of SAUR:RPG server, they even copied the positions for almost everything, the application formats, the VIP perks, the bases ( they stole the actual files from SAUR ). Server is obviously full of bugs, the staff team is terrible, they don't help you, and when you ask for help, they tell you to don't spam. I got muted for 20 minutes for asking for help, then when I reconnected I found myself unmuted and got banned for "evading mute". ( And btw, they also copied the SAUR ban screen, but made it shitty and bugged ) http://i.imgur.com/77eRhYx.png then my friend also got banned for asking why I got banned: http://i.imgur.com/EaSjIBV.png This is a shame of server, why play a cheap copy if you can play the original? think about this, Joao.
  2. I need it client side, this is what I tried: local sx, sy = guiGetScreenSize ( ) local tx, ty, tz = getWorldFromScreenPosition ( sx / 2, sy / 2, 7 ) local px, py, pz = getCameraMatrix ( ) local hit, _, _, _, elementHit = processLineOfSight ( px, py, pz, tx, ty, tz, true, true, true, true, true, false, false, false, localPlayer ) if ( hit and isElement ( elementHit ) and getElementType ( elementHit ) == "player" ) then local px, py, pz = getElementPosition ( elementHit ) outputChatBox ( "hit: ".. tostring ( getPlayerName ( elementHit ) ) ) end The problem is that it hardly detects it, plus, I don't want it to be camera based, since I could just turn around and look at a player and it would return it.
  3. Sadly, it doesn't work, it almost never returns the player when I need it to.
  4. Hi, I was wondering if anyone could help me with making a function to check if a player is facing another, I got told to use findRotation useful function, but I don't know what to check exactly. Thanks.
  5. Hi, i have a problem, i was trying to send a translated text to the chatbox but it doesnt work, it says "ERROR" always. callRemote("http://ajax.googleapis.com/ajax/services/language/translate?q=Hello&v=1.0&langpair=en|tr",outputMessage) function outputMessage(message) outputChatBox(tostring(message)) end i dont know if its a MTA bug or something.
  6. Wisin

    dx collisions

    no, is not "Mario", is another kind of game.
  7. Wisin

    dx collisions

    i have another question, is there a way to check if im over another DX element (a image)? im making platform mini game that requires this, if someone could tell me i would appreciate it.
  8. Wisin

    dx collisions

    im not sure of understand correctly, what do you mean?
  9. Wisin

    dx collisions

    i have another question, is possible to check if the "character" is over "enemie" head?
  10. Wisin

    dx collisions

    wow, thank you !! it works perfect!
  11. Wisin

    dx collisions

    Thanks karlis, but im not sure of how to use your function, i want to check when my character (a dx image) collides with a enemie (another dx image) and then do something (thats for later).
  12. Wisin

    dx collisions

    Hi, i would like to know if theres a way to check if a dx image is collisioning with another dx element, example another image, thanks.
  13. Wisin

    Mail data to MTA

    i dont understand, i cant just login or something like that from MTA and get the mails etc?
  14. Hi, i want to know if its possible to get mail data from example [email protected] or so on, i would like to send the data to MTA, but i dont know if its possible or how to do it, any help appreciated.
  15. Wisin

    table problem

    Does someone know how to fix this problem?
  16. Wisin

    table problem

    it doesnt work still same error as always...
  17. Wisin

    table problem

    because i already did that, and it says what it should say.
  18. Wisin

    table problem

    Sorry, i forgot to change tonumber(id), and yes id is passed, i use triggerEvent to pass it.
  19. Wisin

    table problem

    that is fine, the checkpoints gets inserted in the table because i can do: addEvent("returnCreatedCheckpoints",true) addEventHandler("returnCreatedCheckpoints",getRootElement(), function (checkpointsTable) checkpoints = {} I = 0 for i,v in pairs(checkpointsTable) do I = I +1 checkpoints[i] = {v[1], v[2], v[3]} local x, y, z = checkpoints[i][1], checkpoints[i][2], checkpoints[i][3] outputDebugString(tostring(x)) outputDebugString(tostring(y)) outputDebugString(tostring(z)) end end) and will work fine
  20. Wisin

    table problem

    I = I +1 is to make a total checkpoint count. And the table is sent from the client side, i dont know if i must use ipairs or pairs.
  21. Wisin

    table problem

    Hi all, i have a problem with a table, if someone can help please. addEvent("returnCreatedCheckpoints",true) addEventHandler("returnCreatedCheckpoints",getRootElement(), function (checkpointsTable) checkpoints = {} I = 0 for i,v in pairs(checkpointsTable) do I = I +1 checkpoints[i] = {v[1], v[2], v[3]} end end) addEvent("createNewCheckpoint",true) addEventHandler("createNewCheckpoint",getRootElement(), function (player,id) local x, y, z = checkpoints[tonumber(id)][1], checkpoints[tonumber(id)][2], checkpoints[tonumber(id)][3] -- This outputs: attempt to index field '?' (a nil value) triggerClientEvent(player,"createCheckpointsForPlayer",player,x,y,z,id) end) So my problem is, when do triggerEvent("createNewCheckpoint",player,player,1) it outputs that error.
  22. Hi, is there a way to check if a trailer is attached?
  23. Wisin

    Uzi bug

    Are you sure that this will fix that bug?
  24. Wisin

    Uzi bug

    Hi all, i have a problem, when im near a player and i shot with an Uzi or a Tec-9 the victim gets more damage, how can i fix this?
  25. Wisin

    Money

    Hi all, i have a question, how can i make an script like this: example: i have $50000, an i want to split it on like 50,000, when the amount changes split it also. Thanks
×
×
  • Create New...