
Deepu
Members-
Posts
354 -
Joined
-
Last visited
Everything posted by Deepu
-
Thanks Dealman, don't worry, I decided to change and I stopped Selling scripts instead I send Scripts for others for free If you think doing this was right then please Vote me as good this is skype chat of a free trade: [3/19/2014 8:22:02 PM] Totti: Hi Don, I'd like to add you as a contact. [3/19/2014 8:22:15 PM | Removed 8:22:20 PM] Don: This message has been removed. [3/19/2014 8:22:16 PM] *** Don has shared contact details with Totti. *** [3/19/2014 8:22:24 PM] Don: who are you? [3/19/2014 8:22:34 PM] Totti: hai [3/19/2014 8:22:38 PM] Don: hai [3/19/2014 8:22:38 PM] Totti: are u MTA scripter? [3/19/2014 8:22:42 PM] Don: yes? [3/19/2014 8:22:55 PM] Totti: well what scripts u sell m8? [3/19/2014 8:23:33 PM] Don: uhmm I dont sell scripts now but I will give you for free [3/19/2014 8:23:40 PM] Don: dad wont allow sendiing [3/19/2014 8:23:46 PM] Don: selling * [3/19/2014 8:23:52 PM] Totti: well sure [3/19/2014 8:24:08 PM] Don: what you want? [3/19/2014 8:24:23 PM] Totti: i want RPG scripts what kind of RPG scripts u got m8? [3/19/2014 8:24:31 PM] Don: jobs [3/19/2014 8:24:35 PM] Totti: ye [3/19/2014 8:24:41 PM] Totti: would be nice from u [3/19/2014 8:24:43 PM] Totti: i can trade u though [3/19/2014 8:24:44 PM] Don: I have 3 jobs. [3/19/2014 8:25:02 PM] Don: change the server name to your server name in the gui title bar [3/19/2014 8:25:09 PM] Totti: sure [3/19/2014 8:25:19 PM] Totti: but not compiled plz (heart) [3/19/2014 8:25:26 PM] Don: ok I know you want to learn [3/19/2014 8:25:26 PM] Totti: i can trade u but not compiled [3/19/2014 8:25:40 PM] Don: I wont compile [3/19/2014 8:25:40 PM] Totti: ye [3/19/2014 8:25:47 PM] Totti: btw how u suggest me to start with? [3/19/2014 8:25:50 PM] Don: even if I compile you can decompile it though [3/19/2014 8:25:51 PM] Totti: utube tutorials? [3/19/2014 8:25:52 PM] Don: and [3/19/2014 8:25:54 PM] Don: no [3/19/2014 8:25:56 PM] Don: not youtube [3/19/2014 8:26:10 PM] Don: search in google Lua [3/19/2014 8:26:12 PM] Totti: i asked friends they told me edit community scripts [3/19/2014 8:26:20 PM] Don: yes thats true [3/19/2014 8:26:31 PM] Totti: btw [3/19/2014 8:26:34 PM] Don: If you think you dont know the layout of scripts, see it [3/19/2014 8:26:36 PM] Totti: how i can decompile? [3/19/2014 8:26:52 PM] Don: you shud use decompilers like luac editor [3/19/2014 8:26:54 PM] Don: or [3/19/2014 8:27:03 PM] Don: just use notepad ++ [3/19/2014 8:27:09 PM] Totti: i am using it [3/19/2014 8:27:13 PM] Totti: but it ainot decompiling [3/19/2014 8:27:27 PM] Don: well some decompile and some do not [3/19/2014 8:27:35 PM] Totti: hmm nice [3/19/2014 8:27:44 PM] Totti: can u send me it m8 ? [3/19/2014 8:27:49 PM] Don: yeah sure [3/19/2014 8:27:54 PM] Totti: ty [3/19/2014 8:31:13 PM] Totti: i will try to learn from them+ community scripts [3/19/2014 8:31:25 PM] Totti: cya m8 [3/19/2014 8:31:28 PM] Totti: need to go [3/19/2014 8:31:31 PM] Don: k if you got probs [3/19/2014 8:31:32 PM] Don: ask me [3/19/2014 8:31:36 PM] Don: I'll fix [3/19/2014 8:31:37 PM] Totti: k ty [3/19/2014 8:31:39 PM] Don: k bb [3/19/2014 8:31:39 PM] Totti: (heart) [3/19/2014 8:31:42 PM] Don: (heart) Now judge me
-
thats just easy. You shud use these functions moeez: setPedAnalogControlState setPedAimTarget setPedWalkingStyle -- only if you want swat walking style or something. setPedHeadless -- if it is Zombie ped
-
yes Castillo, you're right and I am going to update it. KRZO I know everything is simple for you so no need to mention it. You are a "pro" scripter and we know it KRZO. Please do make it KRZO and show me a video.
-
Nothing castillo, I fixed it.....
-
function muthru () if isElement(localPlayer) then setCameraTarget(localPlayer) end end function closer () if RCPlane and isElement(RCPlane) then if renderHandler then removeEventHandler("onClientRender", root, renderCameraMatrix) guiSetVisible(controls, false) showCursor(false) local health = getElementHealth(localPlayer) blowVehicle(RCPlane) setElementHealth(localPlayer, tonumber(health)) addEventHandler("onClientRender", root, muthru) end end end function getPositionFromElementOffset(element,offX,offY,offZ) local m = getElementMatrix ( element ) local x = offX * m[1][1] + offY * m[2][1] + offZ * m[3][1] + m[4][1] local y = offX * m[1][2] + offY * m[2][2] + offZ * m[3][2] + m[4][2] local z = offX * m[1][3] + offY * m[2][3] + offZ * m[3][3] + m[4][3] return x, y, z end local renderCameraMatrix = function () if isElement(RCPlane)then local vX, vY, vZ = getElementPosition(RCPlane) local cX, cY, cZ = getPositionFromElementOffset(RCPlane, 0, -4, 2) rolls = getElementRotation(RCPlane) setCameraMatrix(cX, cY, cZ, vX, vY, vZ, rolls) end end so, the problem is I can setTarget to me but its not the same camera type like I played before..... How to stop rendering this renderCameraMatrix so I can set the camera target back to mine... ? please help it is urgent
-
guys I made a nice script of radio controlled toys. When you do /rccar or /rcplane (only 2 toys are there), a gui pops out which has the controls of that RC car. This is indeed a nice script if a player is bored. I am gonna make a RC toy war minigame where people who got skills in driving these toys(It's really hard to control it if your new to mta sa) where the RC planes and rhinos have guns mounted in them. Rc planes will have missiles just like that of a hydra. So guys if you like that script please comment and reply. youtube vdeo link --
-
Yeah But its a big necessity.... Well I will reduce the prices too Also I am now making some games for PC with Lua (I saw a TUT) Next gonna learn C this month and gonna make money with website designing thanks spajk
-
Guys.... I am in a big need of money and this money decides my future..... I need like 1k USD but I can't borrow it from some one.... So I decided to make scripts and sell scripts for cheap prices like 10$ - 20$ depending on the work........ If you want to buy scripts or a game mode, you can call me........ Game mode RPG - 120 USD Freeroam gamemode - 100 USD compilation of fun scripts = 50 USD if you want seperate scripts you can ask me via skype.... deepu.ramachandran2(Don) PS: I am inactive for 2 weeks Thanks and sorry guys
-
thanks all but thing is the ped moves "forwards". And if I stop then the ped won't stop it keeps moving.......
-
I AM SORRY ABOUT EVERYTHING I DONE. I won't be rude again. Can you give me the function by which the ped moves like I move and when I stop then the ped stop too You know to make that? Please tell the functions
-
what resource you want? Tell me and I will make it for you....... If I make the resource just as you want it then give me 200$ ready? Cuz I am not A freaking beginner scripter got it? And if you guys are jealous of me then please don't reply PS: Admin Lock this topic so that I figure it out myself
-
Told you ! I already got it right -__________________________________- and I used the formula to get it correct
-
Son, you mean I don't know what is server sided and client sided? before asking that question.... Son, what you talking abt? Check the TOPIC NAME..... and I know that "client" will be added to all events if its in client events and no "client" in server events
-
Well thing is that I know proper lua but I dint test it sorry I will make a nice tut after 2 weeks Cuz i am busy now and thanks blueberry for ur help but I know those I made the correct one I will be editing the entry now
-
thing is I had error with my script where if local x,y,z = getElementPosition(localPlayer) and I used it in a function...... s1 = createMarker(x+8, y,z, "cylinder", 1, 255, 2, 0) thing is that when I restart script then on ColShapeHit..... the marker spawns in my previously loaded position before hitting the colShape
-
Hello every body..... Long TIme no see Well, I am here to give you a tutorial on how to make a numberID command since if you type a command and if its in abc text, still it gets executed.......(I had this problem when I was a 1 week scripter better to make a client sided script as client side is easy..... first you gotta make a function for the command..... So lets take poops, where if you type /poops (amount) it gives you n amounts of poops We take thePlayer as the player because I feel thats easier than localPlayer thePlayer = getLocalPlayer() function poopaDoopa (cmd, id) -- the id is the parameter for id next we add the functions for id parameter for example : (remember, we need to use getElementData and setElementData as the main things) function poopaDoopa local id = tonumber(id)(cmd, id) if (id) and (id>0) then -- checks if an ID was typed and if id is greater than 0) ama = getElementData(localPlayer, "poops") or 0 ana = setElementData(localPlayer, "poops", tonumber(id)) -- to number verifies that the id is a number else outputChatBox("SYNTAX: /"..cmd.." [id]", thePlayer, 255, 2, 0, false) end end addCommandHandler("poops", poopaDoopa) now that we made the command and we wanna know how much poops you currently have ..... function howMuch () outputChatBox("you have "tostring(ama)"amounts of poops", thePlayer, 255, 2, 0, false) end addCommandHandler("poopa", howMuch) this returns amounts of poops..... Now this may not work but the full script is..... function tapu (cmd, amount) local amount = tonumber(amount) if amount and amount > 0 then local pro = tonumber(getElementData(localPlayer, "poops")) or 0 noob = pro + amount setElementData(localPlayer, "poops", noob) else outputChatBox("SYNTAX: /"..cmd.." amount", thePlayer, true) end end addCommandHandler("poops", tapu) function tapl () local pro = tonumber(getElementData(localPlayer, "poops")) or 0 outputChatBox(tostring(pro), thePlayer, 255, 2, 0, false) end addCommandHandler("poopa", tapl) and this works perfectly
-
Friend, I think you gotta start off with the LUA basics as Wiki doesnt have all of lua..... Just google lua tutorial and then go to the first topic after learning the blocks or chunks or functions and all then you gotta go to the mta wiki Soon after that you gotta start making some simple scripts like outputChatBox and others
-
it might be difficult for you to make a big difficult and complicated bank rob so why don't you try some of the simple functions? like -- local marker = createMarker(x, y, z, "cylinder", size, r, g, b, a) function bankMoney (hitElement) if hitElement == localPlayer then if isElementWithinMarker(hitElement) then -- checks if the player is within the marker so even if the function is in global the money goes to only the players who is within the marker......... money functions end end end addEventHandler("onClientMarkerHit", marker, bankMoney)
-
but even if its a timer should i use this for it to be infinite? to make it update every second? setTimer(function, 500, 0) and can I also update the local x,y,z = getElementPosition(localPlayer) ?
-
nah that worked citizen.... Problem was that the height was wrong cuz I took y2-y1 as height where the lines become collinear also proven that by the distance formula AB = root(y2-y1whole square + x2-x1whole square) and y2-y1 aint the height as per mta sa axis
-
look a player can change his rotation any time he want. Thing is if he turns 30 degree east then the marker shud spawn in 30 degree east so it should be updated each second just like the dxDrawText
-
making farmer job
-
hmm... I dont think so because with rotation you cant update it. The player can change direction too
-
I want a help.... actually I want to get the direction in which the element moves..... (player) AnyOne got a function like that?
-
uhmmmm but Masa can u post it in the server section please? This is for scripts and problems