|
Veteran Member
Join Date: Mar 2004
Location: Cincinnati, OH
|
03-19-2004
, 11:10
|
#4
|
Set_task functions (can) use parameters to pass data to them. Most programmers use the first element of the array to store the user's ID
param[0] = id
You can then use other parts of the array to store other various unformation, like the player's origin, etc...
param[1] = origin[0] // x value
param[2] = origin[1] // y value
param[3] = origin[2] // z value
native set_task(Float:time,const function[],id = 0,parameter[]="",len = 0,flags[]="", repeat = 0);
__________________
|
|
|
|