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:
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)
1
2
3
2
3
function(id,x,y[,parameter]) 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
Approved by Yates
Download
498 b, 434 Downloads