Dateien

> > CS2D > Lua Scripts > function reqcld2 - by callback
DateiübersichtCS2D-ÜbersichtLua Scripts-Übersicht

Englisch function reqcld2 - by callback >

11 Kommentare498 b, 410 Downloads

alt function reqcld2 - by callback

EnderCrypt
User Off Offline

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 >



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
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
1× editiert, zuletzt 01.03.14 09:07:28
Zugelassen von Yates

Download Download

498 b, 410 Downloads

Kommentare

11 Kommentare
Zum Anfang Vorherige 1 Nächste Zum Anfang

Logge dich ein!

Du musst dich einloggen, um selber Kommentare verfassen zu können!Einloggen

alt

Gaios
Reviewer Off Offline

Nice framework
Ich mag es!

alt

EnderCrypt
User Off Offline

@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

alt

AlcatrazZ
BANNED Off Offline

Where is your fu*king script file?
I only can see a addhook2.lua

alt

EnderCrypt
User Off Offline

@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

alt

_Yank
User Off Offline

@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.
Ich mag es!

alt

VADemon
User Off Offline

1
misc.rgb(255,0,0)
?

alt

TopNotch
User Off Offline

Good job.
Ich mag es!

alt

UnkN
User Off Offline

Good idea.
Ich mag es!

alt

EnderCrypt
User Off Offline

@MikuAuahDark

thank you
Zum Anfang Vorherige 1 Nächste Zum Anfang