function reqcld2 - by callback 
11 comments reqcld2
is a new function, it works similary to cs2d's native reqcld
hower, with reqcld2 you wont need to have a clientdata hook!, infact, this reqcld operates by using callback, here is 2 examples
example 1:
example 2:
([] means its an optional argument)
the function can either be a named function or an anonymous function (as seen in the above example)
the function (anonomous) should look like this (talking about arguments)
again parameter is optional
the use of parameter, is sending in external data to the functions, as reqcld isn't instant
theres obviously no point in providing an image, as this is simply a function
is a new function, it works similary to cs2d's native reqcld
hower, with reqcld2 you wont need to have a clientdata hook!, infact, this reqcld operates by using callback, here is 2 examples
example 1:
example 2:
Code:
reqcld2(id,mode,function[,parameter])
([] means its an optional argument)
the function can either be a named function or an anonymous function (as seen in the above example)
the function (anonomous) should look like this (talking about arguments)
Code:
1
2
3
2
3
function(id,x,y[,parameter])
end
end
again parameter is optional
the use of parameter, is sending in external data to the functions, as reqcld isn't instant
theres obviously no point in providing an image, as this is simply a function
edited 1×, last 01.03.14 09:07:28 am

Comments
11 comments



Log in!
You need to log in to be able to write comments!Log in
@AlcatrazZ
ahh.. ops.. im so sry, haha, accidently added wrong file.. i been working alot recently
ill fix it
edit:
fixed it, downloaded and checked, all seems to be in order
thank you for telling
ahh.. ops.. im so sry, haha, accidently added wrong file.. i been working alot recently
ill fix it

edit:
fixed it, downloaded and checked, all seems to be in order
thank you for telling

@VADemon
ops, my fault, ytue what sakslayer said, the command is available in my miscFunctions lua, i will edit this lua to work whitout it :), should be fixed
ops, my fault, ytue what sakslayer said, the command is available in my miscFunctions lua, i will edit this lua to work whitout it :), should be fixed

@
VADemon: He uses a library which features lots of useful commands. He problably forget to put it on the file.
I didnt downloaded it yet but seems very interesting through.

I didnt downloaded it yet but seems very interesting through.



