English function reqcld2 - by callback icon

11 comments
01.03.14 03:48:47 am
like 5 like it!
498 b, 86 Downloads
EnderCrypt
User
Offline Off
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:
Spoiler >


example 2:
Spoiler >



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
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
ok This file has been reviewed and approved by Yates (04.12.15 02:07:43 pm)

Comments

11 comments
Goto Page
To the start Previous 1 Next To the start

Log in!

You need to log in to be able to write comments!Log in
27.10.17 09:37:03 am
like I like it!
Up
Gaios
Security Supporter
Offline Off
Nice framework
20.05.14 09:41:44 pm
Up
Communism
Reviewer
Offline Off
Awesome work man!
05.03.14 01:24:21 am
Up
EnderCrypt
User
Offline Off
@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
03.03.14 09:39:05 pm
Up
AlcatrazZ
BANNED
Offline Off
Where is your fu*king script file?
I only can see a addhook2.lua
01.03.14 07:34:55 pm
Up
EnderCrypt
User
Offline Off
@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
01.03.14 12:06:42 pm
like I like it!
Up
_Yank
User
Offline Off
@user 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.
01.03.14 10:20:43 am
Up
VADemon
User
Offline Off
Code:
1
misc.rgb(255,0,0)
?
01.03.14 09:54:22 am
like I like it!
Up
TopNotch
User
Offline Off
Good job.
01.03.14 07:55:57 am
like I like it!
Up
UnkN
User
Offline Off
Good idea.
01.03.14 06:37:20 am
Up
EnderCrypt
User
Offline Off
@MikuAuahDark

thank you
01.03.14 06:23:17 am
like I like it!
Up
MikuAuahDark
User
Offline Off
Nice Idea.
To the start Previous 1 Next To the start