Page 1 of 1

Intrebare privind register_forward

Posted: 04 Mar 2018, 19:45
by amxmodx
Salut. Am gasit asta la documentatia amx

Code: Select all

Syntax
register_forward ( forwardType, callback[], [ post = 0 ] )
Type
Native
Notes
This will hook a function in the HL engine or mod DLL and forward it to a function in an AMXx plugin. 
As dori si eu o lista,sau un loc unde pot citi toate astea "a function in the HL engine"

asd

Posted: 04 Mar 2018, 22:46
by LondoN eXtream
scripting/create-forward-uri-tip-pre-post-t323807.html

Vine ceva de gen

COD PLUGIN HEADER

-

EXECUTE FORWARD

-

COD PLUGIN END


public ForwardHandle()
{

-

BLOCK COD FORWARD HANDLE

-
}

si rezulta

COD PLUGIN HEADER
-
BLOCK COD FORWARD HANDLE
-
COD PLUGIN END

nu stiu daca pricepi ce vreau sa iti zic... prin forward "introduci" bucati de cod acolo unde ai nevoie