
Deepu
Members-
Posts
354 -
Joined
-
Last visited
Everything posted by Deepu
-
How to change color of the text when i move the mouse over a point csmist
-
Thanks csmit. Now i can make a better gui
-
Just fix the main problem. Reread the posts. Not the lag
-
well, you guys know Crystal MV? He uses the gui label thing every frame. And how can I even make a dxDrawText edit box? Reasons for disapproval:- 1) You got just a boolean saying true or false and you cant use like this: texts = dxDrawText(""......) 2) dxDrawText's color can't be changed since its not an element and never will be one. So, I tried that long ago. Doesnt work well. and the problem with the custom edit box is not a lag KRZO its just this: EDIT: I will be afk for some time so please write the correct fix because I wanna learn it quick within a day or so and thats one big thing I wanna learn. Regards, Don (Deepu) output of the above script codes: when we press a and then b it justs does a and b over it its just one letter it doesnt form ab it just forms a and above it, b. so can't be done... So you got some other things to fix it KRZO? thanks anyway.
-
Guys, I always made the animation type window with customized buttons and background. Thats it. But can some one tell me whats the error with this method I used to make a custom edit box for a dx GFX GUI? code = function guiCreation () dxDrawRectangle() ... labelA = guiCreateLabel(..... "", false) -- it works though there is no GUI end addEventHandler("onClientRender", root, guiCreation) function mainPoop () textA = guiGetText(labelA) end addEventHandler("onClientRender", root, mainPoop) function subPoop (button) guiSetText(labelA, textA .. button) end addEventHandler("onClientKey", root, button) -- Since mta doesnt support lua functions like io.read and io.write... this has to be done... Guys, so if you found out my mistake (learning the new custom edit box thing. Love to make one) then please correct me NOTE: Please stay on the topic, don't say "hahaha the pro scripter became a nob and shizzles. I hate that.. Please try to stay on topic. Do not flame in this topic or you can get warned by one of the moderators. Regards, Don (Deepu)
-
Derp, this is not the best map you can make.. you sold me an awesome swimming pool + awesome cool Jail (looks like the one in death race) + an awesome dubbyduppy map.. Loved them bro.. Guys, stop making fun of him, you never seeen his real maps. SAFR got 52Likes for his Jail map
-
what does the scripter get? how many $$?
-
Nope...... I tried lowering the width and height...... still its really high
-
The title is "No-Time" but I really see the time in the lower right corner......
-
Hey guys, I made a nice roller coaster script for the public and I would release it in the community. But the problem is that I want a nice 3d Model made with 3ds Max or anything...... Models Needed:- Tracks.... (rollercoaster Tracks) all has to be straight and not curved. -- Collisions too A nice roller coaster where the player can sit inside it. -- Collisions too. Any help regarding this would be appreciated and the modeller's name will be in the Script. Thank you.
-
The dxDrawImage3D that I made is very big...... I want it in the size of a san andreas TV. But its very big Please help me code: dxDrawImage3D(-1234.98865, -87.49578, 14.14844, 5, -5, myScreenSource, tocolor(255,255,255,255), 90)
-
function screentis () myScreenSource = dxCreateScreenSource ( 640, 480 ) end addCommandHandler("st", screentis) function donetis () local players = getElementsByType("player") dxUpdateScreenSource( myScreenSource ) dxDrawImage( 10, 10, 800, 300, myScreenSource ) end function killstis () addEventHandler("onClientRender", root, donetis) end addEvent("onPPP", true) addEventHandler("onPPP", getRootElement(), killstis) function kkk () triggerServerEvent("onHHH", localPlayer) end addCommandHandler("onka", kkk) -- client function hhh () triggerClientEvent("onPPP", source) end addEvent("onHHH", true) addEventHandler("onHHH", getRootElement(), hhh) -- server EDIT: I used the dxDrawImage3D but the height of the image is too much and the width is too low dxDrawImage3D(-1234.98865, -87.49578, 14.14844, 5, -5, myScreenSource, tocolor(255,255,255,255), 90)
-
hmm.....Well I dint call anyone to the server and I tested it out myself.... I did the triggerings the same way and it worked but I can see only my image (since only I am the one playing in the server). So will it work if 2 players are online?
-
eheh? oh I get it..... function ppp () ........ end addEvent("onPPP", true) addEventHandler("onPPP", getRootElement(), ppp) and then triggering it in server? function hhh () triggerClientEvent("onPPP", localPlayer) end addEvent("onHHH", true) addEventHandler("onHHH", getRootElement(), hhh) and then again to client? function kkk () triggerServerEvent("onHHH", localPlayer) end addEventHandler(.......) is this what you meant?
-
heh? Well lets give it a try, but, how do you do that?
-
what do you mean by packet? and btw cheezed, how you make criminals appear in the window with dxCreateScreenSource? You only make yourself appear in the window with screenSource......
-
There is this problem that I wanna create 10 windows that shows different criminals who are wanted with 6 level. How can I make that? Tell the functions and explain how I can put different criminals in different windows....
-
oh ok thanks buddy
-
I don't see that topic or that part in the wiki -__- Please tell the functions that must be used myonlake...
-
I tried making it and I made a missile thingy It really requires maths to propel the rocket or the so-called missile.
-
How can I exactly make a video inside a gui? I am not telling the youtube videos or the videos in my PC. I am telling that the camera follows a player and how can I see that player in a gui? If the first one didn't make sense to you then consider this one :- A player uses camera and then once the camera is fired, the picture can be seen in a gui...... how can I make that? Thanks in advance and its urgent
-
myonlake and Saim you both are equally correct. I'll try to make that missile launcher myonlake since all I do is rockets, lifts, moving objects all with respect to Physics. I am good at maths and physics. So maybe I can give it a try. Can you tell me how the missile launcher works? thanks in advance.
-
k thanks I'll check it and inform you
-
Yeah HyPeX I tried making RPG scripts 2 months ago and I completed 'em except the turf and gangs also the vehicle system (I knew how to make but because of too many vehicle IDs I couldn't make it) EDIT:- I am thinking of making an outerspace adventure script where you have a spaceship ( a san andreas vehicle modded -.-) and some planets. I have an Idea to make those reentry flames and sparks. Also we can make smoke trails where the rocket goes. I can make the script but I need someone for the models -__-
-
uhmmmm....... for the hitting thing you need to use the event "onPlayerDamage" in the server side and then for the following cop thingy you have to use setPedAnalogControlState function