today it went serveral hours to dive into some plugins written by others
and i have a few questions
I. i began to realized that the native set_hudmessage() is frequently used
i look it up to the amxmodx.inc
and i found this
Quote:
/* Sets format for hudmessage. */
native set_hudmessage(red=200, green=100, blue=0, Float =-1.0, Float:y=0.35, effects=0, Float:fxtime=6.0, Float:holdtime=12.0, Float:fadeintime=0.1, Float:fadeouttime=0.2,channel=4);
|
i know the x and the y is to specify the origin of ur hudmessage
but i want to know the bounds of them
sorry for my poor english
i mean that it's a float,so it might be assignd 5.0 or -3.2 or many others
but the number assigned should be limited ,>-10 and <10 ,for instance
then,what's the limit ??
the effects ,the fxtime and the channel means what?
i mean,what can i do with them?
II.set_task is another frequently used function
and i also found some information about it
Quote:
/* Calls function on specified time.
* Flags:
* "a" - repeat.
* "b" - loop task.
* "c" - do task on time after a map timeleft.
* "d" - do task on time before a map timelimit. */
native set_task(Float:time,const function[],id = 0,parameter[]="",len = 0,flags[]="", repeat = 0);
|
"on specified time",it's good
i'm a little puzzled by the first parameter "Float:time"
does it show the frequncy of u given function called by set_task?
or show another thing?
and what does the "id" mean,what can i do with it?
III.what is the differences between "PLUGIN_HANDLED" and "PLUGIN_CONTINUE"??
then u see all my questions
is there someone kindly give me a hand?
thank u all~
__________________