-
Posts
1,193 -
Joined
-
Last visited
Everything posted by tosfera
-
Kidding, right? Why should I post my script is it's always happening? Whenever you disable the fire using; toggleControl ( thePlayer, 'fire', false ); you'll still be able to shoot while holding your RMB and pressing TAB. Let me try and find that.
-
'source' is nothing outside a function. Make it bind when players spawn, or when an admin logs in. Also, the 'u' should be a string and your 'function' should be replaced with the name of your function.
-
You can bind a key to a chatbox. ^^ bindKey ( source, key, "down", "chatbox", function ); edit; ^ up was faster.
-
Because it's not his script, it's part of the leaked files from vG. Can I request a lock on this topic?
-
Hey, So I'm having a little problem, I'm disabling the 'fire' control in some circumstances but whenever you aim ( right click ) and press tab, it'll still shoot. Even though the shoot control is disabled. Is this a bug, did anyone else also encounter this problem? Love to hear from you guys, - Tosfera
-
This sure did clear up some question marks for not only me, but I guess for a lot of people. Thanks for this!
-
Is the data really 'Army'? Maybe you should do a small debugline under local team; outputDebugString ( getElementData ( localPlayer, 'Team' ) )
-
There is no simple function to create an input box with dxdraw functions, it requires some decent knowledge and I can say... it also requires some math. Also, a dxDraw isn't an element. So you can't do anything with it.
-
You know you can use tocolor also with rgba, right? All you have to to do is; tocolor ( r, g, b, a ) Or isn't that what you want?
-
You can use the shortend if-statement for it. outputChatBox ( "Old: ".. ( tonumber ( row [ "Record" ] ) > recordValueToCheckRally ) and tonumber ( row [ "Record" ] ) / 1000 or tonumber ( row [ "Record" ] ) .."", root, 0, 255, 255 ) note; I might missed a few )'s, sorry for that
-
Oh, ya. That's all about cameraMatrix bud. Thought it was that as default?
-
Dear friend, why don't you spawn an hydra and fly on your side... please.
-
Not trying to be rude or anything like that, there are just people who are too lazy to even read what the function does or look at the parameters. The answer is most likely in the topic already, saving you alot of time on waiting. Sorry if it sounds rude or anything.
-
It's not a bug, you can just see it as a small problem with the way how Lua is being executed. I'm sure if you put a timer around the warpPedIntoVehicle that it'll work. Make sure everyone downloaded the models before warping them, the loading takes less that 0.5s.
-
hm.. Very useful! Do you think this would cause lag? Have you even read the onClientVehicleDamage ? It says at the last parameter; tyreID: A number representing the tyre which took damage, if there is one.
-
Can you show us the code that you're using?
-
Goodluck, may I ask you a few things which can be usefull for other people? - How long have you been scripting ( in overal )? - How long have you been into Lua? - Any other knowledge than Lua? - What would your price be for a small system like; hit a marker, get a random new point and so on. - GUI's, how are you creating those ( absolute, relevant positions )? - What is the time you take for systems ( give us a few examples ).
-
Finally end all the bullshit to make life easier. Q: What would you do if you could choose between getting $5000 every week, you're not allowed to spend it for the first 20 years, or that you have to donate $4500 to charity and keep the remaining $500 yourself.
-
There is actually, if you catch the onPlayerChat. You might be able to see if it was the console or player ( with some easy checks ).
-
That's quite hard, because the times of a race is being saved as a new row ( top 5, if I'm right ). So he can just use the COUNT() function from SQL to actually get the numbers back. Just add the COUNT(*) in the where class, order it DESC and limit it to 0,1 so you only get the 'king'. Also add the group by for the map ( so you only get 1 value of every map ) and add a order by value for the time. ^^
-
Is that 'friend' by any chance using a script/resource/package that has been leaked under the name; Valhalla Gaming? The way how the code is written looks like it ( rubbish and stupid ) and the image is the same.
-
Simple, want to protect images? Don't let them cache or use fetchRemote. Mods, compile em. Maps, no idea.
-
ERROR: Database\database.lua:16: attempt to call global 'mysql_connect' (a nil value) The script is most likely using the mysql module which is outdated, therefor it can't find the function and will never work without them. Reading is hard, I know that.
-
But I live close to amsterdam, 30 mins away. and 25 degrees here is like 40 in Greece.
-
I can answer that for ya, got this as a snap ( not fo' real brotha' )