
Wisin
Members-
Posts
126 -
Joined
-
Last visited
Everything posted by Wisin
-
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.
-
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.
-
Sadly, it doesn't work, it almost never returns the player when I need it to.
-
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.
-
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.
-
no, is not "Mario", is another kind of game.
-
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.
-
im not sure of understand correctly, what do you mean?
-
i have another question, is possible to check if the "character" is over "enemie" head?
-
wow, thank you !! it works perfect!
-
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).
-
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.
-
i dont understand, i cant just login or something like that from MTA and get the mails etc?
-
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.
-
Does someone know how to fix this problem?
-
it doesnt work still same error as always...
-
because i already did that, and it says what it should say.
-
Sorry, i forgot to change tonumber(id), and yes id is passed, i use triggerEvent to pass it.
-
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
-
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.
-
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.
-
Hi, is there a way to check if a trailer is attached?